<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
 height="380"
 layout="topleft"
 name="panel_snapshot_local"
 width="490">
    <icon
     follows="top|left"
     height="18"
     image_name="Snapshot_Download"
     layout="topleft"
     left="12"
     mouse_opaque="true"
     name="title_icon"
     top="0"
     width="18" />
    <text
     follows="top|left|right"
     font="SansSerifBold"
     height="14"
     layout="topleft"
     left_pad="12"
     length="1"
     name="title"
     right="-10"
     text_color="white"
     type="string"
     top_delta="2">
        Disk
    </text>
    <view_border 
     bevel_style="in"
     follows="left|top|right" 
     height="1"
     left="9"
     layout="topleft"
     name="hr"
     right="-5"
     top_pad="5"/>
    <combo_box
     follows="left|top|right"
     height="20"
     label="Resolution"
     layout="topleft"
     left_delta="0"
     name="local_size_combo"
     right="-5"
     top_pad="5">
        <combo_box.item
         label="Current Window"
         name="CurrentWindow"
         value="[i0,i0]" />
        <combo_box.item
         label="320x240"
         name="320x240"
         value="[i320,i240]" />
        <combo_box.item
         label="640x480"
         name="640x480"
         value="[i640,i480]" />
        <combo_box.item
         label="800x600"
         name="800x600"
         value="[i800,i600]" />
        <combo_box.item
         label="1024x768"
         name="1024x768"
         value="[i1024,i768]" />
        <combo_box.item
         label="1280x1024"
         name="1280x1024"
         value="[i1280,i1024]" />
        <combo_box.item
         label="1600x1200"
         name="1600x1200"
         value="[i1600,i1200]" />
        <combo_box.item
         label="1920x1080"
         name="1920x1080"
         value="[i1920,i1080]" />
        <combo_box.item
         label="4096x2160 (UHD)"
         name="4096x2160"
         value="[i4096,i2160]" />
        <combo_box.item
         label="6016x3316 (6K)"
         name="6016x3316"
         value="[i6016,i3316]" />
        <combo_box.item
         label="Custom"
         name="Custom"
         value="[i-1,i-1]" />
    </combo_box>
    <spinner
     allow_text_entry="false"
     decimal_digits="0"
     follows="left|top"
     height="20"
     increment="32"
     label="Width x Height"
     label_width="90"
     layout="topleft"
     left="10"
     max_val="16384"
     min_val="32"
     name="local_snapshot_width"
     top_pad="7"
     width="144" />
    <spinner
     allow_text_entry="false"
     decimal_digits="0"
     follows="left|top"
     height="20"
     increment="32"
     label=""
     label_width="0"
     layout="topleft"
     left_pad="0"
     max_val="16384"
     min_val="32"
     name="local_snapshot_height"
     top_delta="0"
     width="54" />
    <check_box
     top_pad="12"
     follows="left|top"
     label="Constrain proportions"
     layout="topleft"
     left="10"
     name="local_keep_aspect_check" />
    <text
      type="string"
      length="1"
      follows="left|top"
      height="13"
      layout="topleft"
      left="10"
      name="local_format_label"
      top_pad="7"
      width="50">
         Format:
     </text>
    <combo_box
     follows="left|top|right"
     height="20"
     label="Format"
     layout="topleft"
     left="65"
     right="-5"
     name="local_format_combo"
     top_delta="-3"
     width="120">
        <combo_box.item
         label="PNG (Lossless)"
         name="PNG"
         value="PNG" />
        <combo_box.item
         label="JPEG"
         name="JPEG"
         value="JPEG" />
        <combo_box.item
         label="BMP (Lossless)"
         name="BMP"
         value="BMP" />
    </combo_box>
    <slider
     decimal_digits="0"
     follows="left|top"
     height="15"
     increment="1"
     initial_value="75"
     label="Quality:"
     label_width="45"
     layout="topleft"
     left="10"
     max_val="100"
     name="image_quality_slider"
     top_pad="6"
     width="203" />
    <button
     follows="right|bottom"
     height="23"
     label="Cancel"
     layout="topleft"
     name="cancel_btn"
     right="-5"
     top="337"
     width="97">
      <button.commit_callback
       function="Local.Cancel" />
    </button>
    <flyout_button
     follows="left|bottom"
     height="23"
     label="Save"
     layout="topleft"
     left="10"
     name="save_btn"
     tool_tip="Save image to a file"
     top_delta="0"
     width="97">
        <flyout_button.item
         label="Save"
         name="save_item"
         value="save" />
        <flyout_button.item
         label="Save As..."
         name="saveas_item"
         value="save as" />
    </flyout_button>
</panel>