PageRenderTime 39ms CodeModel.GetById 15ms 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
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 Water Preset"
  7. help_topic="water_preset"
  8. save_rect="true"
  9. title="Edit Water Preset"
  10. width="725">
  11. <string name="title_new">Create a New Water Preset</string>
  12. <string name="title_edit">Edit a Water 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 water 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="680">
  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="water_preset_combo"
  44. top_delta="-5"
  45. width="200"/>
  46. <line_editor
  47. height="20"
  48. left_delta="0"
  49. name="water_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="340"
  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. <panel
  65. border="false"
  66. bevel_style="none"
  67. follows="top|left"
  68. height="230"
  69. layout="topleft"
  70. left="10"
  71. name="panel_water_preset"
  72. top="100"
  73. width="700">
  74. <!--======== I conlumn of controls ========-->
  75. <text
  76. follows="left|top|right"
  77. height="10"
  78. font="SansSerif"
  79. layout="topleft"
  80. left="10"
  81. name="water_color_label"
  82. top="5"
  83. width="215">
  84. Water Fog Color
  85. </text>
  86. <color_swatch
  87. can_apply_immediately="true"
  88. follows="left|top"
  89. height="37"
  90. label_height="0"
  91. layout="topleft"
  92. left_delta="15"
  93. name="WaterFogColor"
  94. top_pad="8"
  95. width="60" />
  96. <text
  97. follows="left|top|right"
  98. font="SansSerif"
  99. layout="topleft"
  100. left_delta="-15"
  101. top_pad="10"
  102. name="water_fog_density_label"
  103. width="215">
  104. Fog Density Exponent
  105. </text>
  106. <slider
  107. decimal_digits="1"
  108. follows="left|top"
  109. height="10"
  110. initial_value="0"
  111. layout="topleft"
  112. left_delta="15"
  113. max_val="10"
  114. name="WaterFogDensity"
  115. top_pad="10"
  116. width="200"/>
  117. <text
  118. follows="left|top|right"
  119. font="SansSerif"
  120. layout="topleft"
  121. left_delta="-15"
  122. top_pad="15"
  123. name="underwater_fog_modifier_label"
  124. width="215">
  125. Underwater Fog Modifier
  126. </text>
  127. <slider
  128. decimal_digits="1"
  129. follows="left|top"
  130. height="10"
  131. initial_value="0"
  132. layout="topleft"
  133. left_delta="15"
  134. max_val="10"
  135. name="WaterUnderWaterFogMod"
  136. top_pad="10"
  137. width="200"/>
  138. <text
  139. follows="left|top|right"
  140. font="SansSerif"
  141. layout="topleft"
  142. left_delta="-15"
  143. name="BHText"
  144. top_pad="15"
  145. width="215">
  146. Big Wave Direction
  147. </text>
  148. <slider
  149. control_name="WaterWave1DirX"
  150. decimal_digits="2"
  151. follows="left|top"
  152. increment="0.01"
  153. initial_value="0.7"
  154. label="X"
  155. layout="topleft"
  156. max_val="4"
  157. min_val="-4"
  158. name="WaterWave1DirX"
  159. top_pad="10"
  160. width="216"/>
  161. <slider
  162. control_name="WaterWave1DirY"
  163. decimal_digits="2"
  164. follows="left|top"
  165. increment="0.01"
  166. initial_value="0.7"
  167. label="Y"
  168. layout="topleft"
  169. max_val="4"
  170. min_val="-4"
  171. name="WaterWave1DirY"
  172. top_pad="5"
  173. width="216"/>
  174. <!--======== II conlumn of controls ========-->
  175. <text
  176. follows="left|top|right"
  177. font="SansSerif"
  178. height="10"
  179. layout="topleft"
  180. left_pad="20"
  181. name="BDensText"
  182. top="5"
  183. width="215">
  184. Reflection Wavelet Scale
  185. </text>
  186. <slider
  187. control_name="WaterNormalScaleX"
  188. decimal_digits="1"
  189. follows="left|top"
  190. initial_value="0.7"
  191. layout="topleft"
  192. left_delta="15"
  193. max_val="10"
  194. name="WaterNormalScaleX"
  195. top_pad="10"
  196. width="200"/>
  197. <slider
  198. control_name="WaterNormalScaleY"
  199. decimal_digits="1"
  200. follows="left|top"
  201. initial_value="0.7"
  202. layout="topleft"
  203. max_val="10"
  204. name="WaterNormalScaleY"
  205. top_pad="6"
  206. width="200"/>
  207. <slider
  208. control_name="WaterNormalScaleZ"
  209. decimal_digits="1"
  210. follows="left|top"
  211. initial_value="0.7"
  212. layout="topleft"
  213. max_val="10"
  214. name="WaterNormalScaleZ"
  215. top_pad="6"
  216. width="200"/>
  217. <text
  218. follows="left|top|right"
  219. font="SansSerif"
  220. layout="topleft"
  221. left_delta="-15"
  222. name="HDText"
  223. top_pad="16"
  224. width="215">
  225. Fresnel Scale
  226. </text>
  227. <slider
  228. control_name="WaterFresnelScale"
  229. decimal_digits="2"
  230. follows="left|top"
  231. height="10"
  232. increment="0.01"
  233. initial_value="0.7"
  234. layout="topleft"
  235. left_delta="15"
  236. name="WaterFresnelScale"
  237. top_pad="10"
  238. width="200"/>
  239. <text
  240. follows="left|top|right"
  241. font="SansSerif"
  242. layout="topleft"
  243. left_delta="-15"
  244. name="FresnelOffsetText"
  245. top_pad="15"
  246. width="215">
  247. Fresnel Offset
  248. </text>
  249. <slider
  250. control_name="WaterFresnelOffset"
  251. decimal_digits="2"
  252. follows="left"
  253. increment="0.01"
  254. initial_value="0.7"
  255. layout="topleft"
  256. left_delta="15"
  257. name="WaterFresnelOffset"
  258. top_pad="10"
  259. width="200"/>
  260. <text
  261. follows="left|top|right"
  262. font="SansSerif"
  263. layout="topleft"
  264. left_delta="-15"
  265. name="BHText2"
  266. top_pad="15"
  267. width="215">
  268. Little Wave Direction
  269. </text>
  270. <slider
  271. control_name="WaterWave2DirX"
  272. decimal_digits="2"
  273. follows="left|top"
  274. increment="0.01"
  275. initial_value="0.7"
  276. label="X"
  277. layout="topleft"
  278. max_val="4"
  279. min_val="-4"
  280. name="WaterWave2DirX"
  281. top_pad="10"
  282. width="216" />
  283. <slider
  284. control_name="WaterWave2DirY"
  285. decimal_digits="2"
  286. follows="left|top"
  287. increment="0.01"
  288. initial_value="0.7"
  289. label="Y"
  290. layout="topleft"
  291. max_val="4"
  292. min_val="-4"
  293. name="WaterWave2DirY"
  294. top_pad="6"
  295. width="216" />
  296. <!--======== III conlumn of contorls ========-->
  297. <text
  298. follows="left|top|right"
  299. font="SansSerif"
  300. height="16"
  301. layout="topleft"
  302. left_pad="20"
  303. name="DensMultText"
  304. top="5"
  305. width="215">
  306. Refract Scale Above
  307. </text>
  308. <slider
  309. control_name="WaterScaleAbove"
  310. decimal_digits="2"
  311. follows="left|top"
  312. increment="0.01"
  313. initial_value="0.1"
  314. layout="topleft"
  315. left_delta="15"
  316. name="WaterScaleAbove"
  317. top_pad="5"
  318. width="200" />
  319. <text
  320. type="string"
  321. length="1"
  322. follows="left|top|right"
  323. font="SansSerif"
  324. height="16"
  325. layout="topleft"
  326. left_delta="-15"
  327. name="WaterScaleBelowText"
  328. top_pad="15"
  329. width="215">
  330. Refract Scale Below
  331. </text>
  332. <slider
  333. control_name="WaterScaleBelow"
  334. decimal_digits="2"
  335. follows="left|top"
  336. height="10"
  337. increment="0.01"
  338. initial_value="0"
  339. layout="topleft"
  340. left_delta="15"
  341. name="WaterScaleBelow"
  342. top_pad="5"
  343. width="200"/>
  344. <text
  345. follows="left|top|right"
  346. font="SansSerif"
  347. height="16"
  348. layout="topleft"
  349. left_delta="-15"
  350. name="MaxAltText"
  351. top_pad="15"
  352. width="215">
  353. Blur Multiplier
  354. </text>
  355. <slider
  356. control_name="WaterBlurMult"
  357. follows="left|top"
  358. height="10"
  359. increment="0.001"
  360. initial_value="0"
  361. layout="topleft"
  362. left_delta="15"
  363. max_val="0.16"
  364. name="WaterBlurMult"
  365. top_pad="5"
  366. width="200"/>
  367. <text
  368. follows="left|top|right"
  369. font="SansSerif"
  370. height="16"
  371. layout="topleft"
  372. left_delta="-15"
  373. name="BHText3"
  374. top_pad="15"
  375. width="215">
  376. Normal Map
  377. </text>
  378. <texture_picker
  379. height="80"
  380. layout="topleft"
  381. left_delta="15"
  382. name="WaterNormalMap"
  383. top_pad="5"
  384. width="100" />
  385. </panel>
  386. <!--======== End of Controls panel ========-->
  387. <view_border
  388. bevel_style="none"
  389. follows="top|left"
  390. height="0"
  391. layout="topleft"
  392. left="10"
  393. name="horiz_separator"
  394. top_pad="5"
  395. width="700"/>
  396. <check_box
  397. follows="top|left"
  398. height="10"
  399. label="Make this preset my new water setting"
  400. layout="topleft"
  401. left="275"
  402. name="make_default_cb"
  403. top_pad="20"
  404. width="280"/>
  405. <button
  406. follows="bottom|right"
  407. height="23"
  408. label="Save"
  409. layout="topleft"
  410. left_pad="0"
  411. name="save"
  412. width="70"/>
  413. <button
  414. follows="bottom|right"
  415. height="23"
  416. label="Cancel"
  417. layout="topleft"
  418. left_pad="15"
  419. name="cancel"
  420. width="70"/>
  421. </floater>