mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-03-24 19:04:54 +01:00
Remove magic number
This commit is contained in:
parent
fce9268dca
commit
f795f4d690
2 changed files with 4 additions and 2 deletions
|
@ -56,6 +56,8 @@ define gui.interface_text_color = '#ffffff'
|
||||||
define gui.default_outline = '#000'
|
define gui.default_outline = '#000'
|
||||||
define gui.name_outline = '#000000dd'
|
define gui.name_outline = '#000000dd'
|
||||||
|
|
||||||
|
define gui.quick_button_text_color = '#000000dd'
|
||||||
|
|
||||||
## Fonts and Font Sizes ########################################################
|
## Fonts and Font Sizes ########################################################
|
||||||
|
|
||||||
## The font used for in-game text.
|
## The font used for in-game text.
|
||||||
|
|
|
@ -247,7 +247,7 @@ screen quick_button(filename, label, function):
|
||||||
action function
|
action function
|
||||||
fixed:
|
fixed:
|
||||||
add filename xalign 0.5 yalign 0.5 zoom 1
|
add filename xalign 0.5 yalign 0.5 zoom 1
|
||||||
text label xalign 0.5 yalign 0.5 xanchor 0.5 size 22 color "#000000EE"
|
text label xalign 0.5 yalign 0.5 xanchor 0.5 size 22 color gui.quick_button_text_color
|
||||||
|
|
||||||
# label_functions is [ [ "label", function() ], [ "foobar", foobar() ], .. ]
|
# label_functions is [ [ "label", function() ], [ "foobar", foobar() ], .. ]
|
||||||
# Reuse the same image and keep things 'neat'.
|
# Reuse the same image and keep things 'neat'.
|
||||||
|
@ -1548,7 +1548,7 @@ screen quick_button(filename, label, function):
|
||||||
action function
|
action function
|
||||||
fixed:
|
fixed:
|
||||||
add filename xalign 0.5 yalign 0.5 zoom 1.75
|
add filename xalign 0.5 yalign 0.5 zoom 1.75
|
||||||
text label xalign 0.5 yalign 0.5 size 42 color "#000000EE"
|
text label xalign 0.5 yalign 0.5 size 42 color gui.quick_button_text_color
|
||||||
|
|
||||||
screen quick_menu():
|
screen quick_menu():
|
||||||
variant "small"
|
variant "small"
|
||||||
|
|
Loading…
Add table
Reference in a new issue