PageRenderTime 10ms CodeModel.GetById 2ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/newview/skins/default/xui/en/panel_snapshot_local.xml

https://bitbucket.org/lindenlab/viewer-beta/
XML | 234 lines | 234 code | 0 blank | 0 comment | 0 complexity | 344d642648e0d33fb7615379a9bc7646 MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<panel
  3 height="380"
  4 layout="topleft"
  5 name="panel_snapshot_local"
  6 width="490">
  7    <icon
  8     follows="top|left"
  9     height="18"
 10     image_name="Snapshot_Download"
 11     layout="topleft"
 12     left="12"
 13     mouse_opaque="true"
 14     name="title_icon"
 15     top="5"
 16     width="18" />
 17    <text
 18     follows="top|left|right"
 19     font="SansSerifBold"
 20     height="20"
 21     layout="topleft"
 22     left_pad="12"
 23     length="1"
 24     name="title"
 25     right="-10"
 26     text_color="white"
 27     type="string"
 28     top_delta="4">
 29        Save to My Computer
 30    </text>
 31    <view_border 
 32     bevel_style="in"
 33     follows="left|top|right" 
 34     height="1"
 35     left="10"
 36     layout="topleft"
 37     name="hr"
 38     right="-10"
 39     top_pad="5"
 40     />
 41    <combo_box
 42     follows="left|top|right"
 43     height="23"
 44     label="Resolution"
 45     layout="topleft"
 46     left_delta="0"
 47     name="local_size_combo"
 48     right="-10"
 49     top_pad="10">
 50        <combo_box.item
 51         label="Current Window"
 52         name="CurrentWindow"
 53         value="[i0,i0]" />
 54        <combo_box.item
 55         label="320x240"
 56         name="320x240"
 57         value="[i320,i240]" />
 58        <combo_box.item
 59         label="640x480"
 60         name="640x480"
 61         value="[i640,i480]" />
 62        <combo_box.item
 63         label="800x600"
 64         name="800x600"
 65         value="[i800,i600]" />
 66        <combo_box.item
 67         label="1024x768"
 68         name="1024x768"
 69         value="[i1024,i768]" />
 70        <combo_box.item
 71         label="1280x1024"
 72         name="1280x1024"
 73         value="[i1280,i1024]" />
 74        <combo_box.item
 75         label="1600x1200"
 76         name="1600x1200"
 77         value="[i1600,i1200]" />
 78        <combo_box.item
 79         label="Custom"
 80         name="Custom"
 81         value="[i-1,i-1]" />
 82    </combo_box>
 83    <layout_stack
 84     animate="false"
 85     follows="all"
 86     height="275"
 87     layout="bottomleft"
 88     name="local_image_params_ls"
 89     left_delta="0"
 90     orientation="vertical"
 91     top_pad="10"
 92     right="-10">
 93        <layout_panel
 94         follows="top|left|right"
 95         height="60"
 96         layout="topleft"
 97         left="0"
 98         name="local_image_size_lp"
 99         auto_resize="false"
100         top="0"
101         right="-1"
102         visible="true">
103            <spinner
104             allow_text_entry="false"
105             decimal_digits="0"
106             follows="left|top"
107             height="20"
108             increment="32"
109             label="Width"
110             label_width="40"
111             layout="topleft"
112             left="10"
113             max_val="6016"
114             min_val="32"
115             name="local_snapshot_width"
116             top_pad="10"
117             width="95" />
118            <spinner
119             allow_text_entry="false"
120             decimal_digits="0"
121             follows="left|top"
122             height="20"
123             increment="32"
124             label="Height"
125             label_width="40"
126             layout="topleft"
127             left_pad="5"
128             max_val="6016"
129             min_val="32"
130             name="local_snapshot_height"
131             top_delta="0"
132             width="95" />
133            <check_box
134             bottom_delta="20"
135             follows="left|top"
136             label="Constrain proportions"
137             layout="topleft"
138             left="10"
139             name="local_keep_aspect_check" />
140        </layout_panel>
141        <layout_panel
142         follows="top|left|right"
143         height="23"
144         layout="topleft"
145         left="0"
146         name="local_image_format_quality_lp"
147         auto_resize="true"
148         top="0"
149         right="-1"
150         visible="true">
151            <combo_box
152             follows="left|top"
153             height="23"
154             label="Format"
155             layout="topleft"
156             left_delta="0"
157             name="local_format_combo"
158             top_pad="0"
159             width="120">
160                <combo_box.item
161                 label="PNG (Lossless)"
162                 name="PNG"
163                 value="PNG" />
164                <combo_box.item
165                 label="JPEG"
166                 name="JPEG"
167                 value="JPEG" />
168                <combo_box.item
169                 label="BMP (Lossless)"
170                 name="BMP"
171                 value="BMP" />
172            </combo_box>
173            <slider
174             decimal_digits="0"
175             follows="left|top"
176             height="15"
177             increment="1"
178             initial_value="75"
179             label="Image quality"
180             label_width="80"
181             layout="topleft"
182             left="10"
183             max_val="100"
184             name="image_quality_slider"
185             top_pad="7"
186             width="200" />
187            <text
188             type="string"
189             follows="left|top"
190             font="SansSerifSmall"
191             length="1"
192             height="14"
193             layout="topleft"
194             left_pad="-5"
195             halign="left"
196             name="image_quality_level"
197             top_delta="0"
198             width="60">
199               ([QLVL])
200            </text>
201        </layout_panel>
202    </layout_stack>
203    <button
204     follows="right|bottom"
205     height="23"
206     label="Cancel"
207     layout="topleft"
208     name="cancel_btn"
209     right="-32"
210     top="350"
211     width="100">
212      <button.commit_callback
213       function="Local.Cancel" />
214    </button>
215    <flyout_button
216     follows="right|bottom"
217     height="23"
218     label="Save"
219     layout="topleft"
220     left_delta="-106"
221     name="save_btn"
222     tool_tip="Save image to a file"
223     top_delta="0"
224     width="100">
225        <flyout_button.item
226         label="Save"
227         name="save_item"
228         value="save" />
229        <flyout_button.item
230         label="Save As..."
231         name="saveas_item"
232         value="save as" />
233    </flyout_button>
234</panel>