aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS/FullScreenLogin Customizer.vb
diff options
context:
space:
mode:
authorTheUltimateHacker <[email protected]>2015-03-28 15:10:56 -0400
committerTheUltimateHacker <[email protected]>2015-03-28 15:11:15 -0400
commitecb1dbd33a0eb78178b6cddb8c1fcef97d51204d (patch)
treeccf9080248bd1f61c9ec3d4b1df8be90ef401ea3 /ShiftOS/FullScreenLogin Customizer.vb
parent96805596f9f0c2683d6c62e390ef0e2a806d2708 (diff)
downloadshiftos-ecb1dbd33a0eb78178b6cddb8c1fcef97d51204d.tar.gz
shiftos-ecb1dbd33a0eb78178b6cddb8c1fcef97d51204d.tar.bz2
shiftos-ecb1dbd33a0eb78178b6cddb8c1fcef97d51204d.zip
Gecko Implementation
Rest in Pieces, Trident! I've converted the Internet Browser to Gecko, the Firefox Rendering Engine. Virtually no code has been changed (unless you include the other stuff I'm working on like FullScreenLogin.vb)
Diffstat (limited to 'ShiftOS/FullScreenLogin Customizer.vb')
-rw-r--r--ShiftOS/FullScreenLogin Customizer.vb28
1 files changed, 16 insertions, 12 deletions
diff --git a/ShiftOS/FullScreenLogin Customizer.vb b/ShiftOS/FullScreenLogin Customizer.vb
index 90e9eff..7cc49db 100644
--- a/ShiftOS/FullScreenLogin Customizer.vb
+++ b/ShiftOS/FullScreenLogin Customizer.vb
@@ -56,14 +56,11 @@
userpic.BackColor = Color.Transparent
userpic.BackgroundImageLayout = Skins.userimagelayout
If Not IsNothing(Skins.userimagelocation) Then userpic.Location = Skins.userimagelocation
- txtusername.ForeColor = Skins.inputforecolor
- txtpassword.ForeColor = Skins.inputforecolor
- txtusername.BackColor = Skins.inputbackcolor
- txtpassword.BackColor = Skins.inputbackcolor
- txtusername.Font = New Font(Skins.inputfont, Skins.inputfontsize, Skins.inputfontstyle)
- txtpassword.Font = New Font(Skins.inputfont, Skins.inputfontsize, Skins.inputfontstyle)
- loginbtn.Font = New Font(Skins.buttonfont, Skins.buttonfontsize, Skins.buttonfontstyle)
- shutdown.Font = New Font(Skins.buttonfont, Skins.buttonfontsize, Skins.buttonfontstyle)
+ 'buggy
+ 'txtusername.ForeColor = Skins.inputforecolor
+ 'txtpassword.ForeColor = Skins.inputforecolor
+ 'txtusername.BackColor = Skins.inputbackcolor
+ 'txtpassword.BackColor = Skins.inputbackcolor
txtusername.Location = New Point(Skins.userTextboxX, Skins.userTextBoxY)
txtpassword.Location = New Point(Skins.passTextBoxX, Skins.passTextBoxY)
loginbtn.Location = New Point(Skins.loginbtnX, Skins.loginbtnY)
@@ -117,6 +114,9 @@
Skins.inputfont = inputfont
Skins.inputfontsize = inputfontsize
Skins.inputfontstyle = inputfontstyle
+ Skins.buttonfont = buttonfont
+ Skins.buttonfontsize = buttonfontsize
+ Skins.buttonfontstyle = buttonfontstyle
Skins.loginbg = loginbg
Skins.loginbglayout = loginbglayout
Skins.loginbgcolor = loginbgcolor
@@ -143,6 +143,9 @@
inputfont = Skins.inputfont
inputfontsize = Skins.inputfontsize
inputfontstyle = Skins.inputfontstyle
+ buttonfont = Skins.buttonfont
+ buttonfontsize = Skins.buttonfontsize
+ buttonfontstyle = Skins.buttonfontstyle
loginbg = Skins.loginbg
loginbgcolor = Skins.loginbgcolor
loginbglayout = Skins.loginbglayout
@@ -169,10 +172,6 @@
txtpassword.ForeColor = inputforecolor
txtusername.BackColor = inputbackcolor
txtpassword.BackColor = inputbackcolor
- txtusername.Font = New Font(inputfont, inputfontsize, inputfontstyle)
- txtpassword.Font = New Font(inputfont, inputfontsize, inputfontstyle)
- loginbtn.Font = New Font(buttonfont, buttonfontsize, buttonfontstyle)
- shutdown.Font = New Font(buttonfont, buttonfontsize, buttonfontstyle)
addRandomCP()
End Sub
@@ -219,4 +218,9 @@
loginbtnY = loginbtn.Location.Y
setNewSkin()
End Sub
+
+ Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
+ applySettings()
+ Me.Close()
+ End Sub
End Class \ No newline at end of file