PageRenderTime 32ms CodeModel.GetById 2ms app.highlight 20ms RepoModel.GetById 1ms app.codeStats 1ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 953 lines | 914 code | 28 blank | 11 comment | 0 complexity | 5e20a06fc2e39171b50f354ddfe3651e 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 Sky Preset"
  7 help_topic="sky_preset"
  8 save_rect="true"
  9 title="Edit Sky Preset"
 10 width="840">
 11
 12    <string name="title_new">Create a New Sky Preset</string>
 13    <string name="title_edit">Edit Sky 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 sky 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="700">
 26     To edit your preset, adjust the controls then click "Save"
 27     </text>
 28    <text
 29     follows="top|left|right"
 30     font="SansSerif"
 31     height="10"
 32     layout="topleft"
 33     left="30"
 34     name="label"
 35     top_pad="25"
 36     width="120">
 37        Preset Name:
 38    </text>
 39    <combo_box
 40     allow_text_entry="true"
 41     follows="top|left"
 42     layout="topleft"
 43     left_pad="10"
 44     max_chars="100"
 45     name="sky_preset_combo"
 46     top_delta="-5"
 47     width="200"/>
 48    <line_editor
 49     height="20"
 50     left_delta="0"
 51     name="sky_preset_name"
 52     top_delta="0"
 53     width="200" />
 54    <text
 55     follows="top|left|right"
 56     height="40"
 57     layout="topleft"
 58     left_pad="10"
 59     name="note"
 60     top_delta="0"
 61     width="405"
 62     wrap="true">
 63     Note: if you change the name of your preset, you will be creating a new preset and the existing preset will not be changed.
 64    </text>
 65 <!--======== Controls panel ========-->
 66    <view_border
 67     bevel_style="none"
 68     follows="top|left"
 69     height="203"
 70     layout="topleft"
 71     left="25"
 72     name="panel_water_preset"
 73     top="122"
 74     visible="true"
 75     width="790"/>
 76    <tab_container
 77     follows="left|top"
 78     height="225"
 79     halign="center"
 80     layout="topleft"
 81     left="22"
 82     name="WindLight Tabs"
 83     tab_position="top"
 84     top="101"
 85     width="794">
 86    <panel
 87     border="true"
 88     bevel_style="none"
 89     follows="left|top|right|bottom"
 90     height="196"
 91     label="ATMOSPHERE"
 92     layout="topleft"
 93     left="1"
 94     help_topic="sky_preset_atmosphere"
 95     mouse_opaque="false"
 96     name="Atmosphere"
 97     top="60"
 98     width="698">
 99
100         <!--======== Tab Panel I. I conlumn of controls ========--> 
101
102        <text
103         type="string"
104         length="1"
105         follows="left|top"
106         font="SansSerif"
107         height="16"
108         layout="topleft"
109         left="40"
110         name="BHText"
111         top="25"
112         width="200">
113           Blue Horizon
114        </text>
115        <color_swatch
116         can_apply_immediately="true"
117         follows="left|top"
118         height="37"
119         label_height="0"
120         layout="topleft"
121         left_delta="0"
122         name="WLBlueHorizon"
123         top_pad="6"
124         width="60" />
125        <text
126         type="string"
127         length="1"
128         follows="left|top"
129         font="SansSerif"
130         height="16"
131         layout="topleft"
132         left_delta="0"
133         top_pad="20"
134         name="BDensText"
135         width="200">
136            Haze Horizon
137        </text>
138        <slider
139         control_name="WLHazeHorizon"
140         decimal_digits="2"
141         follows="left|top"
142         height="10"
143         increment="0.01"
144         initial_value="0.25"
145         layout="topleft"
146         left_delta="0"
147         top_pad="6"
148         name="WLHazeHorizon"
149         width="200" />
150
151         <!--======== Tab Panel I. II conlumn of controls ========-->
152
153        <text
154         type="string"
155         length="1"
156         follows="left|top"
157         font="SansSerif"
158         height="16"
159         layout="topleft"
160         left_pad="55"
161         name="BDensText2"
162         top="25"
163         width="200">
164            Blue Density
165        </text>
166        <color_swatch
167         can_apply_immediately="true"
168         follows="left|top"
169         height="37"
170         label_height="0"
171         layout="topleft"
172         left_delta="0"
173         name="WLBlueDensity"
174         top_pad="6"
175         width="60" />
176        <text
177         type="string"
178         length="1"
179         follows="left|top"
180         font="SansSerif"
181         height="16"
182         layout="topleft"
183         left_delta="0"
184         name="HDText"
185         top_pad="20"
186         width="200">
187            Haze Density
188        </text>
189        <slider
190         control_name="WLHazeDensity"
191         decimal_digits="2"
192         follows="left|top"
193         height="10"
194         increment="0.01"
195         initial_value="0.7"
196         layout="topleft"
197         left_delta="0"
198         max_val="4"
199         name="WLHazeDensity"
200         top_pad="6"
201         width="200" />
202
203             <!--======== Tab Panel I. III conlumn of controls ========-->
204
205        <text
206         type="string"
207         length="1"
208         follows="left|top"
209         font="SansSerif"
210         height="16"
211         layout="topleft"
212         left_pad="55"
213         name="DensMultText"
214         top="25"
215         width="200">
216           Density Multiplier
217        </text>
218            <slider
219             control_name="WLDensityMult"
220             decimal_digits="2"
221             follows="left|top"
222             height="10"
223             increment="0.01"
224             initial_value="0.1"
225             layout="topleft"
226             left_delta="15"
227             max_val="0.9"
228             name="WLDensityMult"
229             top_pad="6"
230             width="200" />
231            
232            <text
233             type="string"
234             length="1"
235             follows="left|top"
236             font="SansSerif"
237             height="16"
238             layout="topleft"
239             left_delta="-15"
240             name="WLDistanceMultText"
241             top_pad="20"
242             width="200">
243                Distance Multiplier
244            </text>
245            <slider
246             control_name="WLDistancMult"
247             decimal_digits="1"
248             follows="left|top"
249             height="10"
250             initial_value="1.0"
251             layout="topleft"
252             left_delta="15"
253             max_val="100"
254             name="WLDistanceMult"
255             top_pad="6"
256             width="200" />
257            <text
258             type="string"
259             length="1"
260             follows="left|top"
261             font="SansSerif"
262             height="16"
263             layout="topleft"
264             left_delta="-15"
265             name="MaxAltText"
266             top_pad="20"
267             width="200">
268                Max Altitude
269            </text>
270            <slider
271             control_name="WLMaxAltitude"
272             decimal_digits="0"
273             follows="left|top"
274             height="10"
275             increment="1"
276             initial_value="500"
277             layout="topleft"
278             left_delta="15"
279             max_val="4000"
280             name="WLMaxAltitude"
281             top_pad="6"
282             width="200" />
283        </panel>
284        <panel
285         border="true"
286         bevel_style="none"
287         follows="left|top|right|bottom"
288         height="196"
289         label="LIGHTING"
290         layout="topleft"
291         left_delta="0"
292         help_topic="sky_preset_lighting"
293         name="Lighting"
294         top_delta="4"
295         width="698">
296
297         <!--======== Tab Panel II. I conlumn of controls ========-->
298
299            <text
300             type="string"
301             length="1"
302             follows="left|top"
303             font="SansSerif"
304             height="16"
305             layout="topleft"
306             left="20"
307             name="SLCText"
308             top="25"
309             width="150">
310                Sun/Moon Color
311            </text>
312            <color_swatch
313             can_apply_immediately="true"
314             follows="left|top"
315             height="37"
316             label_height="0"
317             layout="topleft"
318             left_delta="10"
319             name="WLSunlight"
320             top_pad="6"
321             width="60" />
322            <text
323             type="string"
324             length="1"
325             follows="left|top"
326             font="SansSerif"
327             height="16"
328             layout="topleft"
329             left_delta="-10"
330             name="WLAmbientText"
331             top_pad="20"
332             width="150">
333                Ambient
334            </text>
335            <color_swatch
336             can_apply_immediately="true"
337             follows="left|top"
338             height="37"
339             label_height="0"
340             layout="topleft"
341             left_delta="10"
342             name="WLAmbient"
343             top_pad="6"
344             width="60" />
345
346            <!--======== Tab Panel II. II conlumn of controls ========-->
347            <text
348             type="string"
349             length="1"
350             follows="left|top"
351             font="SansSerif"
352             height="16"
353             layout="topleft"
354             left_pad="100"
355             name="SunGlowText"
356             top="25"
357             width="200">
358                Sun Glow
359            </text>
360            <slider
361             control_name="WLGlowB"
362             decimal_digits="2"
363             follows="left|top"
364             height="10"
365             increment="0.01"
366             initial_value="0.1"
367             label="Focus "
368             layout="topleft"
369             left_delta="10"
370             max_val="0.5"
371             name="WLGlowB"
372             top_pad="6"
373             width="200" />
374            <slider
375             control_name="WLGlowR"
376             decimal_digits="2"
377             follows="top|left"
378             height="10"
379             increment="0.01"
380             initial_value="0.25"
381             label="Size    "
382             layout="topleft"
383             left_delta="0"
384             max_val="1.99"
385             min_val="1"
386             name="WLGlowR"
387             top_pad="6"
388             width="200" />
389            <text
390             type="string"
391             length="1"
392             follows="left|top"
393             font="SansSerif"
394             height="16"
395             layout="topleft"
396             left_delta="-10"
397             name="WLStarText"
398             top_pad="20"
399             width="200">
400                Star Brightness
401            </text>
402            <slider
403             control_name="WLStarAlpha"
404             decimal_digits="2"
405             follows="top|left"
406             height="10"
407             increment="0.01"
408             initial_value="0"
409             layout="topleft"
410             left_delta="10"
411             max_val="2"
412             name="WLStarAlpha"
413             top_pad="6"
414             width="200" />
415            <text
416             type="string"
417             length="1"
418             follows="left|top"
419             font="SansSerif"
420             height="16"
421             layout="topleft"
422             left_delta="-10"
423             name="SceneGammaText"
424             top_pad="20"
425             width="200">
426                Scene Gamma
427            </text>
428            <slider
429             control_name="WLGamma"
430             decimal_digits="2"
431             follows="top|left"
432             height="10"
433             increment="0.01"
434             initial_value="2.0"
435             layout="topleft"
436             left_delta="10"
437             max_val="10"
438             name="WLGamma"
439             top_pad="6"
440             width="200" />
441
442            <!--======== Tab Panel II. III conlumn of controls ========-->
443
444            <text
445             type="string"
446             length="1"
447             follows="left|top"
448             font="SansSerif"
449             height="16"
450             layout="topleft"
451             left_pad="60"
452             name="TODText"
453             top="25"
454             width="200">
455                Sun/Moon Position
456            </text>
457            <multi_slider
458             can_edit_text="true"
459             control_name="WLSunPos"
460             decimal_digits="0"
461             follows="bottom"
462             height="10"
463             increment="0.0833333"
464             initial_value="0"
465             layout="topleft"
466             left_delta="0"
467             max_sliders="1"
468             max_val="24"
469             name="WLSunPos"
470             show_text="false"
471             top_pad="0"
472             width="300" />
473
474            <text
475             type="string"
476             length="1"
477             border_visible="true"
478             follows="left|top|right"
479             font="SansSerif"
480             height="14"
481             layout="topleft"
482             left_delta="2"
483             name="WL12amHash"
484             top_pad="6"
485             width="6">
486                |
487            </text>
488            <text
489             type="string"
490             length="1"
491             border_visible="true"
492             follows="left|top|right"
493             font="SansSerif"
494             height="14"
495             layout="topleft"
496             left_pad="66"
497             name="WL6amHash"
498             top_delta="0"
499             width="6">
500                |
501            </text>
502            <text
503             type="string"
504             length="1"
505             border_visible="true"
506             follows="left|top|right"
507             font="SansSerif"
508             height="14"
509             layout="topleft"
510             left_pad="67"
511             name="WL12pmHash2"
512             top_delta="0"
513             width="6">
514                |
515            </text>
516            <text
517             type="string"
518             length="1"
519             border_visible="true"
520             follows="left|top|right"
521             font="SansSerif"
522             height="14"
523             layout="topleft"
524             left_pad="67"
525             name="WL6pmHash"
526             top_delta="0"
527             width="6">
528                |
529            </text>
530            <text
531             type="string"
532             length="1"
533             border_visible="true"
534             follows="left|top|right"
535             font="SansSerif"
536             height="14"
537             layout="topleft"
538             left_pad="67"
539             name="WL12amHash2"
540             top_delta="0"
541             width="6">
542             |
543            </text>
544
545
546            <text
547             type="string"
548             length="1"
549             border_visible="true"
550             follows="left|top|right"
551             height="16"
552             layout="topleft"
553             left_delta="-300"
554             name="WL12am"
555             top="74"
556             width="55">
557             12am
558            </text>
559            <text
560             type="string"
561             length="1"
562             border_visible="true"
563             follows="left|top|right"
564             height="16"
565             layout="topleft"
566             left_pad="20"
567             name="WL6am"
568             top_delta="0"
569             width="55">
570                6am
571            </text>
572            <text
573             type="string"
574             length="1"
575             border_visible="true"
576             follows="left|top|right"
577             height="16"
578             layout="topleft"
579             left_pad="15"
580             name="WL12pmHash"
581             top_delta="0"
582             width="55">
583                12pm
584            </text>
585            <text
586             type="string"
587             length="1"
588             border_visible="true"
589             follows="left|top|right"
590             height="16"
591             layout="topleft"
592             left_pad="18"
593             name="WL6pm"
594             top_delta="0"
595             width="55">
596                6pm
597            </text>
598            <text
599             type="string"
600             length="1"
601             border_visible="true"
602             follows="left|top|right"
603             height="16"
604             layout="topleft"
605             left_pad="15"
606             name="WL12am2"
607             top_delta="0"
608             width="55">
609                12am
610            </text>
611
612            <time
613             follows="left|top"
614             height="16"
615             label_width="0"
616             layout="topleft"
617             left_delta="-175"
618             name="WLDayTime"
619             top_pad="15"
620             value="6:00 AM"
621             width="75"/> 
622
623            <text
624             type="string"
625             length="1"
626             follows="left|top"
627             font="SansSerif"
628             height="16"
629             layout="topleft"
630             left_delta="-106"
631             name="WLEastAngleText"
632             top_pad="24"
633             width="200">
634                East Angle
635            </text>
636            <slider
637             control_name="WLEastAngle"
638             decimal_digits="2"
639             follows="left|top"
640             height="10"
641             increment="0.01"
642             initial_value="0.0"
643             layout="topleft"
644             left_delta="10"
645             name="WLEastAngle"
646             top_pad="6"
647             width="200" />
648
649        </panel>
650        <panel
651         border="true"
652         bevel_style="none"
653         follows="left|top|right|bottom"
654         height="196"
655         label="CLOUDS"
656         layout="topleft"
657         left_delta="0"
658         mouse_opaque="false"
659         help_topic="sky_preset_clouds"
660         name="Clouds"
661         top_delta="4"
662         width="698">
663
664            <!--======== Tab Panel III. I conlumn of controls ========-->
665
666            <text
667             type="string"
668             length="1"
669             follows="left|top"
670             font="SansSerif"
671             height="16"
672             layout="topleft"
673             left="40"
674             name="WLCloudColorText"
675             top="25"
676             width="200">
677                Cloud Color
678            </text>
679            <color_swatch
680             can_apply_immediately="true"
681             follows="left|top"
682             height="37"
683             label_height="0"
684             layout="topleft"
685             left_delta="0"
686             name="WLCloudColor"
687             top_pad="6"
688             width="60" />
689            <text
690             type="string"
691             length="1"
692             follows="left|top"
693             font="SansSerif"
694             height="16"
695             layout="topleft"
696             left_delta="0"
697             name="WLCloudColorText2"
698             top_pad="20"
699             width="200">
700                Cloud XY/Density
701            </text>
702            <slider
703             control_name="WLCloudX"
704             decimal_digits="2"
705             follows="left|top"
706             height="10"
707             increment="0.01"
708             initial_value="0.5"
709             label="X"
710             layout="topleft"
711             left_delta="0"
712             top_pad="6"
713             name="WLCloudX"
714             width="200" />
715            <slider
716             control_name="WLCloudY"
717             decimal_digits="2"
718             follows="left|top"
719             height="10"
720             increment="0.01"
721             initial_value="0.5"
722             label="Y"
723             layout="topleft"
724             left_delta="0"
725             top_pad="6"
726             name="WLCloudY"
727             width="200" />
728            <slider
729             control_name="WLCloudDensity"
730             decimal_digits="2"
731             follows="left|top"
732             height="10"
733             increment="0.01"
734             initial_value="1.0"
735             label="D"
736             layout="topleft"
737             left_delta="0"
738             name="WLCloudDensity"
739             top_pad="6"
740             width="200" />
741            
742            <!--======== Tab Panel III. II conlumn of controls ========-->
743            
744            <text
745             type="string"
746             length="1"
747             follows="left|top"
748             font="SansSerif"
749             height="16"
750             layout="topleft"
751             left_pad="55"
752             name="WLCloudCoverageText"
753             top="15"
754             width="200">
755                Cloud Coverage
756            </text>
757            <slider
758             control_name="WLCloudCoverage"
759             decimal_digits="2"
760             follows="left|top"
761             height="10"
762             increment="0.01"
763             initial_value="0.5"
764             layout="topleft"
765             left_delta="15"
766             name="WLCloudCoverage"
767             top_pad="6"
768             width="200" />
769            <text
770             type="string"
771             length="1"
772             follows="left|top"
773             font="SansSerif"
774             height="16"
775             layout="topleft"
776             left_delta="-15"
777             name="WLCloudScaleText"
778             top_pad="20"
779             width="200">
780                Cloud Scale
781            </text>
782            <slider
783             control_name="WLCloudScale"
784             decimal_digits="2"
785             follows="left|top"
786             height="10"
787             increment="0.01"
788             initial_value="1.0"
789             layout="topleft"
790             left_delta="15"
791             min_val="0.01"
792             name="WLCloudScale"
793             top_pad="6"
794             width="200" />
795            
796            <text
797             type="string"
798             length="1"
799             follows="left|top"
800             font="SansSerif"
801             height="16"
802             layout="topleft"
803             left_delta="-13"
804             name="WLCloudDetailText"
805             top_pad="20"
806             width="200">
807                Cloud Detail (XY/Density)
808            </text>
809            <slider
810             control_name="WLCloudDetailX"
811             decimal_digits="2"
812             follows="left|top"
813             height="10"
814             increment="0.01"
815             initial_value="0.5"
816             label="X"
817             layout="topleft"
818             left_delta="0"
819             top_pad="6"
820             name="WLCloudDetailX"
821             width="200" />
822            <slider
823             control_name="WLCloudDetailY"
824             decimal_digits="2"
825             follows="left|top"
826             height="10"
827             increment="0.01"
828             initial_value="0.5"
829             label="Y"
830             layout="topleft"
831             left_delta="0"
832             name="WLCloudDetailY"
833             top_pad="6"
834             width="200" />
835            <slider
836             control_name="WLCloudDetailDensity"
837             decimal_digits="2"
838             follows="left|top"
839             height="10"
840             increment="0.01"
841             initial_value="1.0"
842             label="D"
843             layout="topleft"
844             left_delta="0"
845             name="WLCloudDetailDensity"
846             top_pad="6"
847             width="200" />
848            
849            <!--======== Tab Panel III. III conlumn of controls ========-->
850            
851            <text
852             type="string"
853             length="1"
854             follows="left|top"
855             font="SansSerif"
856             height="16"
857             layout="topleft"
858             left_pad="55"
859             name="WLCloudScrollXText"
860             top="15"
861             width="150">
862                Cloud Scroll X
863            </text>
864            <check_box
865             control_name="WLCloudLockX"
866             follows="left|top"
867             height="16"
868             label="Lock"
869             layout="topleft"
870             left_delta="150"
871             name="WLCloudLockX"
872             top_delta="0"
873             width="200" />
874            <slider
875             control_name="WLCloudScrollX"
876             decimal_digits="2"
877             follows="left|top"
878             height="10"
879             increment="0.01"
880             initial_value="0.5"
881             layout="topleft"
882             left_delta="-135"
883             max_val="10"
884             min_val="-10"
885             name="WLCloudScrollX"
886             top_pad="6"
887             width="200" />
888            <text
889             type="string"
890             length="1"
891             follows="left|top"
892             font="SansSerif"
893             height="16"
894             layout="topleft"
895             left_delta="-15"
896             name="WLCloudScrollYText"
897             top_pad="20"
898             width="150">
899                Cloud Scroll Y
900            </text>
901            <check_box
902             control_name="WLCloudLockY"
903             follows="left|top"
904             height="16"
905             label="Lock"
906             layout="topleft"
907             left_delta="150"
908             name="WLCloudLockY"
909             width="200" />
910            <slider
911             control_name="WLCloudScrollY"
912             decimal_digits="2"
913             follows="left|top"
914             height="10"
915             increment="0.01"
916             initial_value="0.5"
917             layout="topleft"
918             left_delta="-135"
919             max_val="10"
920             min_val="-10"
921             name="WLCloudScrollY"
922             top_pad="6"
923             width="200" />
924        </panel>
925    </tab_container>
926<!--======== End of Controls panel ========-->
927
928    <check_box
929     follows="top|left"
930     height="10"
931     label="Make this preset my new sky setting"
932     layout="topleft"
933     left="380"
934     name="make_default_cb"
935     top_pad="30"
936     width="280"/>
937    <button
938     follows="bottom|right"
939     height="23"
940     label="Save"
941     layout="topleft"
942     left_pad="0"
943     name="save"
944     width="70"/>
945    <button
946     follows="bottom|right"
947     height="23"
948     label="Cancel"
949     layout="topleft"
950     left_pad="15"
951     name="cancel"
952     width="70"/>
953 </floater>