<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
 height="380"
 layout="topleft"
 name="panel_snapshot_inventory"
 width="490">
    <icon
     follows="top|left"
     height="18"
     image_name="Snapshot_Inventory"
     layout="topleft"
     left="12"
     mouse_opaque="true"
     name="title_icon"
     top="5"
     width="18" />
    <text
     follows="top|left|right"
     font="SansSerifBold"
     height="20"
     layout="topleft"
     left_pad="12"
     length="1"
     name="title"
     right="-10"
     text_color="white"
     type="string"
     top_delta="5">
        Save to My Inventory
    </text>
    <view_border 
     bevel_style="in"
     follows="left|top|right" 
     height="1"
     left="10"
     layout="topleft"
     name="hr"
     right="-10"
     top_pad="5"
     />
    <text
     bottom="35"
     follows="top|left|right"
     font="SansSerif"
     height="56"
     layout="topleft"
     left="12"
     length="1"
     name="hint_lbl"
     top_pad="10"
     type="string"
     word_wrap="true">
        Saving an image to your inventory costs L$[UPLOAD_COST]. To save your image as a texture select one of the square formats.
    </text>
    <combo_box
     follows="top|left|right"
     height="23"
     label="Resolution"
     layout="topleft"
     left_delta="0"
     name="texture_size_combo"
     right="-10"
     top_pad="10">
        <combo_box.item
         label="Current Window"
         name="CurrentWindow"
         value="[i0,i0]" />
        <combo_box.item
         label="Small (128x128)"
         name="Small(128x128)"
         value="[i128,i128]" />
        <combo_box.item
         label="Medium (256x256)"
         name="Medium(256x256)"
         value="[i256,i256]" />
        <combo_box.item
         label="Large (512x512)"
         name="Large(512x512)"
         value="[i512,i512]" />
        <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"
     label_width="40"
     layout="topleft"
     left="10"
     max_val="6016"
     min_val="32"
     name="inventory_snapshot_width"
     top_pad="10"
     width="95" />
    <spinner
     allow_text_entry="false"
     decimal_digits="0"
     follows="left|top"
     height="20"
     increment="32"
     label="Height"
     label_width="40"
     layout="topleft"
     left_pad="5"
     max_val="6016"
     min_val="32"
     name="inventory_snapshot_height"
     top_delta="0"
     width="95" />
    <check_box
     bottom_delta="20"
     height="10"
     follows="left|top"
     label="Constrain proportions"
     layout="topleft"
     left="10"
     name="inventory_keep_aspect_check"
     visible="false" />
    <button
     follows="right|bottom"
     height="23"
     label="Cancel"
     layout="topleft"
     name="cancel_btn"
     right="-32"
     top="350"
     width="100">
      <button.commit_callback
       function="Inventory.Cancel" />
    </button>
    <button
     follows="right|bottom"
     height="23"
     label="Save"
     layout="topleft"
     left_delta="-106"
     name="save_btn"
     top_delta="0"
     width="100">
      <button.commit_callback
       function="Inventory.Save" />
    </button>
</panel>