PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 448 lines | 416 code | 27 blank | 5 comment | 0 complexity | 1fda11214fb3b8a696d99671df84e48e MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<floater
  3 legacy_header_height="18"
  4 height="375"
  5 layout="topleft"
  6 name="Edit Water Preset"
  7 help_topic="water_preset"
  8 save_rect="true"
  9 title="Edit Water Preset"
 10 width="725">
 11
 12  <string name="title_new">Create a New Water Preset</string>
 13  <string name="title_edit">Edit a Water Preset</string>
 14  <string name="hint_new">Name your preset, adjust the controls to create it, and click "Save".</string>
 15  <string name="hint_edit">To edit your water preset, adjust the controls and click "Save".</string>
 16  <string name="combo_label">-Select a preset-</string>
 17
 18  <text
 19   follows="top|left|right"
 20   height="10"
 21   layout="topleft"
 22   left="30"
 23   name="hint"
 24   top="25"
 25   width="680">
 26   	To edit your preset, adjust the controls then click "Save"
 27   </text>
 28   
 29   <text
 30   follows="top|left|right"
 31   font="SansSerif"
 32   height="10"
 33   layout="topleft"
 34   left="30"
 35   name="label"
 36   top_pad="25"
 37   width="120">
 38   	Preset Name:
 39   </text>
 40   
 41   <combo_box
 42   	allow_text_entry="true"
 43   	follows="top|left"
 44   	layout="topleft"
 45   	left_pad="10"
 46   	max_chars="100"
 47   	name="water_preset_combo"
 48   	top_delta="-5"
 49   	width="200"/>
 50
 51   <line_editor
 52    height="20"
 53    left_delta="0"
 54    name="water_preset_name"
 55    top_delta="0"
 56    width="200" />
 57   
 58   <text
 59   follows="top|left|right"
 60   height="40"
 61   layout="topleft"
 62   left_pad="10"
 63   name="note"
 64   top_delta="0"
 65   width="340"
 66   wrap="true">
 67   	Note: if you change the name of your preset, you will be creating a new preset and the existing preset will not be changed.
 68   </text>
 69 
 70 <!--======== Controls panel ========-->
 71 <panel
 72  border="false"
 73  bevel_style="none"
 74  follows="top|left"
 75  height="230"
 76  layout="topleft"
 77  left="10"
 78  name="panel_water_preset"
 79  top="100"
 80  width="700">
 81 
 82<!--======== I conlumn of controls ========-->   
 83   <text
 84    follows="left|top|right"
 85    height="10"
 86    font="SansSerif"
 87    layout="topleft"
 88    left="10"    
 89    name="water_color_label"
 90    top="5"
 91    width="215">
 92       Water Fog Color
 93   </text>
 94   <color_swatch
 95    can_apply_immediately="true"
 96    follows="left|top"
 97    height="37"
 98    label_height="0"
 99    layout="topleft"
100    left_delta="15"
101    name="WaterFogColor"
102    top_pad="8"
103    width="60" />
104    
105    
106   <text
107    follows="left|top|right"
108    font="SansSerif"
109    layout="topleft"
110    left_delta="-15"
111    top_pad="10"
112    name="water_fog_density_label"
113    width="215">
114    	Fog Density Exponent
115   </text>
116   <slider
117    decimal_digits="1"
118    follows="left|top"
119    height="10"
120    initial_value="0"
121    layout="topleft"
122    left_delta="15"
123    max_val="10"
124    name="WaterFogDensity"
125    top_pad="10"
126    width="200"/>
127    
128    
129   <text
130    follows="left|top|right"
131    font="SansSerif"
132    layout="topleft"
133    left_delta="-15"
134    top_pad="15"
135    name="underwater_fog_modifier_label"
136    width="215">
137    	Underwater Fog Modifier
138   </text>
139   <slider
140    decimal_digits="1"
141    follows="left|top"
142    height="10"
143    initial_value="0"
144    layout="topleft"
145    left_delta="15"
146    max_val="10"
147    name="WaterUnderWaterFogMod"
148    top_pad="10"
149    width="200"/>
150    
151    
152    <text
153     follows="left|top|right"
154     font="SansSerif"
155     layout="topleft"
156     left_delta="-15"
157     name="BHText"
158     top_pad="15"
159     width="215">
160        Big Wave Direction
161    </text>    
162    <slider
163     control_name="WaterWave1DirX"
164     decimal_digits="2"
165     follows="left|top"
166     increment="0.01"
167     initial_value="0.7"
168     label="X"
169     layout="topleft"             
170     max_val="4"
171     min_val="-4"
172     name="WaterWave1DirX"
173     top_pad="10"
174     width="216"/>    
175    <slider
176     control_name="WaterWave1DirY"
177     decimal_digits="2"
178     follows="left|top"
179     increment="0.01"
180     initial_value="0.7"
181     label="Y"
182     layout="topleft"
183     max_val="4"
184     min_val="-4"
185     name="WaterWave1DirY"
186     top_pad="5"
187     width="216"/>
188    
189<!--======== II conlumn of controls ========-->    
190    
191    <text
192     follows="left|top|right"
193     font="SansSerif"
194     height="10"
195     layout="topleft"
196     left_pad="20"
197     name="BDensText"
198     top="5"
199     width="215">
200        Reflection Wavelet Scale
201    </text>
202    <slider
203     control_name="WaterNormalScaleX"
204     decimal_digits="1"
205     follows="left|top"
206     initial_value="0.7"
207     layout="topleft"
208     left_delta="15"
209     max_val="10"
210     name="WaterNormalScaleX"
211     top_pad="10"
212     width="200"/>
213    <slider
214     control_name="WaterNormalScaleY"
215     decimal_digits="1"
216     follows="left|top"
217     initial_value="0.7"
218     layout="topleft"
219     max_val="10"
220     name="WaterNormalScaleY"
221     top_pad="6"
222     width="200"/>
223    <slider
224     control_name="WaterNormalScaleZ"
225     decimal_digits="1"
226     follows="left|top"
227     initial_value="0.7"
228     layout="topleft"
229     max_val="10"
230     name="WaterNormalScaleZ"
231     top_pad="6"
232     width="200"/>
233    
234    
235    <text
236     follows="left|top|right"
237     font="SansSerif"
238     layout="topleft"
239     left_delta="-15"
240     name="HDText"
241     top_pad="16"
242     width="215">
243        Fresnel Scale
244    </text>
245    <slider
246     control_name="WaterFresnelScale"
247     decimal_digits="2"
248     follows="left|top"
249     height="10"
250     increment="0.01"
251     initial_value="0.7"
252     layout="topleft"
253     left_delta="15"
254     name="WaterFresnelScale"
255     top_pad="10"
256     width="200"/>
257    <text
258     follows="left|top|right"
259     font="SansSerif"
260     layout="topleft"
261     left_delta="-15"
262     name="FresnelOffsetText"
263     top_pad="15"
264     width="215">
265        Fresnel Offset
266    </text>
267    <slider
268     control_name="WaterFresnelOffset"
269     decimal_digits="2"
270     follows="left"
271     increment="0.01"
272     initial_value="0.7"
273     layout="topleft"
274     left_delta="15"
275     name="WaterFresnelOffset"
276     top_pad="10"
277     width="200"/>
278     
279     
280     <text
281      follows="left|top|right"
282      font="SansSerif"
283      layout="topleft"
284      left_delta="-15"
285      name="BHText2"
286      top_pad="15"
287      width="215">
288         Little Wave Direction
289     </text>
290     <slider
291      control_name="WaterWave2DirX"
292      decimal_digits="2"
293      follows="left|top"
294      increment="0.01"
295      initial_value="0.7"
296      label="X"
297      layout="topleft"
298      max_val="4"
299      min_val="-4"
300      name="WaterWave2DirX"
301      top_pad="10"
302      width="216" />
303     <slider
304      control_name="WaterWave2DirY"
305      decimal_digits="2"
306      follows="left|top"
307      increment="0.01"
308      initial_value="0.7"
309      label="Y"
310      layout="topleft"
311      max_val="4"
312      min_val="-4"
313      name="WaterWave2DirY"
314      top_pad="6"
315      width="216" />
316
317<!--======== III conlumn of contorls ========-->
318
319	 <text
320      follows="left|top|right"
321      font="SansSerif"
322      height="16"
323      layout="topleft"
324      left_pad="20"
325      name="DensMultText"
326      top="5"
327      width="215">
328         Refract Scale Above
329     </text>
330     <slider
331      control_name="WaterScaleAbove"
332      decimal_digits="2"
333      follows="left|top"
334      increment="0.01"
335      initial_value="0.1"
336      layout="topleft"
337      left_delta="15"
338      name="WaterScaleAbove"
339      top_pad="5"
340      width="200" />
341     
342     <text
343      type="string"
344      length="1"
345      follows="left|top|right"
346      font="SansSerif"
347      height="16"
348      layout="topleft"
349      left_delta="-15"
350      name="WaterScaleBelowText"
351      top_pad="15"
352      width="215">
353         Refract Scale Below
354     </text>
355     <slider
356      control_name="WaterScaleBelow"
357      decimal_digits="2"
358      follows="left|top"
359      height="10"
360      increment="0.01"
361      initial_value="0"
362      layout="topleft"
363      left_delta="15"
364      name="WaterScaleBelow"
365      top_pad="5"
366      width="200"/>
367     
368     <text
369      follows="left|top|right"
370      font="SansSerif"
371      height="16"
372      layout="topleft"
373      left_delta="-15"
374      name="MaxAltText"
375      top_pad="15"
376      width="215">
377         Blur Multiplier
378     </text>
379     <slider
380      control_name="WaterBlurMult"
381      follows="left|top"
382      height="10"
383      increment="0.001"
384      initial_value="0"
385      layout="topleft"
386      left_delta="15"
387      max_val="0.16"
388      name="WaterBlurMult"
389      top_pad="5"
390      width="200"/>
391      
392      <text
393       follows="left|top|right"
394       font="SansSerif"
395       height="16"
396       layout="topleft"
397       left_delta="-15"
398       name="BHText3"
399       top_pad="15"
400       width="215">
401          Normal Map
402      </text>
403      <texture_picker
404       height="80"
405       layout="topleft"
406       left_delta="15"
407       name="WaterNormalMap"
408       top_pad="5"
409       width="100" />
410	</panel>
411<!--======== End of Controls panel ========-->	
412
413    <view_border
414     bevel_style="none"
415     follows="top|left"
416     height="0"
417     layout="topleft"
418     left="10"
419     name="horiz_separator"
420     top_pad="5"
421     width="700"/>
422	<check_box
423	 follows="top|left"
424	 height="10"
425	 label="Make this preset my new water setting"
426	 layout="topleft"
427	 left="275"
428	 name="make_default_cb"
429	 top_pad="20"
430	 width="280"/>
431	<button
432	 follows="bottom|right"
433	 height="23"
434	 label="Save"
435	 layout="topleft"
436	 left_pad="0"
437	 name="save"
438	 width="70"/>	 
439	<button
440	 follows="bottom|right"
441	 height="23"
442	 label="Cancel"
443	 layout="topleft"
444	 left_pad="15"
445	 name="cancel"
446	 width="70"/>
447	
448 </floater>