<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 legacy_header_height="18"
 can_resize="true"
 height="640"
 layout="topleft"
 min_height="230"
 min_width="650"
 name="gui_preview_tool"
 help_topic="gui_preview_tool"
 single_instance="true"
 title="XUI PREVIEW TOOL"
 translate="false"
 width="750">
    <string name="ExternalEditorNotSet">
Select an editor by setting the environment variable LL_XUI_EDITOR
or the ExternalEditor setting
or specifying its path in the "Editor Path" field.</string>
    <panel
     bottom="640"
     follows="left|top|right|bottom"
     layout="topleft"
     left="0"
     mouse_opaque="false"
     name="main_panel"
     right="750"
     top="0">
        <text
         type="string"
         length="1"
         follows="top|left"
         font="SansSerif"
         height="30"
         layout="topleft"
         left="10"
         name="select_language_label"
         top="25"
         width="130">
            Primary Language:
        </text>
        <combo_box
         follows="top|left"
         height="20"
         layout="topleft"
         left_pad="5"
         name="language_select_combo"
         top_delta="0"
         width="55">
            <combo_box.item
             label="en"
             name="item1"
             value="en" />
        </combo_box>
        <button
         follows="left|top"
         height="25"
         label="Show"
         label_selected="Show"
         layout="topleft"
         left_pad="10"
         name="display_floater"
         tool_tip="Display the XUI floater defined by the selected XML file"
         top_delta="-2"
         width="95" />
        <button
         enabled="false"
         follows="left|top"
         height="25"
         label="Hide"
         label_selected="Hide"
         layout="topleft"
         left_pad="10"
         name="close_displayed_floater"
         tool_tip="Closes the currently-displayed floater, if one exists"
         top_delta="0"
         width="85" />
        <button
         follows="left|top"
         height="25"
         label="Edit..."
         label_selected="Edit..."
         layout="topleft"
         left_pad="10"
         name="edit_floater"
         tool_tip="Edit the XUI floater defined by the selected XML file (opens external editor).  Opens en version if no localized version exists."
         top_delta="0"
         width="95" />
        <button
         follows="left|top"
         height="25"
         label="Save"
         label_selected="Save"
         layout="topleft"
         left_pad="5"
         name="save_floater"
         tool_tip="Save the XUI floater defined by the selected XML file"
         top_delta="0"
         width="85" />
        <button
         follows="left|top"
         height="25"
         label="Save All"
         label_selected="Save All"
         layout="topleft"
         left_pad="10"
         name="save_all_floaters"
         tool_tip="Save all XUI floaters defined by the selected language"
         top_delta="0"
         width="85" />
        <button
         follows="right|top"
         height="25"
         is_toggle="true"
         label="&gt; &gt;"
         label_selected="&lt; &lt;"
         layout="topleft"
         left_pad="15"
         name="toggle_overlap_panel"
         tool_tip="Toggle highlighting and display panel for overlapping elements; right-click an element to select it for this feature.  The selected element is marked by a red rectangle."
         top_delta="0"
         width="30" />
        <text
         type="string"
         length="1"
         follows="top|left"
         font="SansSerif"
         height="30"
         layout="topleft"
         left="10"
         name="select_language_label_2"
         right="-50"
         top="53"
         width="105">
            Secondary Language:
        </text>
        <combo_box
         follows="top|left"
         height="20"
         layout="topleft"
         left_delta="135"
         name="language_select_combo_2"
         top_delta="0"
         width="55">
            <combo_box.item
             label="en"
             name="item1"
             value="en" />
        </combo_box>
        <button
         follows="left|top"
         height="25"
         label="Show"
         layout="topleft"
         left_pad="10"
         name="display_floater_2"
         tool_tip="Display the XUI floater defined by the selected XML file"
         top_delta="-2"
         width="95" />
        <button
         enabled="false"
         follows="left|top"
         height="25"
         label="Hide"
         layout="topleft"
         left_pad="10"
         name="close_displayed_floater_2"
         tool_tip="Closes the currently-displayed floater, if one exists"
         top_delta="0"
         width="85" />
        <button
         follows="left|top"
         height="25"
         label="Export Schema"
         layout="topleft"
         left_pad="10"
         name="export_schema"
         top_delta="0"
         width="120" />
        <check_box
          follows="left|top"
          label="Show Rectangles"
          name="show_rectangles"
          left_pad="10"
          top_delta="0"
          height="25"
          width="120" />
      
        <scroll_list
         bottom="525"
         column_padding="0"
         draw_heading="true"
         draw_stripes="false"
         follows="left|top|bottom|right"
         label="Name"
         layout="topleft"
         left="10"
         name="name_list"
         right="-10"
         search_column="1"
         top="80">
            <scroll_list.columns
             label="Title"
             name="title_column"
             width="150" />
            <scroll_list.columns
             label="File"
             name="file_column"
             width="150" />
            <scroll_list.columns
             dynamic_width="true"
             label="Top-Level Node"
             name="top_level_node_column" />
        </scroll_list>
        <panel
         bevel_style="in"
         bg_alpha_color="0 0 0 0"
         bg_opaque_color="0 0 0 0.3"
         border="true"
         bottom_delta="65"
         follows="left|right|bottom"
         height="60"
         layout="topleft"
         left="10"
         name="editor_panel"
         right="-10">
            <text
             type="string"
             length="1"
             follows="left|bottom"
             font="SansSerif"
             height="30"
             layout="topleft"
             left="10"
             left_delta="10"
             name="editor_path_label"
             top="10"
             width="100">
                Editor Path:
            </text>
            <line_editor
             border_style="line"
             border_thickness="1"
             follows="left|bottom"
             font="SansSerif"
             height="20"
             layout="topleft"
             left_delta="100"
             max_length_bytes="300"
             name="executable_path_field"
             select_on_focus="true"
             tool_tip="The full path to an editor (executable) to edit floater XML files (quotes not necessary)"
             top_delta="-2"
             width="315" />
            <button
             follows="left|bottom"
             height="25"
             label="Browse..."
             label_selected="Browse..."
             layout="topleft"
             left_pad="5"
             name="browse_for_executable"
             tool_tip="Browse for an editor (executable) to edit floater XML files"
             top_delta="-2"
             width="75" />
            <text
             type="string"
             length="1"
             follows="left|bottom"
             font="SansSerif"
             height="30"
             layout="topleft"
             left="10"
             left_delta="-420"
             name="executable_args_label"
             top="36"
             width="100">
                Editor Arguments:
            </text>
            <line_editor
             border_style="line"
             border_thickness="1"
             follows="left|bottom"
             font="SansSerif"
             height="20"
             layout="topleft"
             left_delta="100"
             max_length_bytes="300"
             name="executable_args_field"
             select_on_focus="true"
             tool_tip="Command-line arguments to the editor; use &apos;%FILE%&apos; to refer to the target file; &apos;YourProgram.exe FileName.xml&apos; will be run if this field is empty"
             top_delta="-2"
             width="315" />
        </panel>
        <panel
         bevel_style="in"
         bg_alpha_color="0 0 0 0"
         bg_opaque_color="0 0 0 0.3"
         border="true"
         bottom_delta="40"
         follows="left|right|bottom"
         height="35"
         layout="topleft"
         left="10"
         name="vlt_panel"
         right="-10">
            <text
             type="string"
             length="1"
             follows="left|bottom"
             font="SansSerif"
             height="30"
             layout="topleft"
             left="10"
             left_delta="10"
             name="diff_file_label"
             top="10"
             width="200">
                Delta File:
            </text>
            <line_editor
             border_style="line"
             border_thickness="1"
             follows="left|bottom"
             font="SansSerif"
             height="20"
             layout="topleft"
             left_delta="65"
             max_length_bytes="300"
             name="vlt_diff_path_field"
             select_on_focus="true"
             tool_tip="The full path to an XML D0 or D1 localization difference file generated by the Viewer Localization Toolkit"
             top_delta="-2"
             width="235" />
            <button
             follows="left|bottom"
             height="25"
             label="Browse..."
             label_selected="Browse..."
             layout="topleft"
             left_pad="5"
             name="browse_for_vlt_diffs"
             tool_tip="Browse for a VLT-generated D0 or D1 difference file to highlight changed files and elements"
             top_delta="-2"
             width="75" />
            <button
             follows="left|bottom"
             height="25"
             is_toggle="true"
             label="Highlight Diffs"
             label_selected="Unhighlight Diffs"
             layout="topleft"
             left_pad="5"
             name="toggle_vlt_diff_highlight"
             tool_tip="Toggle highlighting of files and elements containing changed localization data"
             top_delta="0"
             width="110" />
        </panel>
    </panel>
    <scroll_container
     follows="top|right|bottom"
     height="600"
     layout="topleft"
     left="750"
     name="overlap_scroll"
     reserve_scroll_corner="true"
     top="20"
     width="300">
      <panel
        border="true"
        name="overlap_dummy_panel"
        top="0"
        left="0"
        width="300"
        height="600"
        >
        <overlap_panel
         background_opaque="true"
         background_visible="true"
         bevel_style="in"
         bg_alpha_color="0 0 0 1"
         bg_opaque_color="1 1 1 1"
         border="true"
         follows="top|right|bottom"
         height="600"
         label="Overlap Panel"
         layout="topleft"
         left="0"
         min_width="300"
         name="overlap_panel"
         tool_tip="This panel displays the currently-selected element and all of the elements that overlap it, separated by horizontal lines"
         top="0"
         visible="false"
         width="300" />
        <text
         type="string"
         length="1"
         follows="top|right"
         font="SansSerif"
         height="30"
         layout="topleft"
         left="10"
         name="overlap_panel_label"
         top="10"
         width="150">
            Overlapping Elements:
        </text>
      </panel>
    </scroll_container>
</floater>
