<WARSCAPE_FRAME name='WarscapeFrame' width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='skin.no_border_style' arranger='skin.anchor_flag_arrange' >


  <STYLE name="texture_preview_style"
          padding="aabb(vector(2,2),vector(2,2))"
          margin="aabb(vector(2,2),vector(2,2))"
          background="skin.paper"
          vertical_align="EPF_CENTRE_Y"
          horizontal_align="EPF_LEFT">

    <STYLE name="texture_preview_line_style" padding="aabb(vector(2,2),vector(2,2))" margin="aabb(vector(2,2),vector(2,2))" background="null"  vertical_align="EPF_CENTRE_Y" horizontal_align="EPF_LEFT" line_spacing="64"/>


  </STYLE>

  <TEXTURE_REF name="compass_texture"  src="UI\\WarscapeTwin\\compass.dds" />
  <RENDER_BLIT_GRID_3x3_F name="compass_style_bg" data="grid3x3(0,0,255,32,8,8,12,12)" texture="compass_texture"/>
  <RENDER_BLIT_GRID_3x3_F name="compass_style_fg" data="grid3x3(0,32,255,32,14,8,17,8)" texture="compass_texture" />
  <RENDER_RECT name="compass_pointer" uv_coords="rect(0,64,7,7)" texture="compass_texture"/>
  <RENDER_RECT name="compass_content" uv_coords="rect(0,80,256,16)" texture="compass_texture"/>

  <STYLE name="compass_style" padding="aabb(vector(6,5),vector(8,10))" margin="aabb(vector(0,0),vector(0,0))" i_beam="compass_pointer" background="compass_style_bg" overlay="compass_style_fg" />  

  <STYLE name ="table_style" padding="aabb(vector(0,0),vector(0,0))" margin="aabb(vector(0,0),vector(0,0))" background="null"  vertical_align="EPF_CENTRE_Y" horizontal_align="EPF_LEFT" line_spacing="64"/>

  <STYLE name ="border_style" padding="aabb(vector(2,2),vector(2,2))" margin="aabb(vector(0,0),vector(0,0))" background="skin.client_edge" />

  <STYLE name="shinny_box" padding="aabb(vector(2,2),vector(2,2))" margin="aabb(vector(0,0),vector(0,0))" background="skin.paper" overlay="compass_style_fg" />

  <!--
  The following are valid commands
  CMD_SAVE_SETTINGS 
	CMD_CLEAR_PARTICLE_SYSTEMS 
	CMD_LOAD_PARTICLE_SYSTEMS 
	CMD_SAVE_PARTICLE_SYSTEMS 
	CMD_COPY_TEXT_SELECTION 
	CMD_EXIT 
	CMD_SHADOW_TOGGLE 
	CMD_LOAD_ENVIRONMENT_SETTINGS 
	CMD_SAVE_ENVIRONMENT_SETTINGS 
	CMD_INSERT_NEW_NODE 
	CMD_DELETE_NODE 
	CMD_COPY_NODE 
	CMD_CUT_NODE 
	CMD_PASTE_NODE 
	CMD_RENAME_NODE 
	CMD_LOAD_TEXTURE 
	CMD_INSERT_NEW_TEXTURE 
	CMD_DUMP_NODE_TO_CONSOLE 
	CMD_SAVE_XML 
	CMD_LOAD_XML 
	CMD_SAVE_KEYFRAMES 
	CMD_LOAD_KEYFRAMES 
	CMD_LOAD_DIALOG 
	CMD_SAVE_WINDOWS 
	CMD_SAVE_WINDOW_SKIN 
	CMD_TAKE_SCREEN_SHOT_DIALOG
  -->



  <VECTOR_LIST name='file_list' >
    <LIST_ELEM name='Load Settings' attrib='0' value='CMD_LOAD_SETTINGS' image_index='0' offset='0' />
    <LIST_ELEM name='Save Settings' attrib='0' value='CMD_SAVE_SETTINGS' image_index='0' offset='0' />
    <LIST_ELEM name='' attrib='MIA_SEPERATOR'/>
    <LIST_ELEM name='Save KeyFrames' attrib='0' value='CMD_SAVE_KEYFRAMES' image_index='0' offset='0' />
    <LIST_ELEM name='Load KeyFrames' attrib='0' value='CMD_LOAD_KEYFRAMES' image_index='0' offset='0' />
    <LIST_ELEM name='' attrib='MIA_SEPERATOR'/>
    <LIST_ELEM name='Load TWIN dialog' attrib='0' value='CMD_LOAD_DIALOG' image_index='0' offset='0' />
    <LIST_ELEM name='Save Windows' attrib='0' value='CMD_SAVE_WINDOWS' image_index='0' offset='0' />
    <LIST_ELEM name='' attrib='MIA_SEPERATOR'/>
    <LIST_ELEM name='Copy text selection' attrib='64' value='CMD_COPY_NODE' image_index='0' offset='0' />

  </VECTOR_LIST>
  <VECTOR_LIST name='empty_popup_list' >
    <LIST_ELEM attrib='192' name='This node has no operations.' value='0' image_index='0' offset='0' />
  </VECTOR_LIST>
  <VECTOR_LIST name='options_list' >
    <LIST_ELEM name='Shadow toggle (Ctrl-S)' attrib='0' value='CMD_SHADOW_TOGGLE' image_index='0' offset='0' />
    <LIST_ELEM name='Preferences' attrib='0' value='CMD_PREFERENCES' image_index='0' offset='0' />
    <LIST_ELEM name='Help' attrib='0' value='CMD_HELP' image_index='0' offset='0' />
    <LIST_ELEM name='Open Wiki page' attrib='0' value='CMD_OPEN_WIKI_PAGE' image_index='0' offset='0' />	
    <LIST_ELEM name='Edit editor UI config file' attrib='0' value='CMD_EDIT_WARSCAPE_FRAME_TWIN_FILE' image_index='0' offset='0' />
    <LIST_ELEM name='Edit script file' attrib='0' value='CMD_EDIT_SCRIPT_FILE' image_index='0' offset='0' />
    <LIST_ELEM name='Automagic level creator' attrib='0' value='CMD_AUTOMATIC_LEVEL_CREATOR' image_index='0' offset='0' />
  </VECTOR_LIST>

  <VECTOR_LIST name='edit_list' >
    <LIST_ELEM name='Undo (Ctrl + Z)' attrib='0' value='CMD_UNDO' image_index='0' offset='0' />
    <LIST_ELEM name='Redo (Ctrl + Y)' attrib='0' value='CMD_REDO' image_index='0' offset='0' />
    <LIST_ELEM name='Copy (Ctrl + C)' attrib='0' value='CMD_COPY' image_index='0' offset='0' />
    <LIST_ELEM name='Paste (Ctrl + V)' attrib='0' value='CMD_PASTE' image_index='0' offset='0' />
    <LIST_ELEM name='Delete (Del)' attrib='0' value='CMD_DELETE' image_index='0' offset='0' />
    <LIST_ELEM name='Save selection as brush (Ctrl + B)' attrib='0' value='CMD_SAVE_AS_BRUSH' image_index='0' offset='0' />
  </VECTOR_LIST>

  <VECTOR_LIST name='environment_list' >
    <LIST_ELEM name='Load Environment Settings' attrib='0' value='CMD_LOAD_ENVIRONMENT_SETTINGS' image_index='0' offset='0' />
    <LIST_ELEM name='Save Environment Settings' attrib='0' value='CMD_SAVE_ENVIRONMENT_SETTINGS' image_index='0' offset='0' />
    <LIST_ELEM name='Reload shaders (Ctrl + R)' attrib='0' value='CMD_RELOAD_SHADERS' image_index='0' offset='0' />
    <LIST_ELEM name='Reload textures (Ctrl + T)' attrib='0' value='CMD_RELOAD_TEXTURES' image_index='0' offset='0' />
    <LIST_ELEM name='Reload modules (Ctrl + M)' attrib='0' value='CMD_RELOAD_MODULES' image_index='0' offset='0' />
    <LIST_ELEM name='Take screenshot (Ctrl + P)' attrib='0' value='CMD_TAKE_SCREEN_SHOT_DIALOG' image_index='0' offset='0' />
  </VECTOR_LIST>
  <VECTOR_LIST name='full_popup_list' >
    <LIST_ELEM name='Insert New' attrib='0' value='CMD_INSERT_NEW_NODE' image_index='0' offset='0' />
    <LIST_ELEM name='Delete' attrib='0' value='CMD_DELETE_SCENE_NODE' image_index='0' offset='0' />
    <LIST_ELEM name='Copy' attrib='0' value='CMD_COPY_NODE' image_index='0' offset='0' />
    <LIST_ELEM name='Cut' attrib='0' value='CMD_CUT_NODE' image_index='0' offset='0' />
    <LIST_ELEM name='Paste' attrib='0' value='CMD_PASTE_NODE' image_index='0' offset='0' />
    <LIST_ELEM name='Rename' attrib='0' value='CMD_RENAME_NODE' image_index='0' offset='0' />
    <LIST_ELEM name='Dump item to console' attrib='CMD_DUMP_NODE_TO_CONSOLE' value='50519' image_index='0' offset='0' />
    <LIST_ELEM name='Load XML' attrib='0' value='CMD_LOAD_XML' image_index='0' offset='0' />
    <LIST_ELEM name='Save XML' attrib='0' value='CMD_SAVE_XML' image_index='0' offset='0' />
  </VECTOR_LIST>

  <VECTOR_LIST name='menu_list' >
    <LIST_ELEM name='File' attrib='0' value='0' image_index='0' offset='0' child_list='file_list' />
    <LIST_ELEM name='Edit' attrib='0' value='0' image_index='0' offset='0' child_list='edit_list' />
    <LIST_ELEM name='Environment' attrib='0' value='0' image_index='0' offset='0' child_list='environment_list' />
    <LIST_ELEM name='Options' attrib='0' value='0' image_index='0' offset='0' child_list='options_list' />
  </VECTOR_LIST>
  <TABLE name='ctrl_main_layout_table' width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.anchor_flag_arrange' >
    <ROW width='1.000000*' height='25.000000px' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.anchor_flag_arrange'  >
      <CELL width='1.0*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.anchor_flag_arrange' >
        <MENU name='ctrl_main_menu' margin='aabb(vector(0,0),vector(0,0))' width='1.000000*' height='1.000000*' valign='EPF_TOP' halign='EPF_LEFT' input_style='skin.MENU::g_default_style' input_list='menu_list' popup_behaviour='false' input_sub_menu_style='skin.MENU::g_default_sub_menu_style' />
      </CELL>
      <CELL width='80px' height='1.0*' input_style='table_style' >
        <SIMPLE_LABEL name='ctrl_fps_display' margin='aabb(vector(0,0),vector(0,0))' width='1.0*' height='1.0*' valign='EPF_TOP' halign='EPF_LEFT' text='fps: 63' update_measures_from_text='false' />
      </CELL>
    </ROW>
    <ROW name='tool_bar_row' width='1.000000*' height='150.000000px' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.anchor_flag_arrange' resize_flags='bottom' >
      <CELL width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.anchor_flag_arrange' resize_flags='bottom' >
        <TAB_BOX name='ctrl_module_tabs' width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' >
		      <!--<ANIMATION_SLOT_EDITOR name="Animation slot editor"/>-->
        </TAB_BOX>
      </CELL>
    </ROW>
    <ROW input_style='table_style' resize_flags='top'>
      <CELL name='render_cell' width ='1.0*' input_style='table_style' resize_flags='top'>
        <TABLE margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.anchor_flag_arrange'>
          <ROW input_style='table_style' height='0.8*' name='render_row'>
            <CELL  width='1.0*' height='1.0*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' arranger='skin.anchor_flag_arrange'  input_style='skin.inset_border_style' resize_flags='right | bottom' >
              <WARSCAPE_RENDER_WIDGET name='ctrl_main_render_widget' margin='aabb(vector(0,0),vector(0,0))' width='100%' height='100%' valign='EPF_TOP' halign='EPF_LEFT' />
              <COMPASS_VIEW name='ctrl_compass_view' input_style='compass_style' width='200px' height='30px' content='compass_content' halign='EPF_CENTRE_X'/>

            </CELL>
          </ROW>
          <ROW name='animation_row' width='1.000000*' height='1.0*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' arranger='skin.anchor_flag_arrange' input_style='table_style' resize_flags='top'>
            <CELL width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='skin.inset_border_style' arranger='skin.anchor_flag_arrange' resize_flags='top|right' >
              <TAB_BOX name='ctrl_bottom_panel_tabs'>
                <ANIMATION_PANEL name='Animation Editor' width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.anchor_flag_arrange' >
                </ANIMATION_PANEL>
              </TAB_BOX>
            </CELL>
          </ROW>
        </TABLE>
      </CELL>      
       <CELL name='property_cell' width='1.0*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.vertical_arrange' resize_flags='left' >
         <TABLE width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.vertical_arrange' >
            <ROW width='1.000000*' height='0.500000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.anchor_flag_arrange' resize_flags='bottom' >
              <CELL width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='skin.inset_border_style' arranger='skin.anchor_flag_arrange' >
                <TAB_BOX name='ctrl_inspector_tab_box'>
                  <SCROLL_CONTAINER  name='Tools' width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' auto_scrollbars='true' >
                    <TREE_VIEW name='ctrl_tools_view' margin='aabb(vector(0,0),vector(0,0))' width='100%' height='1.0C' valign='EPF_TOP' halign='EPF_LEFT' input_horizontal_bar='skin.select_rect' input_vertical_bar='skin.select_rect' pixel_scroll='true' input_list='menu_list' multiple_selection='true'/>
                  </SCROLL_CONTAINER>
                  <SCROLL_CONTAINER name='Textures' width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' auto_scrollbars='true' >
                    <TREE_VIEW name='ctrl_texture_view' margin='aabb(vector(0,0),vector(0,0))' input_style='texture_preview_style' width='100%' height='1.0c' valign='EPF_TOP' halign='EPF_LEFT' input_horizontal_bar='skin.select_rect' input_vertical_bar='skin.select_rect' pixel_scroll='true' list='' multiple_selection='true'/>
                  </SCROLL_CONTAINER>
                  <SCROLL_CONTAINER name='Scene' width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' auto_scrollbars='true' >
                    <TREE_VIEW name='ctrl_tree_view' margin='aabb(vector(0,0),vector(0,0))' width='100%' height='1.0C' valign='EPF_TOP' halign='EPF_LEFT' input_horizontal_bar='skin.select_rect' input_vertical_bar='skin.select_rect' pixel_scroll='true' input_list='menu_list' multiple_selection='true'/>
                  </SCROLL_CONTAINER>
                  <SCROLL_CONTAINER name='Layers'  width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' auto_scrollbars='true' >
                    <TREE_VIEW  name='ctrl_layer_view' margin='aabb(vector(0,0),vector(0,0))' width='100%' height='1.0C' valign='EPF_TOP' halign='EPF_LEFT' input_horizontal_bar='skin.select_rect' input_vertical_bar='skin.select_rect' pixel_scroll='true' />
                  </SCROLL_CONTAINER>
                  <SCROLL_CONTAINER name='Undo history' width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' auto_scrollbars='true' >
                    <LIST_VIEW name='ctrl_undo_history_view' margin='aabb(vector(0,0),vector(0,0))' width='100%' height='1.0C' valign='EPF_TOP' halign='EPF_LEFT' input_horizontal_bar='skin.select_rect' input_vertical_bar='skin.select_rect' pixel_scroll='true' />
                  </SCROLL_CONTAINER>
                </TAB_BOX>
              </CELL>
            </ROW>
            <ROW width='1.000000*' height='100%' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.anchor_flag_arrange' resize_flags='top'>
              <CELL width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='table_style' arranger='skin.anchor_flag_arrange' resize_enabled='true' >
                <SCROLL_CONTAINER width='1.000000*' height='1.000000*' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' auto_scrollbars='true' >
                  <ROLL_DOWN name='ctrl_property_panel_roll_down' width='100%' height='1.0C'>
                    <PROPERTY_PANEL name='ctrl_property_panel' width='1.000000*' height='1.0C' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' style='skin.brushed_metal_style' />
                  </ROLL_DOWN>
                </SCROLL_CONTAINER>
              </CELL>
            </ROW>
         </TABLE>
         <VIEW_GROUP name='ctrl_icon_container' width='1.000000*' height='40px' margin='aabb(vector(0,0),vector(0,0))' valign='EPF_TOP' halign='EPF_LEFT' input_style='skin.brushed_metal_style' arranger='skin.horizontal_arrange'>
         </VIEW_GROUP>
        </CELL>
      </ROW>      
  </TABLE>

</WARSCAPE_FRAME>
