mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-01-22 17:26:20 +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.name_outline = '#000000dd'
|
||||
|
||||
define gui.quick_button_text_color = '#000000dd'
|
||||
|
||||
## Fonts and Font Sizes ########################################################
|
||||
|
||||
## The font used for in-game text.
|
||||
|
|
|
@ -247,7 +247,7 @@ screen quick_button(filename, label, function):
|
|||
action function
|
||||
fixed:
|
||||
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() ], .. ]
|
||||
# Reuse the same image and keep things 'neat'.
|
||||
|
@ -1548,7 +1548,7 @@ screen quick_button(filename, label, function):
|
|||
action function
|
||||
fixed:
|
||||
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():
|
||||
variant "small"
|
||||
|
|
Loading…
Reference in a new issue