DisplayableParser("fixed", renpy.display.layout.MultiBox, "fixed", many, default_keywords={'layout': 'fixed'}) add(box_properties) DisplayableParser("grid", renpy.display.layout.Grid, "grid", many) Positional("cols") Positional("rows") Keyword("transpose") add(grid_properties) DisplayableParser("side", renpy.display.layout.Side, "side", many) Positional("positions") Style("spacing") # Omit sizer, as we can always just put an xmaximum and ymaximum on an item. for name in ["window", "frame"]: DisplayableParser(name, renpy.display.layout.Window, name, 1) add(window_properties) DisplayableParser("key", renpy.ui._key, None, 0) Positional("key") Keyword("action") Keyword("activate_sound") DisplayableParser("timer", renpy.display.behavior.Timer, "default",
"area", "clipping", "xfill", "yfill", # no center, since it can conflict with the center transform. "xcenter", "ycenter", "xsize", "ysize", "xysize", "alt", "debug", "tooltip", ] position_properties = [Style(i) for i in position_property_names] text_position_properties = [ PrefixStyle("text_", i) for i in position_property_names ] side_position_properties = [ PrefixStyle("side_", i) for i in position_property_names ] viewport_position_properties = [ PrefixStyle("viewport_", i) for i in position_property_names ] scrollbar_position_properties = [ PrefixStyle("scrollbar_", i) for i in position_property_names ] vscrollbar_position_properties = [ PrefixStyle("vscrollbar_", i) for i in position_property_names ]
"xmaximum", "ymaximum", "area", "clipping", "xfill", "yfill", # no center, since it can conflict with the center transform. "xcenter", "ycenter", "xsize", "ysize", "xysize", "alt", ] position_properties = [Style(i) for i in position_property_names] text_position_properties = [ PrefixStyle("text_", i) for i in position_property_names ] side_position_properties = [ PrefixStyle("side_", i) for i in position_property_names ] text_property_names = [ "antialias", "vertical", "black_color", "bold", "color", "drop_shadow", "drop_shadow_color",
"area", "clipping", "xfill", "yfill", # no center, since it can conflict with the center transform. "xcenter", "ycenter", "xsize", "ysize", "xysize", "alt", "debug", "tooltip", ] position_properties = [ Style(i) for i in position_property_names ] text_position_properties = [ PrefixStyle("text_", i) for i in position_property_names ] side_position_properties = [ PrefixStyle("side_", i) for i in position_property_names ] viewport_position_properties = [ PrefixStyle("viewport_", i) for i in position_property_names ] scrollbar_position_properties = [ PrefixStyle("scrollbar_", i) for i in position_property_names ] vscrollbar_position_properties = [ PrefixStyle("vscrollbar_", i) for i in position_property_names ] text_property_names = [ "antialias", "vertical", "black_color", "bold", "color", "drop_shadow", "drop_shadow_color", "first_indent",
"ymaximum", "area", "clipping", "xfill", "yfill", # no center, since it can conflict with the center transform. "xcenter", "ycenter", "xsize", "ysize", "xysize", "alt", "debug", ] position_properties = [Style(i) for i in position_property_names] text_position_properties = [ PrefixStyle("text_", i) for i in position_property_names ] side_position_properties = [ PrefixStyle("side_", i) for i in position_property_names ] text_property_names = [ "antialias", "vertical", "black_color", "bold", "color", "drop_shadow", "drop_shadow_color",
"ymaximum", "area", "clipping", "xfill", "yfill", # no center, since it can conflict with the center transform. "xcenter", "ycenter", "xsize", "ysize", "xysize", "alt", "debug", ] position_properties = [ Style(i) for i in position_property_names ] text_position_properties = [ PrefixStyle("text_", i) for i in position_property_names ] side_position_properties = [ PrefixStyle("side_", i) for i in position_property_names ] text_property_names = [ "antialias", "vertical", "black_color", "bold", "color", "drop_shadow", "drop_shadow_color", "first_indent", "font", "size", "hyperlink_functions",
renpy.display.layout.MultiBox, "fixed", many, default_keywords={'layout': 'fixed'}) add(box_properties) DisplayableParser("grid", renpy.display.layout.Grid, "grid", many) Positional("cols") Positional("rows") Keyword("transpose") Keyword("allow_underfull") add(grid_properties) DisplayableParser("side", renpy.display.layout.Side, "side", many) Positional("positions") Style("spacing") # Omit sizer, as we can always just put an xmaximum and ymaximum on an item. for name in ["window", "frame"]: DisplayableParser(name, renpy.display.layout.Window, name, 1) add(window_properties) DisplayableParser("key", renpy.ui._key, None, 0) Positional("key") Keyword("action") Keyword("activate_sound") Keyword("capture") DisplayableParser("timer", renpy.display.behavior.Timer,