<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
 can_minimize="true"
 can_close="true"
 height="82"
 layout="topleft"
 name="camera_floater"
 title="Camera Controls"
 save_rect="true"
 save_visibility="true"
 single_instance="true"
 width="210">
    <floater.string
     name="rotate_tooltip">
        Rotate Camera Around Focus
    </floater.string>
    <floater.string
     name="zoom_tooltip">
        Zoom Camera Towards Focus
    </floater.string>
    <floater.string
     name="move_tooltip">
        Move Camera Up and Down, Left and Right
    </floater.string>
    <floater.string
     name="camera_modes_title">
       Modes
    </floater.string>
    <floater.string
     name="pan_mode_title">
       Camera
    </floater.string>
    <floater.string
     name="presets_mode_title">
        Presets
    </floater.string>
    <floater.string
     name="free_mode_title">
        View Object
    </floater.string>
    <panel
     border="false"
     height="90"
     layout="topleft"
     left="2"
     top="0"
     mouse_opaque="false"
     name="controls"
     width="206">
       <panel
         follows="all"
         height="77"
         layout="topleft"
         left="5"
         name="preset_views_list"
         top="0"
         width="177"
         visible="true">
          <scroll_list
          column_padding="0"
          draw_heading="false"
          height="82"
          follows="left|top|right"
          layout="topleft"
          left="0"
          tool_tip="Double click a preset to use."
          width="175"
          multi_select="false"
          name="presets_scroll"
          top_pad="-2">
          <scroll_list.columns
          label=""
          name="icon"
          relative_width="0.15"  />
          <scroll_list.columns
          label=""
          name="preset"
          relative_width="0.85"  />
          </scroll_list>
      </panel>
      <panel
          follows="all"
          height="77"
          layout="topleft"
          left="8"
          name="camera_modes_list"
          top="0"
          width="170"
          visible="false">
        <panel_camera_item
          name="object_view">
          <panel_camera_item.mousedown_callback
            function="CameraPresets.ChangeView"
            parameter="object_view" />
          <panel_camera_item.text
            name="object_view_text">
            Object View
          </panel_camera_item.text>
          <panel_camera_item.picture
            image_name="Object_View_Off" />
          <panel_camera_item.selected_picture
            image_name="Object_View_On" />
        </panel_camera_item>
        <panel_camera_item
          name="mouselook_view"
          layout="topleft">
          <panel_camera_item.mousedown_callback
            function="CameraPresets.ChangeView"
            parameter="mouselook_view" />
          <panel_camera_item.text
            name="mouselook_view_text">
            Mouselook View
          </panel_camera_item.text>
          <panel_camera_item.picture
            image_name="MouseLook_View_Off" />
          <panel_camera_item.selected_picture
            image_name="MouseLook_View_On" />
        </panel_camera_item>
        <combo_box
        follows="top|left"
        left="0"
        height="25"
        control_name="CameraFollowJoint"
        name="joint_combo"
        top_pad="17"
        width="170">
        <combo_box.item
        label="Select a bone to follow"
        name="item0"/>
        <combo_box.combo_button
        image_unselected="Toolbar_Middle_Off"
        image_selected="Toolbar_Middle_Selected"
        image_disabled="Toolbar_Middle_Off" />
        <combo_box.drop_down_button
        image_unselected="Toolbar_Middle_Off"
        image_selected="Toolbar_Middle_Selected"
        image_pressed="Toolbar_Middle_Selected" 
        image_pressed_selected="Toolbar_Middle_Selected"
        image_disabled="Toolbar_Middle_Off" />
        </combo_box>
      </panel>
         <!--TODO: replace + - images -->
         <panel
            border="false"
            class="camera_zoom_panel"
            height="77"
            layout="topleft"
            left="0"
												visible="true"
            mouse_opaque="false"
            name="zoom"
            top="0"
            width="206">
           <joystick_rotate
              follows="top|left"
              height="78"
              image_selected="Cam_Rotate_In"
              image_unselected="Cam_Rotate_Out"
              layout="topleft"
              left="2"
              mouse_opaque="false"
              name="cam_rotate_stick"
              quadrant="left"
              scale_image="false"
              sound_flags="3"
              visible="true"
              tool_tip="Orbit camera around focus"
              top="0"
              width="78" />
           <button
              follows="top|left"
              height="18"
              image_disabled="AddItem_Disabled"
              image_selected="AddItem_Press"
              image_unselected="AddItem_Off"
              layout="topleft"
              left_pad="1" 
              name="zoom_plus_btn"
              width="18"
              top_delta="-3">
             <commit_callback
                function="Zoom.plus" />
             <mouse_held_callback
                function="Zoom.plus" />
           </button>
           <slider_bar
              height="50"
              layout="topleft"
              name="zoom_slider"
              orientation="vertical"
              tool_tip="Zoom camera toward focus"
              top_pad="0"
              min_val="0"
              increment="0.01"
              max_val="1" 
              width="18">
             <commit_callback function="Slider.value_changed"/>
           </slider_bar>
           <button
              follows="top|left"
              height="18"
              image_disabled="MinusItem_Disabled"
              image_selected="MinusItem_Press"
              image_unselected="MinusItem_Off"
              layout="topleft"
              name="zoom_minus_btn"
              top_pad="0"
              width="18">
             <commit_callback
                function="Zoom.minus" />
             <mouse_held_callback
                function="Zoom.minus" />
           </button>
           <button
         follows="left|bottom"
         height="24"
         image_selected="Movement_TurnRight_On"
         image_pressed_selected="Movement_TurnRight_On"
         image_unselected="Movement_TurnRight_Off"
         layout="topleft"
         left="57"
         name="roll_right"
         scale_image="false"
         tool_tip="Roll right &lt;green&gt;(Default: Shift + E)&lt;/green&gt;"
         top="0"
         width="24">
            <commit_callback
                function="Camera.roll_right" />
             <mouse_held_callback
                function="Camera.roll_right" />
           </button>
           <button
         follows="left|bottom"
         height="24"
         image_selected="Movement_TurnLeft_On"
         image_pressed_selected="Movement_TurnLeft_On"
         image_unselected="Movement_TurnLeft_Off"
         layout="topleft"
         left="0"
         name="roll_left"
         scale_image="false"
         tool_tip="Roll left &lt;green&gt;(Default: Shift + Q)&lt;/green&gt;"
         top="0"
         width="24">
            <commit_callback
                function="Camera.roll_left" />
             <mouse_held_callback
                function="Camera.roll_left" />
           </button>
         <joystick_track
         follows="top|left"
         height="78"
         image_selected="Cam_Tracking_In"
         image_unselected="Cam_Tracking_Out"
         layout="topleft"
         left="100"
         name="cam_track_stick"
         quadrant="left"
         scale_image="false"
         sound_flags="3"
         tool_tip="Move camera up and down, left and right"
         top="0"
         width="78"/>
        </panel>
    </panel>
    <panel
     border="false"
     layout="topleft"
     left_pad="-27"
     height="80"
     width="25"
     top_pad="-92"
     name="buttons">
        <button
         height="24"
         label=""
         layout="topleft"
         is_toggle="true"
         image_overlay="Cam_Avatar_Off"
         image_selected="PushButton_Selected_Press"
         name="presets_btn"
         tab_stop="false"
         tool_tip="Preset Views"
         top="3" 
         width="25">
        </button>
        <button
         height="24"
         label=""
         layout="topleft"
         left_delta="0"
         is_toggle="true"
         image_overlay="PanOrbit_Off"
         image_selected="PushButton_Selected_Press"
         name="pan_btn"
	 top_pad="2"
         tab_stop="false"
         tool_tip="Orbit Zoom Pan"
         width="25">
        </button>
        <button
         height="24"
         label=""
         layout="topleft"
         left_delta="0"
	 top_pad="2"
         image_overlay="Cam_FreeCam_Off"
         image_selected="PushButton_Selected_Press"
         name="avatarview_btn"
         tab_stop="false"
         tool_tip="Camera modes"
         width="25">
        </button>
    </panel>
</floater>
