Alternate styling
* Implemented alternate styling for the say window used during CG scenes
This commit is contained in:
parent
45ddbb7321
commit
f88f036ea2
@ -210,6 +210,8 @@ style dark_say_label:
|
||||
style light_say_label:
|
||||
color settings.get('text_color_day')
|
||||
|
||||
style say_label_alt is say_dialogue_alt
|
||||
|
||||
# Say dialogue
|
||||
|
||||
style say_dialogue is default:
|
||||
@ -221,6 +223,10 @@ style dark_say_dialogue:
|
||||
style light_say_dialogue:
|
||||
color settings.get('text_color_day')
|
||||
|
||||
style say_dialogue_alt:
|
||||
color "#ffffff"
|
||||
outlines [(1, "#000000", 1, 0)]
|
||||
|
||||
style say_thought is say_dialogue
|
||||
style dark_say_thought is dark_say_dialogue
|
||||
style light_say_thought is light_say_dialogue
|
||||
@ -255,6 +261,10 @@ style light_say_window is light_window:
|
||||
take say_window
|
||||
background "interface/frames/gold/frame.webp"
|
||||
|
||||
style say_window_alt:
|
||||
take say_window
|
||||
background "fade_gradient"
|
||||
|
||||
# Namebox
|
||||
|
||||
style namebox is gui_frame:
|
||||
@ -272,6 +282,9 @@ style light_namebox is light_gui_frame:
|
||||
take namebox
|
||||
# background Transform(Frame("gui/light_namebox.png", 8, 8))
|
||||
|
||||
style namebox_alt:
|
||||
take namebox
|
||||
|
||||
# Text
|
||||
|
||||
style dark_text:
|
||||
|
@ -38,6 +38,8 @@ screen say(who, what, side_image=None, icon=None):
|
||||
|
||||
if text_inner_thought(what) and not renpy.showing("cg"):
|
||||
add "fade_gradient"
|
||||
elif renpy.showing("cg"):
|
||||
add "interface/bld.webp"
|
||||
|
||||
if side_image:
|
||||
add side_image yalign 1.0 yanchor 1.0 zoom 0.5
|
||||
@ -45,14 +47,22 @@ screen say(who, what, side_image=None, icon=None):
|
||||
add SideImage()
|
||||
|
||||
window id "window":
|
||||
if renpy.showing("cg"):
|
||||
style "say_window_alt"
|
||||
|
||||
if who:
|
||||
window:
|
||||
id "namebox"
|
||||
style "namebox_alt"
|
||||
text who:
|
||||
style "say_label_alt"
|
||||
|
||||
text what:
|
||||
id "what"
|
||||
style "say_dialogue_alt"
|
||||
else:
|
||||
style gui.theme("say_window")
|
||||
|
||||
if _windows_hidden:
|
||||
ypos 1000
|
||||
|
||||
if _game_menu_screen:
|
||||
use quick_menu
|
||||
|
||||
if who:
|
||||
window:
|
||||
id "namebox"
|
||||
@ -64,6 +74,12 @@ screen say(who, what, side_image=None, icon=None):
|
||||
id "what"
|
||||
style gui.theme("say_dialogue")
|
||||
|
||||
if _windows_hidden:
|
||||
ypos 1000
|
||||
|
||||
if _game_menu_screen:
|
||||
use quick_menu
|
||||
|
||||
if renpy.android:
|
||||
button:
|
||||
style "empty"
|
||||
@ -90,6 +106,9 @@ screen say(who, what, side_image=None, icon=None):
|
||||
|
||||
screen quick_menu():
|
||||
hbox:
|
||||
if renpy.showing("cg"):
|
||||
style_prefix "quick_alt"
|
||||
else:
|
||||
style_prefix "quick"
|
||||
xalign 1.0
|
||||
yoffset -30
|
||||
@ -114,6 +133,16 @@ style quick_button_text is default:
|
||||
selected_hover_color "#cc0"
|
||||
insensitive_color "#4448"
|
||||
|
||||
style quick_alt_button is quick_button
|
||||
|
||||
style quick_alt_button_text:
|
||||
take quick_button_text
|
||||
idle_color "#8888"
|
||||
hover_color "#fff"
|
||||
idle_outlines [(1, "#0008", 1, 1)]
|
||||
hover_outlines [(1, "#000", 1, 1)]
|
||||
|
||||
|
||||
# Choice screen
|
||||
#
|
||||
# This screen is used to display the in-game choices presented by the menu
|
||||
|
Loading…
Reference in New Issue
Block a user