summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/panel_snapshot_local.xml
blob: ae0215a5786f273df48043c76004cee6aa89db40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<?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="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="4">
        Save to My Computer
    </text>
    <view_border 
     bevel_style="in"
     follows="left|top|right" 
     height="1"
     left="10"
     layout="topleft"
     name="hr"
     right="-10"
     top_pad="5"
     />
    <combo_box
     follows="left|top|right"
     height="23"
     label="Resolution"
     layout="topleft"
     left_delta="0"
     name="local_size_combo"
     right="-10"
     top_pad="10">
        <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="Custom"
         name="Custom"
         value="[i-1,i-1]" />
    </combo_box>
    <layout_stack
     animate="false"
     follows="all"
     height="275"
     layout="bottomleft"
     name="local_image_params_ls"
     left_delta="0"
     orientation="vertical"
     top_pad="10"
     right="-10">
        <layout_panel
         follows="top|left|right"
         height="60"
         layout="topleft"
         left="0"
         name="local_image_size_lp"
         user_resize="false" 
         auto_resize="false"
         top="0"
         right="-1"
         visible="true">
            <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="local_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="local_snapshot_height"
             top_delta="0"
             width="95" />
            <check_box
             bottom_delta="20"
             follows="left|top"
             label="Constrain proportions"
             layout="topleft"
             left="10"
             name="local_keep_aspect_check" />
        </layout_panel>
        <layout_panel
         follows="top|left|right"
         height="23"
         layout="topleft"
         left="0"
         name="local_image_format_quality_lp"
         user_resize="false" 
         auto_resize="true"
         top="0"
         right="-1"
         visible="true">
            <combo_box
             follows="left|top"
             height="23"
             label="Format"
             layout="topleft"
             left_delta="0"
             name="local_format_combo"
             top_pad="0"
             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="Image quality"
             label_width="80"
             layout="topleft"
             left="10"
             max_val="100"
             name="image_quality_slider"
             top_pad="7"
             width="200" />
            <text
             type="string"
             follows="left|top"
             font="SansSerifSmall"
             length="1"
             height="14"
             layout="topleft"
             left_pad="-5"
             halign="left"
             name="image_quality_level"
             top_delta="0"
             width="60">
               ([QLVL])
            </text>
        </layout_panel>
    </layout_stack>
    <button
     follows="right|bottom"
     height="23"
     label="Cancel"
     layout="topleft"
     name="cancel_btn"
     right="-32"
     top="350"
     width="100">
      <button.commit_callback
       function="Local.Cancel" />
    </button>
    <flyout_button
     follows="right|bottom"
     height="23"
     label="Save"
     layout="topleft"
     left_delta="-106"
     name="save_btn"
     tool_tip="Save image to a file"
     top_delta="0"
     width="100">
        <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>