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