+ # namebox1A = "Namebox1A.png"
+ namebox1A = Frame("#f00",0,0)
+ namebox2A = Frame("#00f",0,0)
+ textbox1A = Frame("#ff0",0,0)
+ textbox2A = Frame("#0ff",0,0)
+ namebox1B = Frame("#f008",0,0)
+ namebox2B = Frame("#00f8",0,0)
+ textbox1B = Frame("#ff08",0,0)
+ textbox2B = Frame("#0ff8",0,0)
+ style namebox1A_window is say_who_window:
+ style textbox1A_window:
+ style namebox1B_window is say_who_window:
+ style textbox1B_window:
+ style namebox2A_window is say_who_window:
+ style textbox2A_window:
+ style namebox2B_window is say_who_window:
+ style textbox2B_window:
+screen say(who, what, side_image=None, two_window=False,
+ # Namebox style variable
+ namebox_style="say_who_window",
+ # Textbox style variable
+ textbox_style="say_what_window"
+ style "say_two_window_vbox"
+ # Style var from character and append style setting
+ style_group namebox_style+persistent.style
+ # Style var from character and append style setting
+ style_group textbox_style+persistent.style
+ textbutton "Style A" action SetField(persistent, "style", "A")
+ textbutton "Style B" action SetField(persistent, "style", "B")