diff --git a/game/screens.rpy b/game/screens.rpy index 07322aa..2e39a26 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -95,6 +95,19 @@ style frame: ## ## https://www.renpy.org/doc/html/screen_special.html#say + +#image colored_button = im.MatrixColor("gui/button/template_idle.png", im.matrix.hue(50)) +# +# +define textbox_colored = im.MatrixColor("gui/textbox.png", + im.matrix.colorize("453759", "9d48b1")) +define namebox_colored = im.MatrixColor("gui/textbox_name.png", + im.matrix.colorize("453759", "9d48b1")) +define colored_button = im.MatrixColor("gui/button/template_idle.png", + im.matrix.colorize("453759", "9d48b1")) +#im.matrix.colorize("9d48b1", "453759")) + + screen say(who, what): style_prefix "say" @@ -104,13 +117,15 @@ screen say(who, what): id "window" if who is not None: - background Image("gui/textbox_name.png", xalign=0.5, yalign=1.0) + #background Image("gui/textbox_name.png", xalign=0.5, yalign=1.0) + add namebox_colored xalign 0.5 yalign 1.0 window: id "namebox" style "namebox" text who id "who" else: - background Image("gui/textbox.png", xalign=0.5, yalign=1.0) + add textbox_colored xalign 0.5 yalign 1.0 + #background Image("gui/textbox.png", xalign=0.5, yalign=1.0) text what id "what" @@ -259,7 +274,6 @@ screen quick_buttons(filename, label_functions): for l_f in label_functions: use quick_button(filename, l_f[0], l_f[1]) -image colored_button = im.MatrixColor("gui/button/template_idle.png", im.matrix.hue(50)) screen quick_menu(): ## Ensure this appears on top of other screens. @@ -272,8 +286,8 @@ screen quick_menu(): style_prefix "quick" spacing 1 - #use quick_buttons(colored_button, - use quick_buttons("gui/button/template_idle.png", + #use quick_buttons("gui/button/template_idle.png", + use quick_buttons(colored_button, [ [ "Skip", Skip() ], [ "Auto", Preference("auto-forward", "toggle") ],