Skip to content

Instantly share code, notes, and snippets.

@Timo6
Created June 5, 2012 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Timo6/2874538 to your computer and use it in GitHub Desktop.
Save Timo6/2874538 to your computer and use it in GitHub Desktop.
Index: Main
===================================================================
--- Main (revision 1042)
+++ Main (working copy)
@@ -12,7 +12,7 @@
[ widget-00 ]
image = logo.png
-center = 0.31, 0.1
+center = 0.31, 0.09
width = 0.25
height = 0.333
@@ -23,11 +23,12 @@
align = left
tip = Start a practice game.
onselect = PracticeGame
-onfocus = widget-01.val:0.8
-onblur = widget-01.val:1.0
+onfocus = widget-01.val:1.0
+onblur = widget-01.val:0.8
onmoveup = widget-06
onmovedown = widget-02
focus = true
+color = 0.8, 0.8, 0.8
center = 0.3, 0.20
width = 0.16
height = 0.05
@@ -39,11 +40,12 @@
align = left
tip = Start a race.
onselect = SingleRace
-onfocus = widget-02.val:0.8
-onblur = widget-02.val:1.0
+onfocus = widget-02.val:1.0
+onblur = widget-02.val:0.8
onmoveup = widget-01
onmovedown = widget-03
focus = false
+color = 0.8, 0.8, 0.8
center = 0.3, 0.26
width = 0.16
height = 0.05
@@ -55,11 +57,12 @@
align = left
tip = Play back recorded games.
onselect = Replays
-onfocus = widget-03.val:0.8
-onblur = widget-03.val:1.0
+onfocus = widget-03.val:1.0
+onblur = widget-03.val:0.8
onmoveup = widget-02
onmovedown = widget-04
focus = false
+color = 0.8, 0.8, 0.8
center = 0.3, 0.32
width = 0.16
height = 0.05
@@ -71,11 +74,12 @@
align = left
tip = Configure your display, sound and controls.
onselect = Options
-onfocus = widget-04.val:0.8
-onblur = widget-04.val:1.0
+onfocus = widget-04.val:1.0
+onblur = widget-04.val:0.8
onmoveup = widget-03
onmovedown = widget-05
focus = false
+color = 0.8, 0.8, 0.8
center = 0.3, 0.38
width = 0.16
height = 0.05
@@ -87,11 +91,12 @@
align = left
tip = Keep your cars and tracks up to date
onselect = Updates
-onfocus = widget-05.val:0.8
-onblur = widget-05.val:1.0
+onfocus = widget-05.val:1.0
+onblur = widget-05.val:0.8
onmoveup = widget-04
onmovedown = widget-06
focus = false
+color = 0.8, 0.8, 0.8
center = 0.3, 0.44
width = 0.16
height = 0.05
@@ -103,16 +108,84 @@
align = left
tip = Quit VDrift.
onselect = QuitConfirm
-onfocus = widget-06.val:0.8
-onblur = widget-06.val:1.0
+onfocus = widget-06.val:1.0
+onblur = widget-06.val:0.8
onmoveup = widget-05
onmovedown = widget-01
focus = false
+color = 0.8, 0.8, 0.8
center = 0.3, 0.50
width = 0.16
height = 0.05
+[ widget-07a ]
+image = white.png
+color = 0.545, 0.521, 0.537
+alpha = 0.6
+center = 0.5, 0.065
+width = 1
+height = 0.13
+layer = -1
+
+[ widget-07b ]
+image = white.png
+color = 0.545, 0.521, 0.537
+alpha = 0.6
+center = 0.5, 0.96
+width = 1
+height = 0.08
+layer = -1
+
+[ widget-07c ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.28, 0.2
+width = 0.16
+height = 0.05
+layer = -1
+
+[ widget-07d ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.28, 0.26
+width = 0.16
+height = 0.05
+layer = -1
+
+[ widget-07e ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.28, 0.32
+width = 0.16
+height = 0.05
+layer = -1
+
+[ widget-07f ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.28, 0.38
+width = 0.16
+height = 0.05
+layer = -1
+
+[ widget-07g ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.28, 0.44
+width = 0.16
+height = 0.05
+layer = -1
+
+[ widget-07h ]
+image = white.png
+color = 0.545, 0.521, 0.537
+center = 0.28, 0.50
+width = 0.16
+height = 0.05
+layer = -1
+
+
[ tooltip ]
text = gui.tooltip
fontsize = 0.03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment