[wml_schema]
    [type]
        name=bool
        value="^true|false|yes|no$"
    [/type]
    [type]
        name=border
        value="^(top|bottom|left|right|all)?(,\s*(top|bottom|left|right|all))*$"
    [/type]
    [type]
        name=color
        value="^(?:2[0-5][0-5]|[01]?\d?\d)[.,]\s*(?:2[0-5][0-5]|[01]?\d?\d)[.,]\s*(?:2[0-5][0-5]|[01]?\d?\d)[.,]\s*(?:2[0-5][0-5]|[01]?\d?\d)$"
    [/type]
    [type]
        name=f_bool
        value="^.*$"
    [/type]
    [type]
        name=f_h_align
        value="^.*$"
    [/type]
    [type]
        name=f_int
        value="^.*$"
    [/type]
    [type]
        name=f_string
        value="^.*$"
    [/type]
    [type]
        name=f_tstring
        value="^_?.*$"
    [/type]
    [type]
        name=f_unsigned
        value="^.+$"
    [/type]
    [type]
        name=font_style
        value="^(normal|bold|italic|underline)?$"
    [/type]
    [type]
        name=h_align
        value="^left|right|center$"
    [/type]
    [type]
        name=int
        value="^-?\d+$"
    [/type]
    [type]
        name=resize_mode
        value="^scale|stretch|tile$"
    [/type]
    [type]
        name=scrollbar_mode
        value="^always|never|auto|initial_auto$"
    [/type]
    [type]
        name=string
        value="^.*$"
    [/type]
    [type]
        name=t_string
        value="^_?.*$"
    [/type]
    [type]
        name=unsigned
        value="^\d+$"
    [/type]
    [type]
        name=v_align
        value="^top|bottom|center$"
    [/type]
    [tag]
        name="root"
        min="1"
        max="1"
        [tag]
            name="generic"
            min="0"
            max="0"
            [tag]
                name="listbox_grid"
                min="0"
                max="-1"
                [tag]
                    name="row"
                    min="0"
                    max="-1"
                    [tag]
                        name="column"
                        min="0"
                        max="-1"
                        super="gui/window/resolution/grid/row/column"
                    [link]
                        name="gui/window/resolution/grid/row/column/toggle_button"
                    [/link]
                    [link]
                        name="gui/window/resolution/grid/row/column/toggle_panel"
                    [/link]
                        [key]
                            name="icon"
                            type="t_string"
                            default=""
                        [/key]
                        [key]
                            name="label"
                            type="t_string"
                            default=""
                        [/key]
                        [key]
                            name="tooltip"
                            type="t_string"
                            default=""
                        [/key]
                    [/tag]
                    [key]
                        name="grow_factor"
                        type="unsigned"
                        default=0
                    [/key]
                [/tag]
            [/tag]
            [tag]
                name="state"
                min="0"
                max="1"
                [tag]
                    name="draw"
                    min="0"
                    max="0"
                    [tag]
                        name="circle"
                        min="0"
                        max="-1"
                        [key]
                            name="color"
                            type="color"
                            default=""
                        [/key]
                        [key]
                            name="debug"
                            type="string"
                            default=""
                        [/key]
                        [key]
                            name="radius"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="x"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="y"
                            type="f_unsigned"
                            default=0
                        [/key]
                    [/tag]
                    [tag]
                        name="image"
                        min="0"
                        max="-1"
                        [key]
                            name="debug"
                            type="string"
                            default=""
                        [/key]
                        [key]
                            name="h"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="name"
                            type="f_string"
                            default=""
                        [/key]
                        [key]
                            name="resize_mode"
                            type="resize_mode"
                            default=scale
                        [/key]
                        [key]
                            name="vertical_mirror"
                            type="f_bool"
                            default=false
                        [/key]
                        [key]
                            name="w"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="x"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="y"
                            type="f_unsigned"
                            default=0
                        [/key]
                    [/tag]
                    [tag]
                        name="line"
                        min="0"
                        max="-1"
                        [key]
                            name="color"
                            type="color"
                            default=""
                        [/key]
                        [key]
                            name="debug"
                            type="string"
                            default=""
                        [/key]
                        [key]
                            name="thickness"
                            type="unsigned"
                            default=0
                        [/key]
                        [key]
                            name="x1"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="x2"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="y1"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="y2"
                            type="f_unsigned"
                            default=0
                        [/key]
                    [/tag]
                    [tag]
                        name="pre_commit"
                        min="0"
                        max="1"
                        [tag]
                            name="blur"
                            min="0"
                            max="1"
                            [key]
                                name="depth"
                                type="unsigned"
                                default=0
                            [/key]
                        [/tag]
                    [/tag]
                    [tag]
                        name="rectangle"
                        min="0"
                        max="-1"
                        [key]
                            name="border_color"
                            type="color"
                            default=""
                        [/key]
                        [key]
                            name="border_thickness"
                            type="unsigned"
                            default=0
                        [/key]
                        [key]
                            name="debug"
                            type="string"
                            default=""
                        [/key]
                        [key]
                            name="fill_color"
                            type="color"
                            default=""
                        [/key]
                        [key]
                            name="h"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="w"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="x"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="y"
                            type="f_unsigned"
                            default=0
                        [/key]
                    [/tag]
                    [tag]
                        name="text"
                        min="0"
                        max="-1"
                        [key]
                            name="color"
                            type="color"
                            default=""
                        [/key]
                        [key]
                            name="debug"
                            type="string"
                            default=""
                        [/key]
                        [key]
                            name="font_size"
                            type="unsigned"
                            mandatory="true"
                        [/key]
                        [key]
                            name="font_style"
                            type="font_style"
                            default=""
                        [/key]
                        [key]
                            name="h"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="maximum_height"
                            type="f_int"
                            default=-1
                        [/key]
                        [key]
                            name="maximum_width"
                            type="f_int"
                            default=-1
                        [/key]
                        [key]
                            name="text"
                            type="f_tstring"
                            default=""
                        [/key]
                        [key]
                            name="text_alignment"
                            type="f_h_align"
                            default="left"
                        [/key]
                        [key]
                            name="text_markup"
                            type="f_bool"
                            default=false
                        [/key]
                        [key]
                            name="w"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="x"
                            type="f_unsigned"
                            default=0
                        [/key]
                        [key]
                            name="y"
                            type="f_unsigned"
                            default=0
                        [/key]
                    [/tag]
                [/tag]
            [/tag]
            [tag]
                name="widget_definition"
                min="0"
                max="1"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    [key]
                        name="default_height"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="default_width"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="max_height"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="max_width"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="min_height"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="min_width"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="text_extra_height"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="text_extra_width"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="text_font_size"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="text_font_style"
                        type="font_style"
                        default=""
                    [/key]
                    [key]
                        name="window_height"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="window_width"
                        type="unsigned"
                        default=0
                    [/key]
                [/tag]
                [key]
                    name="description"
                    type="t_string"
                    mandatory="true"
                [/key]
                [key]
                    name="id"
                    type="string"
                    mandatory="true"
                [/key]
            [/tag]
            [tag]
                name="widget_instance"
                min="0"
                max="-1"
                [key]
                    name="debug_border_color"
                    type="color"
                    default=""
                [/key]
                [key]
                    name="debug_border_mode"
                    type="unsigned"
                    default=0
                [/key]
                [key]
                    name="definition"
                    type="string"
                    default="default"
                [/key]
                [key]
                    name="help"
                    type="t_string"
                    default=""
                [/key]
                [key]
                    name="id"
                    type="string"
                    default=""
                [/key]
                [key]
                    name="label"
                    type="t_string"
                    default=""
                [/key]
                [key]
                    name="linked_group"
                    type="string"
                    default=""
                [/key]
                [key]
                    name="size_text"
                    type="t_string"
                    default=""
                [/key]
                [key]
                    name="tooltip"
                    type="t_string"
                    default=""
                [/key]
                [key]
                    name="use_tooltip_on_label_overflow"
                    type="bool"
                    default=true
                [/key]
            [/tag]
        [/tag]
        [tag]
            name="gui"
            min="0"
            max="1"
            [tag]
                name="button_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_focussed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_pressed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [/tag]
            [/tag]
            [tag]
                name="drawing_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [/tag]
            [/tag]
            [tag]
                name="horizontal_listbox_definition"
                min="0"
                max="-1"
                super="gui/listbox_definition"
            [/tag]
            [tag]
                name="horizontal_scrollbar_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_focussed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_pressed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [key]
                        name="left_offset"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="maximum_positioner_length"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="minimum_positioner_length"
                        type="unsigned"
                        mandatory="true"
                    [/key]
                    [key]
                        name="right_offset"
                        type="unsigned"
                        default=0
                    [/key]
                [/tag]
            [/tag]
            [tag]
                name="image_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [/tag]
            [/tag]
            [tag]
                name="label_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [/tag]
            [/tag]
            [tag]
                name="listbox_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [link]
                    name="gui/window/resolution/grid"
                [/link]
                [/tag]
            [/tag]
            [tag]
                name="minimap_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [/tag]
            [/tag]
            [tag]
                name="multi_page_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                [link]
                    name="gui/window/resolution/grid"
                [/link]
                [/tag]
            [/tag]
            [tag]
                name="panel_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="background"
                        min="0"
                        max="1"
                    [link]
                        name="generic/state/draw"
                    [/link]
                    [/tag]
                    [tag]
                        name="foreground"
                        min="0"
                        max="1"
                    [link]
                        name="generic/state/draw"
                    [/link]
                    [/tag]
                    [key]
                        name="bottom_border"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="left_border"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="right_border"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="top_border"
                        type="unsigned"
                        default=0
                    [/key]
                [/tag]
            [/tag]
            [tag]
                name="progress_bar_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [/tag]
            [/tag]
            [tag]
                name="repeating_button_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_focussed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_pressed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [/tag]
            [/tag]
            [tag]
                name="scroll_label_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="content_grid"
                        min="0"
                        max="1"
                        super="gui/window/resolution/grid"
                    [/tag]
                    [tag]
                        name="scrollbar_grid"
                        min="0"
                        max="1"
                        super="gui/window/resolution/grid"
                    [/tag]
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [link]
                    name="gui/window/resolution/grid"
                [/link]
                [/tag]
            [/tag]
            [tag]
                name="scrollbar_panel_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="gui/window_definition/resolution"
                [/tag]
            [/tag]
            [tag]
                name="settings"
                min="0"
                max="1"
                [key]
                    name="double_click_time"
                    type="unsigned"
                    mandatory="true"
                [/key]
                [key]
                    name="has_helptip_message"
                    type="t_string"
                    mandatory="true"
                [/key]
                [key]
                    name="help_show_time"
                    type="unsigned"
                    default=0
                [/key]
                [key]
                    name="popup_show_delay"
                    type="unsigned"
                    default=0
                [/key]
                [key]
                    name="popup_show_time"
                    type="unsigned"
                    default=0
                [/key]
                [key]
                    name="repeat_button_repeat_time"
                    type="unsigned"
                    default=0
                [/key]
                [key]
                    name="sound_button_click"
                    type="string"
                    default=""
                [/key]
                [key]
                    name="sound_slider_adjust"
                    type="string"
                    default=""
                [/key]
                [key]
                    name="sound_toggle_button_click"
                    type="string"
                    default=""
                [/key]
                [key]
                    name="sound_toggle_panel_click"
                    type="string"
                    default=""
                [/key]
            [/tag]
            [tag]
                name="slider_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_focussed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_pressed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [key]
                        name="left_offset"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="maximum_positioner_length"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="minimum_positioner_length"
                        type="unsigned"
                        mandatory="true"
                    [/key]
                    [key]
                        name="right_offset"
                        type="unsigned"
                        default=0
                    [/key]
                [/tag]
            [/tag]
            [tag]
                name="spacer_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
            [/tag]
            [tag]
                name="stacked_widget_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                [link]
                    name="gui/window/resolution/grid"
                [/link]
                [/tag]
            [/tag]
            [tag]
                name="text_box_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_focussed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [key]
                        name="text_x_offset"
                        type="f_unsigned"
                        default=""
                    [/key]
                    [key]
                        name="text_y_offset"
                        type="f_unsigned"
                        default=""
                    [/key]
                [/tag]
            [/tag]
            [tag]
                name="tip"
                min="0"
                max="-1"
                [key]
                    name="source"
                    type="t_string"
                    mandatory="true"
                [/key]
                [key]
                    name="text"
                    type="t_string"
                    mandatory="true"
                [/key]
            [/tag]
            [tag]
                name="toggle_button_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_disabled_selected"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled_selected"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_focussed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_focussed_selected"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [/tag]
            [/tag]
            [tag]
                name="toggle_panel_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_disabled_selected"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled_selected"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_focussed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_focussed_selected"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [key]
                        name="bottom_border"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="left_border"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="right_border"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="top_border"
                        type="unsigned"
                        default=0
                    [/key]
                [/tag]
            [/tag]
            [tag]
                name="tree_view_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                [link]
                    name="gui/window/resolution/grid"
                [/link]
                [/tag]
            [/tag]
            [tag]
                name="vertical_scrollbar_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="generic/widget_definition/resolution"
                    [tag]
                        name="state_disabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_enabled"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_focussed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [tag]
                        name="state_pressed"
                        min="0"
                        max="1"
                        super="generic/state"
                    [/tag]
                    [key]
                        name="bottom_offset"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="maximum_positioner_length"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="minimum_positioner_length"
                        type="unsigned"
                        mandatory="true"
                    [/key]
                    [key]
                        name="top_offset"
                        type="unsigned"
                        default=0
                    [/key]
                [/tag]
            [/tag]
            [tag]
                name="window"
                min="0"
                max="-1"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    [tag]
                        name="background"
                        min="0"
                        max="1"
                    [/tag]
                    [tag]
                        name="foreground"
                        min="0"
                        max="1"
                    [/tag]
                    [tag]
                        name="grid"
                        min="1"
                        max="1"
                        [tag]
                            name="row"
                            min="0"
                            max="-1"
                            [tag]
                                name="column"
                                min="0"
                                max="-1"
                                [tag]
                                    name="button"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [key]
                                        name="return_value"
                                        type="int"
                                        default=0
                                    [/key]
                                    [key]
                                        name="return_value_id"
                                        type="string"
                                        default=""
                                    [/key]
                                [/tag]
                                [tag]
                                    name="drawing"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                [link]
                                    name="generic/state/draw"
                                [/link]
                                    [key]
                                        name="height"
                                        type="f_unsigned"
                                        default=0
                                    [/key]
                                    [key]
                                        name="width"
                                        type="f_unsigned"
                                        default=0
                                    [/key]
                                [/tag]
                                [tag]
                                    name="horizontal_listbox"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [tag]
                                        name="footer"
                                        min="0"
                                        max="1"
                                        super="gui/window/resolution/grid"
                                    [/tag]
                                    [tag]
                                        name="header"
                                        min="0"
                                        max="1"
                                        super="gui/window/resolution/grid"
                                    [/tag]
                                    [tag]
                                        name="list_data"
                                        min="0"
                                        max="1"
                                        super="generic/listbox_grid"
                                    [/tag]
                                    [tag]
                                        name="list_definition"
                                        min="0"
                                        max="1"
                                        [tag]
                                            name="row"
                                            min="1"
                                            max="1"
                                            super="generic/listbox_grid/row"
                                        [/tag]
                                    [/tag]
                                    [key]
                                        name="horizontal_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                    [key]
                                        name="vertical_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                [/tag]
                                [tag]
                                    name="horizontal_scrollbar"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                [/tag]
                                [tag]
                                    name="image"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                [/tag]
                                [tag]
                                    name="label"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [key]
                                        name="text_alignment"
                                        type="h_align"
                                        default="left"
                                    [/key]
                                    [key]
                                        name="wrap"
                                        type="bool"
                                        default=false
                                    [/key]
                                [/tag]
                                [tag]
                                    name="listbox"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [tag]
                                        name="footer"
                                        min="0"
                                        max="1"
                                        super="gui/window/resolution/grid"
                                    [/tag]
                                    [tag]
                                        name="header"
                                        min="0"
                                        max="1"
                                        super="gui/window/resolution/grid"
                                    [/tag]
                                    [tag]
                                        name="list_data"
                                        min="0"
                                        max="1"
                                        super="generic/listbox_grid"
                                    [/tag]
                                    [tag]
                                        name="list_definition"
                                        min="0"
                                        max="1"
                                        [tag]
                                            name="row"
                                            min="1"
                                            max="1"
                                            super="generic/listbox_grid/row"
                                        [/tag]
                                    [/tag]
                                    [key]
                                        name="horizontal_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                    [key]
                                        name="vertical_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                [/tag]
                                [tag]
                                    name="minimap"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                [/tag]
                                [tag]
                                    name="multi_page"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [tag]
                                        name="page_data"
                                        min="0"
                                        max="1"
                                        super="gui/window/resolution/grid"
                                    [/tag]
                                    [tag]
                                        name="page_definition"
                                        min="0"
                                        max="1"
                                        super="gui/window/resolution/grid"
                                    [/tag]
                                    [key]
                                        name="horizontal_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                    [key]
                                        name="vertical_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                [/tag]
                                [tag]
                                    name="panel"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                [link]
                                    name="gui/window/resolution/grid"
                                [/link]
                                [/tag]
                                [tag]
                                    name="password_box"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [key]
                                        name="label"
                                        type="t_string"
                                        default=""
                                    [/key]
                                [/tag]
                                [tag]
                                    name="progress_bar"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                [/tag]
                                [tag]
                                    name="repeating_button"
                                    min="0"
                                    max="-1"
                                    super="gui/window/resolution/grid/row/column/button"
                                [/tag]
                                [tag]
                                    name="scroll_label"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [key]
                                        name="horizontal_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                    [key]
                                        name="vertical_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                [/tag]
                                [tag]
                                    name="scrollbar_panel"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [tag]
                                        name="definition"
                                        min="0"
                                        max="1"
                                        super="gui/window/resolution/grid"
                                    [/tag]
                                    [key]
                                        name="horizontal_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                    [key]
                                        name="vertical_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                [/tag]
                                [tag]
                                    name="slider"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [key]
                                        name="best_slider_length"
                                        type="unsigned"
                                        default=0
                                    [/key]
                                    [key]
                                        name="maximum_value"
                                        type="int"
                                        default=0
                                    [/key]
                                    [key]
                                        name="maximum_value_label"
                                        type="t_string"
                                        default=""
                                    [/key]
                                    [key]
                                        name="minimum_value"
                                        type="int"
                                        default=0
                                    [/key]
                                    [key]
                                        name="minimum_value_label"
                                        type="t_string"
                                        default=""
                                    [/key]
                                    [key]
                                        name="step_size"
                                        type="unsigned"
                                        default=0
                                    [/key]
                                    [key]
                                        name="value"
                                        type="int"
                                        default=0
                                    [/key]
                                [/tag]
                                [tag]
                                    name="spacer"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [key]
                                        name="height"
                                        type="f_unsigned"
                                        default=0
                                    [/key]
                                    [key]
                                        name="width"
                                        type="f_unsigned"
                                        default=0
                                    [/key]
                                [/tag]
                                [tag]
                                    name="stacked_widget"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [tag]
                                        name="stack"
                                        min="0"
                                        max="-1"
                                        [tag]
                                            name="layer"
                                            min="0"
                                            max="-1"
                                            super="gui/window/resolution/grid"
                                        [/tag]
                                    [/tag]
                                [/tag]
                                [tag]
                                    name="text_box"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [key]
                                        name="history"
                                        type="string"
                                        default=""
                                    [/key]
                                    [key]
                                        name="label"
                                        type="t_string"
                                        default=""
                                    [/key]
                                [/tag]
                                [tag]
                                    name="toggle_button"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [key]
                                        name="icon"
                                        type="f_string"
                                        default=""
                                    [/key]
                                    [key]
                                        name="return_value"
                                        type="int"
                                        default=0
                                    [/key]
                                    [key]
                                        name="return_value_id"
                                        type="string"
                                        default=""
                                    [/key]
                                [/tag]
                                [tag]
                                    name="toggle_panel"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                [link]
                                    name="gui/window/resolution/grid"
                                [/link]
                                    [key]
                                        name="return_value"
                                        type="int"
                                        default=0
                                    [/key]
                                    [key]
                                        name="return_value_id"
                                        type="string"
                                        default=""
                                    [/key]
                                [/tag]
                                [tag]
                                    name="tree_view"
                                    min="0"
                                    max="-1"
                                    super="generic/widget_instance"
                                    [tag]
                                        name="node"
                                        min="0"
                                        max="-1"
                                        [tag]
                                            name="node_definition"
                                            min="0"
                                            max="-1"
                                            super="gui/window/resolution/grid"
                                            [key]
                                                name="return_value_id"
                                                type="string"
                                                default=""
                                            [/key]
                                        [/tag]
                                        [key]
                                            name="id"
                                            type="string"
                                            default=""
                                        [/key]
                                    [/tag]
                                    [key]
                                        name="horizontal_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                    [key]
                                        name="indention_step_size"
                                        type="unsigned"
                                        default=0
                                    [/key]
                                    [key]
                                        name="vertical_scrollbar_mode"
                                        type="scrollbar_mode"
                                        default=initial_auto
                                    [/key]
                                [/tag]
                                [tag]
                                    name="vertical_scrollbar"
                                    min="0"
                                    max="1"
                                    super="generic/widget_instance"
                                [/tag]
                            [link]
                                name="gui/window/resolution/grid"
                            [/link]
                                [key]
                                    name="border"
                                    type="border"
                                    default=""
                                [/key]
                                [key]
                                    name="border_size"
                                    type="unsigned"
                                    default=0
                                [/key]
                                [key]
                                    name="grow_factor"
                                    type="unsigned"
                                    default=0
                                [/key]
                                [key]
                                    name="horizontal_alignment"
                                    type="h_align"
                                    default=""
                                [/key]
                                [key]
                                    name="horizontal_grow"
                                    type="bool"
                                    default=false
                                [/key]
                                [key]
                                    name="vertical_alignment"
                                    type="v_align"
                                    default=""
                                [/key]
                                [key]
                                    name="vertical_grow"
                                    type="bool"
                                    default=false
                                [/key]
                            [/tag]
                            [key]
                                name="grow_factor"
                                type="unsigned"
                                default=0
                            [/key]
                        [/tag]
                        [key]
                            name="id"
                            type="string"
                            default=""
                        [/key]
                        [key]
                            name="linked_group"
                            type="string"
                            default=0
                        [/key]
                    [/tag]
                    [tag]
                        name="helptip"
                        min="0"
                        max="1"
                        super="gui/window/resolution/tooltip"
                    [/tag]
                    [tag]
                        name="linked_group"
                        min="0"
                        max="-1"
                        [key]
                            name="fixed_height"
                            type="bool"
                            default=false
                        [/key]
                        [key]
                            name="fixed_width"
                            type="bool"
                            default=false
                        [/key]
                        [key]
                            name="id"
                            type="string"
                            mandatory="true"
                        [/key]
                    [/tag]
                    [tag]
                        name="tooltip"
                        min="0"
                        max="1"
                        [key]
                            name="id"
                            type="string"
                            mandatory="true"
                        [/key]
                    [/tag]
                    [key]
                        name="automatic_placement"
                        type="bool"
                        default=true
                    [/key]
                    [key]
                        name="click_dismiss"
                        type="bool"
                        default=false
                    [/key]
                    [key]
                        name="definition"
                        type="string"
                        default="default"
                    [/key]
                    [key]
                        name="height"
                        type="f_unsigned"
                        default=0
                    [/key]
                    [key]
                        name="horizontal_placement"
                        type="h_align"
                        default=""
                    [/key]
                    [key]
                        name="maximum_height"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="maximum_width"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="vertical_placement"
                        type="v_align"
                        default=""
                    [/key]
                    [key]
                        name="width"
                        type="f_unsigned"
                        default=0
                    [/key]
                    [key]
                        name="window_height"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="window_width"
                        type="unsigned"
                        default=0
                    [/key]
                    [key]
                        name="x"
                        type="f_unsigned"
                        default=0
                    [/key]
                    [key]
                        name="y"
                        type="f_unsigned"
                        default=0
                    [/key]
                [/tag]
                [key]
                    name="description"
                    type="t_string"
                    mandatory="true"
                [/key]
                [key]
                    name="id"
                    type="string"
                    mandatory="true"
                [/key]
            [/tag]
            [tag]
                name="window_definition"
                min="0"
                max="-1"
                super="generic/widget_definition"
                [tag]
                    name="resolution"
                    min="0"
                    max="-1"
                    super="gui/panel_definition/resolution"
                [link]
                    name="gui/panel_definition/resolution/background"
                [/link]
                [link]
                    name="gui/panel_definition/resolution/foreground"
                [/link]
                [link]
                    name="gui/window/resolution/grid"
                [/link]
                [/tag]
            [/tag]
            [key]
                name="description"
                type="t_string"
                mandatory="true"
            [/key]
            [key]
                name="id"
                type="string"
                mandatory="true"
            [/key]
        [/tag]
    [/tag]
[/wml_schema]
