diff --git a/game/gui.rpy b/game/gui.rpy index 3430829..2fe7ff6 100644 --- a/game/gui.rpy +++ b/game/gui.rpy @@ -56,7 +56,6 @@ 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 ######################################################## diff --git a/game/screens.rpy b/game/screens.rpy index 9be3ead..75c94ba 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -241,16 +241,16 @@ style choice_button_text is default: ## menus. screen quick_button(filename, label, function): + button: xmaximum 80 ymaximum 72 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 gui.quick_button_text_color - + text label xalign 0.5 yalign 0.5 xanchor 0.5 size 22 style "quick_button_text" # label_functions is [ [ "label", function() ], [ "foobar", foobar() ], .. ] -# Reuse the same image and keep things 'neat'. +# Reuse the same image string and keep things 'neat'. screen quick_buttons(filename, label_functions): for l_f in label_functions: use quick_button(filename, l_f[0], l_f[1]) @@ -306,7 +306,10 @@ style quick_button: properties gui.button_properties("quick_button") style quick_button_text: - properties gui.button_text_properties("quick_button") + #properties gui.button_text_properties("quick_button") + color gui.selected_color + hover_color gui.hover_color + selected_color gui.accent_color ################################################################################ @@ -1548,7 +1551,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 gui.quick_button_text_color + text label xalign 0.5 yalign 0.5 size 42 style "quick_button_text" screen quick_menu(): variant "small"