PageRenderTime 95ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 485 lines | 482 code | 2 blank | 1 comment | 0 complexity | e43a10281005cd5e6a71ce930d793548 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="381"
  5. layout="topleft"
  6. name="Edit Day cycle"
  7. help_topic="day_presets"
  8. save_rect="true"
  9. title="Edit Day Cycle"
  10. width="705">
  11. <string name="title_new">Create a New Day Cycle</string>
  12. <string name="title_edit">Edit Day Cycle</string>
  13. <string name="hint_new">Name your day cycle, adjust the controls to create it, and click "Save".</string>
  14. <string name="hint_edit">To edit your day cycle, adjust the controls below 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="10"
  21. name="hint"
  22. top="25"
  23. width="685" />
  24. <text
  25. follows="top|left|right"
  26. font="SansSerif"
  27. height="10"
  28. layout="topleft"
  29. left="10"
  30. name="label"
  31. top_pad="25"
  32. width="120">
  33. Preset Name:
  34. </text>
  35. <combo_box
  36. allow_text_entry="true"
  37. follows="top|left"
  38. layout="topleft"
  39. left_pad="10"
  40. max_chars="100"
  41. name="day_cycle_combo"
  42. top_delta="-5"
  43. width="200" />
  44. <line_editor
  45. height="20"
  46. left_delta="0"
  47. name="day_cycle_name"
  48. top_delta="0"
  49. visible="true"
  50. width="200" />
  51. <text
  52. follows="top|left|right"
  53. height="95"
  54. layout="topleft"
  55. left_pad="10"
  56. name="note"
  57. top_delta="0"
  58. width="345"
  59. wrap="true">
  60. Note: if you change the name of your preset, you will be creating a new preset and the existing preset will not be changed.
  61. </text>
  62. <!--======== Controls panel ========-->
  63. <text
  64. follows="left|top|right"
  65. height="10"
  66. layout="topleft"
  67. left="10"
  68. name="hint_item1"
  69. top="100"
  70. width="300">
  71. - Click on a tab to edit the specific sky settings and time.
  72. </text>
  73. <text
  74. follows="left|top|right"
  75. height="10"
  76. layout="topleft"
  77. name="hint_item2"
  78. top_pad="10"
  79. width="300">
  80. - Click and drag the tabs to set the transition times.
  81. </text>
  82. <text
  83. follows="left|top|right"
  84. height="10"
  85. layout="topleft"
  86. name="hint_item3"
  87. top_pad="10"
  88. width="300">
  89. - Use the scrubber to preview your day cycle.
  90. </text>
  91. <panel
  92. follows="top|left"
  93. height="100"
  94. name="day_cycle_slider_panel"
  95. layout="topleft"
  96. left_delta="25"
  97. top_pad="15"
  98. width="660">
  99. <multi_slider
  100. can_edit_text="true"
  101. control_name="WLTimeSlider"
  102. decimal_digits="0"
  103. draw_track="false"
  104. follows="bottom"
  105. height="10"
  106. increment="0.0833333"
  107. initial_value="0"
  108. layout="topleft"
  109. left="20"
  110. max_sliders="20"
  111. max_val="24"
  112. name="WLTimeSlider"
  113. show_text="false"
  114. top_pad="0"
  115. use_triangle="true"
  116. width="525" />
  117. <multi_slider
  118. can_edit_text="true"
  119. control_name="WLDayCycleKeys"
  120. decimal_digits="0"
  121. follows="bottom"
  122. height="10"
  123. increment="0.0833333"
  124. initial_value="0"
  125. layout="topleft"
  126. left_delta="0"
  127. max_sliders="20"
  128. max_val="24"
  129. name="WLDayCycleKeys"
  130. show_text="false"
  131. top_pad="15"
  132. width="525" />
  133. <button
  134. height="20"
  135. label="Add Key"
  136. label_selected="Add Key"
  137. layout="topleft"
  138. left_pad="20"
  139. name="WLAddKey"
  140. top_delta="-18"
  141. width="96" />
  142. <button
  143. height="20"
  144. label="Delete Key"
  145. label_selected="Delete Key"
  146. layout="topleft"
  147. name="WLDeleteKey"
  148. top_pad="5"
  149. width="96" />
  150. <text
  151. type="string"
  152. length="1"
  153. border_visible="true"
  154. follows="left|top|right"
  155. height="16"
  156. layout="topleft"
  157. left="8"
  158. name="WL12am"
  159. top="74"
  160. width="55">
  161. 12am
  162. </text>
  163. <text
  164. type="string"
  165. length="1"
  166. border_visible="true"
  167. follows="left|top|right"
  168. height="16"
  169. layout="topleft"
  170. left_pad="10"
  171. name="WL3am"
  172. top_delta="0"
  173. width="55">
  174. 3am
  175. </text>
  176. <text
  177. type="string"
  178. length="1"
  179. border_visible="true"
  180. follows="left|top|right"
  181. height="16"
  182. layout="topleft"
  183. left_pad="10"
  184. name="WL6am"
  185. top_delta="0"
  186. width="55">
  187. 6am
  188. </text>
  189. <text
  190. type="string"
  191. length="1"
  192. border_visible="true"
  193. follows="left|top|right"
  194. height="16"
  195. layout="topleft"
  196. left_pad="10"
  197. name="WL9amHash"
  198. top_delta="0"
  199. width="55">
  200. 9am
  201. </text>
  202. <text
  203. type="string"
  204. length="1"
  205. border_visible="true"
  206. follows="left|top|right"
  207. height="16"
  208. layout="topleft"
  209. left_pad="10"
  210. name="WL12pmHash"
  211. top_delta="0"
  212. width="55">
  213. 12pm
  214. </text>
  215. <text
  216. type="string"
  217. length="1"
  218. border_visible="true"
  219. follows="left|top|right"
  220. height="16"
  221. layout="topleft"
  222. left_pad="10"
  223. name="WL3pm"
  224. top_delta="0"
  225. width="55">
  226. 3pm
  227. </text>
  228. <text
  229. type="string"
  230. length="1"
  231. border_visible="true"
  232. follows="left|top|right"
  233. height="16"
  234. layout="topleft"
  235. left_pad="10"
  236. name="WL6pm"
  237. top_delta="0"
  238. width="55">
  239. 6pm
  240. </text>
  241. <text
  242. type="string"
  243. length="1"
  244. border_visible="true"
  245. follows="left|top|right"
  246. height="16"
  247. layout="topleft"
  248. left_pad="10"
  249. name="WL9pm"
  250. top_delta="0"
  251. width="55">
  252. 9pm
  253. </text>
  254. <text
  255. type="string"
  256. length="1"
  257. border_visible="true"
  258. follows="left|top|right"
  259. height="16"
  260. layout="topleft"
  261. left_pad="10"
  262. name="WL12am2"
  263. top_delta="0"
  264. width="55">
  265. 12am
  266. </text>
  267. <text
  268. type="string"
  269. length="1"
  270. border_visible="true"
  271. follows="left|top|right"
  272. font="SansSerif"
  273. height="14"
  274. layout="topleft"
  275. left="20"
  276. name="WL12amHash"
  277. top="54"
  278. width="6">
  279. |
  280. </text>
  281. <text
  282. type="string"
  283. length="1"
  284. border_visible="true"
  285. follows="left|top|right"
  286. font="SansSerif"
  287. height="11"
  288. layout="topleft"
  289. left_pad="59"
  290. name="WL3amHash"
  291. top_delta="3"
  292. width="6">
  293. I
  294. </text>
  295. <text
  296. type="string"
  297. length="1"
  298. border_visible="true"
  299. follows="left|top|right"
  300. font="SansSerif"
  301. height="14"
  302. layout="topleft"
  303. left_pad="59"
  304. name="WL6amHash"
  305. top_delta="-3"
  306. width="6">
  307. |
  308. </text>
  309. <text
  310. type="string"
  311. length="1"
  312. border_visible="true"
  313. follows="left|top|right"
  314. font="SansSerif"
  315. height="11"
  316. layout="topleft"
  317. left_pad="59"
  318. name="WL9amHash2"
  319. top_delta="3"
  320. width="6">
  321. I
  322. </text>
  323. <text
  324. type="string"
  325. length="1"
  326. border_visible="true"
  327. follows="left|top|right"
  328. font="SansSerif"
  329. height="14"
  330. layout="topleft"
  331. left_pad="59"
  332. name="WL12pmHash2"
  333. top_delta="-3"
  334. width="6">
  335. |
  336. </text>
  337. <text
  338. type="string"
  339. length="1"
  340. border_visible="true"
  341. follows="left|top|right"
  342. font="SansSerif"
  343. height="11"
  344. layout="topleft"
  345. left_pad="59"
  346. name="WL3pmHash"
  347. top_delta="3"
  348. width="6">
  349. I
  350. </text>
  351. <text
  352. type="string"
  353. length="1"
  354. border_visible="true"
  355. follows="left|top|right"
  356. font="SansSerif"
  357. height="14"
  358. layout="topleft"
  359. left_pad="59"
  360. name="WL6pmHash"
  361. top_delta="-3"
  362. width="6">
  363. |
  364. </text>
  365. <text
  366. type="string"
  367. length="1"
  368. border_visible="true"
  369. follows="left|top|right"
  370. font="SansSerif"
  371. height="11"
  372. layout="topleft"
  373. left_pad="59"
  374. name="WL9pmHash"
  375. top_delta="3"
  376. width="6">
  377. I
  378. </text>
  379. <text
  380. type="string"
  381. length="1"
  382. border_visible="true"
  383. follows="left|top|right"
  384. font="SansSerif"
  385. height="14"
  386. layout="topleft"
  387. left_pad="59"
  388. name="WL12amHash2"
  389. top_delta="-3"
  390. width="6">
  391. |
  392. </text>
  393. </panel>
  394. <text
  395. type="string"
  396. length="1"
  397. border_visible="true"
  398. follows="left|top|right"
  399. font="SansSerif"
  400. height="16"
  401. layout="topleft"
  402. left_delta="192"
  403. name="WLCurKeyPresetText"
  404. top_pad="10"
  405. width="80">
  406. Sky Setting:
  407. </text>
  408. <combo_box
  409. height="18"
  410. label="Preset"
  411. layout="topleft"
  412. left_pad="5"
  413. name="WLSkyPresets"
  414. width="205" />
  415. <text
  416. type="string"
  417. length="1"
  418. border_visible="true"
  419. follows="left|top|right"
  420. font="SansSerif"
  421. height="16"
  422. layout="topleft"
  423. left_delta="-40"
  424. name="WLCurKeyTimeText"
  425. top_pad="15"
  426. width="35">
  427. Time:
  428. </text>
  429. <time
  430. follows="left|top"
  431. height="16"
  432. label_width="0"
  433. layout="topleft"
  434. left_pad="3"
  435. name="time"
  436. top_delta="-1"
  437. value="6:00 AM"
  438. width="75"/>
  439. <view_border
  440. bevel_style="none"
  441. follows="top|left"
  442. height="0"
  443. layout="topleft"
  444. left="10"
  445. name="horiz_separator"
  446. top_pad="20"
  447. width="685"/>
  448. <loading_indicator
  449. height="23"
  450. layout="topleft"
  451. left="25"
  452. name="progress_indicator"
  453. top="350"
  454. visible="false"
  455. width="23" />
  456. <check_box
  457. follows="top|left"
  458. height="10"
  459. label="Make this my new day cycle"
  460. layout="topleft"
  461. left="310"
  462. name="make_default_cb"
  463. top_delta="13"
  464. width="230"/>
  465. <button
  466. follows="bottom|right"
  467. height="23"
  468. label="Save"
  469. layout="topleft"
  470. left_pad="0"
  471. name="save"
  472. top_delta="-13"
  473. width="70"/>
  474. <button
  475. follows="bottom|right"
  476. height="23"
  477. label="Cancel"
  478. layout="topleft"
  479. left_pad="15"
  480. name="cancel"
  481. top_delta="0"
  482. width="70"/>
  483. </floater>