PageRenderTime 42ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 364 lines | 364 code | 0 blank | 0 comment | 0 complexity | b9608a83b0ac9fdf430560f2fb4010f8 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="460"
  5. layout="topleft"
  6. name="gesture_preview"
  7. help_topic="gesture_preview"
  8. width="280">
  9. <floater.string
  10. name="step_anim">
  11. Animation to play:
  12. </floater.string>
  13. <floater.string
  14. name="step_sound">
  15. Sound to play:
  16. </floater.string>
  17. <floater.string
  18. name="step_chat">
  19. Chat to say:
  20. </floater.string>
  21. <floater.string
  22. name="step_wait">
  23. Wait:
  24. </floater.string>
  25. <floater.string
  26. name="stop_txt">
  27. Stop
  28. </floater.string>
  29. <floater.string
  30. name="preview_txt">
  31. Preview
  32. </floater.string>
  33. <floater.string
  34. name="none_text">
  35. -- None --
  36. </floater.string>
  37. <floater.string
  38. name="Title">
  39. Gesture: [NAME]
  40. </floater.string>
  41. <text
  42. type="string"
  43. length="1"
  44. follows="top|left"
  45. font="SansSerifSmall"
  46. height="10"
  47. layout="topleft"
  48. left="10"
  49. name="desc_label"
  50. top_pad="25"
  51. font.style="BOLD"
  52. width="105">
  53. Description:
  54. </text>
  55. <line_editor
  56. follows="left|top"
  57. height="20"
  58. layout="topleft"
  59. left_delta="94"
  60. name="desc"
  61. top_delta="-4"
  62. width="170" />
  63. <text
  64. type="string"
  65. length="1"
  66. follows="top|left"
  67. font="SansSerifSmall"
  68. height="10"
  69. layout="topleft"
  70. left="10"
  71. font.style="BOLD"
  72. name="trigger_label"
  73. top_pad="10"
  74. width="100">
  75. Trigger:
  76. </text>
  77. <line_editor
  78. follows="left|top"
  79. height="20"
  80. layout="topleft"
  81. left_delta="89"
  82. max_length_bytes="31"
  83. name="trigger_editor"
  84. top_delta="-4"
  85. width="175" />
  86. <text
  87. type="string"
  88. length="1"
  89. follows="top|left"
  90. font="SansSerifSmall"
  91. height="10"
  92. layout="topleft"
  93. left="10"
  94. font.style="BOLD"
  95. name="replace_text"
  96. tool_tip="Replace the trigger word(s) with these words. For example, trigger &apos;hello&apos; replace with &apos;howdy&apos; will turn the chat &apos;I wanted to say hello&apos; into &apos;I wanted to say howdy&apos; as well as playing the gesture!"
  97. top_pad="10"
  98. width="215">
  99. Replace with:
  100. </text>
  101. <line_editor
  102. follows="left|top"
  103. height="20"
  104. layout="topleft"
  105. left_delta="104"
  106. max_length_bytes="31"
  107. name="replace_editor"
  108. tool_tip="Replace the trigger word(s) with these words. For example, trigger &apos;hello&apos; replace with &apos;howdy&apos; will turn the chat &apos;I wanted to say hello&apos; into &apos;I wanted to say howdy&apos; as well as playing the gesture"
  109. top_delta="-4"
  110. width="160" />
  111. <text
  112. type="string"
  113. length="1"
  114. follows="top|left"
  115. font="SansSerifSmall"
  116. height="10"
  117. layout="topleft"
  118. left="10"
  119. font.style="BOLD"
  120. name="key_label"
  121. top_pad="10"
  122. width="130">
  123. Shortcut Key:
  124. </text>
  125. <combo_box
  126. height="20"
  127. label="None"
  128. layout="topleft"
  129. left_delta="135"
  130. name="modifier_combo"
  131. top_delta="-4"
  132. width="55" />
  133. <combo_box
  134. height="20"
  135. label="None"
  136. layout="topleft"
  137. left_pad="4"
  138. name="key_combo"
  139. top_delta="0"
  140. width="50" />
  141. <text
  142. type="string"
  143. length="1"
  144. follows="top|left"
  145. font="SansSerifSmall"
  146. height="10"
  147. layout="topleft"
  148. left="10"
  149. font.style="BOLD"
  150. name="library_label"
  151. top_delta="25"
  152. width="100">
  153. Library:
  154. </text>
  155. <scroll_list
  156. follows="top|left"
  157. height="60"
  158. layout="topleft"
  159. left="10"
  160. name="library_list"
  161. top_delta="15"
  162. width="180">
  163. <scroll_list.rows
  164. name="action_animation"
  165. value="Animation" />
  166. <scroll_list.rows
  167. name="action_sound"
  168. value="Sound" />
  169. <scroll_list.rows
  170. name="action_chat"
  171. value="Chat" />
  172. <scroll_list.rows
  173. name="action_wait"
  174. value="Wait" />
  175. </scroll_list>
  176. <button
  177. follows="top|left"
  178. height="20"
  179. label="Add &gt;&gt;"
  180. layout="topleft"
  181. left_pad="10"
  182. name="add_btn"
  183. top_delta="-1"
  184. width="70" />
  185. <text
  186. type="string"
  187. length="1"
  188. follows="top|left"
  189. font="SansSerifSmall"
  190. height="10"
  191. layout="topleft"
  192. left="10"
  193. font.style="BOLD"
  194. name="steps_label"
  195. top_pad="50"
  196. width="100">
  197. Steps:
  198. </text>
  199. <scroll_list
  200. follows="top|left"
  201. height="85"
  202. layout="topleft"
  203. left="10"
  204. name="step_list"
  205. top_pad="5"
  206. width="180" />
  207. <button
  208. follows="top|left"
  209. height="20"
  210. label="Up"
  211. layout="topleft"
  212. left_pad="10"
  213. name="up_btn"
  214. top_delta="-1"
  215. width="70" />
  216. <button
  217. follows="top|left"
  218. height="20"
  219. label="Down"
  220. layout="topleft"
  221. left_delta="0"
  222. name="down_btn"
  223. top_pad="10"
  224. width="70" />
  225. <button
  226. follows="top|left"
  227. height="20"
  228. label="Remove"
  229. layout="topleft"
  230. left_delta="0"
  231. name="delete_btn"
  232. top_pad="10"
  233. width="70" />
  234. <text
  235. follows="top|left"
  236. height="60"
  237. layout="topleft"
  238. left="15"
  239. name="options_text"
  240. top="315"
  241. width="205">
  242. (options)
  243. </text>
  244. <combo_box
  245. follows="top|left"
  246. height="20"
  247. layout="topleft"
  248. left_delta="15"
  249. name="animation_list"
  250. top="330"
  251. width="100"/>
  252. <combo_box
  253. follows="top|left"
  254. height="20"
  255. layout="topleft"
  256. left_delta="0"
  257. name="sound_list"
  258. top="330"
  259. width="100" />
  260. <line_editor
  261. follows="top|left"
  262. height="20"
  263. layout="topleft"
  264. left_delta="0"
  265. max_length_bytes="127"
  266. name="chat_editor"
  267. top="330"
  268. width="100" />
  269. <radio_group
  270. draw_border="false"
  271. follows="top|left"
  272. height="40"
  273. layout="topleft"
  274. left_pad="8"
  275. name="animation_trigger_type"
  276. top="330"
  277. width="80">
  278. <radio_item
  279. height="16"
  280. label="Start"
  281. layout="topleft"
  282. left="3"
  283. name="start"
  284. top_delta="45"
  285. width="80" />
  286. <radio_item
  287. height="16"
  288. label="Stop"
  289. layout="topleft"
  290. left_delta="0"
  291. name="stop"
  292. top_pad="3"
  293. width="80" />
  294. </radio_group>
  295. <check_box
  296. follows="top|left"
  297. height="20"
  298. label="until animations are done"
  299. layout="topleft"
  300. left="28"
  301. name="wait_anim_check"
  302. top="330"
  303. width="100" />
  304. <check_box
  305. follows="top|left"
  306. height="20"
  307. label="time in seconds:"
  308. layout="topleft"
  309. left_delta="0"
  310. name="wait_time_check"
  311. top_delta="20"
  312. width="115" />
  313. <line_editor
  314. follows="top|left"
  315. height="20"
  316. layout="topleft"
  317. left_pad="10"
  318. max_length_bytes="15"
  319. name="wait_time_editor"
  320. top_delta="1"
  321. width="50" />
  322. <text
  323. type="string"
  324. length="1"
  325. follows="top|left"
  326. font="SansSerifSmall"
  327. height="30"
  328. layout="topleft"
  329. left="10"
  330. name="help_label"
  331. top_pad="20"
  332. word_wrap="true"
  333. width="265">
  334. All steps happen simultaneously, unless you add wait steps.
  335. </text>
  336. <check_box
  337. follows="top|left"
  338. height="20"
  339. label="Active"
  340. layout="topleft"
  341. left="20"
  342. name="active_check"
  343. tool_tip="Active gestures can be triggered by chatting their trigger phrases or pressing their hot keys. Gestures usually become inactive when there is a key binding conflict."
  344. top_pad="0"
  345. width="100" />
  346. <button
  347. follows="top|left"
  348. height="20"
  349. label="Preview"
  350. layout="topleft"
  351. left_delta="75"
  352. name="preview_btn"
  353. top_delta="2"
  354. width="80" />
  355. <button
  356. follows="top|left"
  357. height="20"
  358. label="Save"
  359. layout="topleft"
  360. left_pad="10"
  361. name="save_btn"
  362. top_delta="0"
  363. width="80" />
  364. </floater>