PageRenderTime 44ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 223 lines | 218 code | 2 blank | 3 comment | 0 complexity | a06a2cbd950a665b3e8d6e324e33b660 MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <toggleable_menu
  3. layout="topleft"
  4. visible="false"
  5. name="Gear Outfit">
  6. <menu_item_call
  7. label="Wear - Replace Current Outfit"
  8. layout="topleft"
  9. name="wear">
  10. <on_click
  11. function="Gear.Wear" />
  12. <on_enable
  13. function="Gear.OnEnable"
  14. parameter="wear" />
  15. <on_visible
  16. function="Gear.OnVisible"
  17. parameter="wear" />
  18. </menu_item_call>
  19. <menu_item_call
  20. label="Wear - Add to Current Outfit"
  21. layout="topleft"
  22. name="wear_add">
  23. <on_click
  24. function="Gear.WearAdd" />
  25. <on_enable
  26. function="Gear.OnEnable"
  27. parameter="wear_add" />
  28. </menu_item_call>
  29. <menu_item_call
  30. label="Take Off - Remove from Current Outfit"
  31. layout="topleft"
  32. name="take_off">
  33. <on_click
  34. function="Gear.TakeOff" />
  35. <on_enable
  36. function="Gear.OnEnable"
  37. parameter="take_off" />
  38. <on_visible
  39. function="Gear.OnVisible"
  40. parameter="take_off" />
  41. </menu_item_call>
  42. <menu_item_separator name="sepatator1" />
  43. <!-- copied (with minor modifications) from menu_inventory_add.xml -->
  44. <!-- *TODO: generate dynamically? -->
  45. <menu
  46. height="175"
  47. label="New Clothes"
  48. layout="topleft"
  49. left_delta="0"
  50. mouse_opaque="false"
  51. name="New Clothes"
  52. top_pad="514"
  53. width="125">
  54. <menu_item_call
  55. label="New Shirt"
  56. layout="topleft"
  57. name="New Shirt">
  58. <menu_item_call.on_click
  59. function="Gear.Create"
  60. parameter="shirt" />
  61. </menu_item_call>
  62. <menu_item_call
  63. label="New Pants"
  64. layout="topleft"
  65. name="New Pants">
  66. <menu_item_call.on_click
  67. function="Gear.Create"
  68. parameter="pants" />
  69. </menu_item_call>
  70. <menu_item_call
  71. label="New Shoes"
  72. layout="topleft"
  73. name="New Shoes">
  74. <menu_item_call.on_click
  75. function="Gear.Create"
  76. parameter="shoes" />
  77. </menu_item_call>
  78. <menu_item_call
  79. label="New Socks"
  80. layout="topleft"
  81. name="New Socks">
  82. <menu_item_call.on_click
  83. function="Gear.Create"
  84. parameter="socks" />
  85. </menu_item_call>
  86. <menu_item_call
  87. label="New Jacket"
  88. layout="topleft"
  89. name="New Jacket">
  90. <menu_item_call.on_click
  91. function="Gear.Create"
  92. parameter="jacket" />
  93. </menu_item_call>
  94. <menu_item_call
  95. label="New Skirt"
  96. layout="topleft"
  97. name="New Skirt">
  98. <menu_item_call.on_click
  99. function="Gear.Create"
  100. parameter="skirt" />
  101. </menu_item_call>
  102. <menu_item_call
  103. label="New Gloves"
  104. layout="topleft"
  105. name="New Gloves">
  106. <menu_item_call.on_click
  107. function="Gear.Create"
  108. parameter="gloves" />
  109. </menu_item_call>
  110. <menu_item_call
  111. label="New Undershirt"
  112. layout="topleft"
  113. name="New Undershirt">
  114. <menu_item_call.on_click
  115. function="Gear.Create"
  116. parameter="undershirt" />
  117. </menu_item_call>
  118. <menu_item_call
  119. label="New Underpants"
  120. layout="topleft"
  121. name="New Underpants">
  122. <menu_item_call.on_click
  123. function="Gear.Create"
  124. parameter="underpants" />
  125. </menu_item_call>
  126. <menu_item_call
  127. label="New Alpha"
  128. layout="topleft"
  129. name="New Alpha">
  130. <menu_item_call.on_click
  131. function="Gear.Create"
  132. parameter="alpha" />
  133. </menu_item_call>
  134. <menu_item_call
  135. label="New Physics"
  136. layout="topleft"
  137. name="New Physics">
  138. <menu_item_call.on_click
  139. function="Gear.Create"
  140. parameter="physics" />
  141. </menu_item_call>
  142. <menu_item_call
  143. label="New Tattoo"
  144. layout="topleft"
  145. name="New Tattoo">
  146. <menu_item_call.on_click
  147. function="Gear.Create"
  148. parameter="tattoo" />
  149. </menu_item_call>
  150. </menu>
  151. <menu
  152. height="85"
  153. label="New Body Parts"
  154. layout="topleft"
  155. left_delta="0"
  156. mouse_opaque="false"
  157. name="New Body Parts"
  158. top_pad="514"
  159. width="118">
  160. <menu_item_call
  161. label="New Shape"
  162. layout="topleft"
  163. name="New Shape">
  164. <menu_item_call.on_click
  165. function="Gear.Create"
  166. parameter="shape" />
  167. </menu_item_call>
  168. <menu_item_call
  169. label="New Skin"
  170. layout="topleft"
  171. name="New Skin">
  172. <menu_item_call.on_click
  173. function="Gear.Create"
  174. parameter="skin" />
  175. </menu_item_call>
  176. <menu_item_call
  177. label="New Hair"
  178. layout="topleft"
  179. name="New Hair">
  180. <menu_item_call.on_click
  181. function="Gear.Create"
  182. parameter="hair" />
  183. </menu_item_call>
  184. <menu_item_call
  185. label="New Eyes"
  186. layout="topleft"
  187. name="New Eyes">
  188. <menu_item_call.on_click
  189. function="Gear.Create"
  190. parameter="eyes" />
  191. </menu_item_call>
  192. </menu>
  193. <!-- copied from menu_inventory_add.xml -->
  194. <menu_item_separator name="sepatator2" />
  195. <menu_item_call
  196. label="Rename Outfit"
  197. layout="topleft"
  198. name="rename">
  199. <on_click
  200. function="Gear.Rename" />
  201. <on_enable
  202. function="Gear.OnEnable"
  203. parameter="rename" />
  204. <on_visible
  205. function="Gear.OnVisible"
  206. parameter="rename" />
  207. </menu_item_call>
  208. <menu_item_call
  209. label="Delete Outfit"
  210. layout="topleft"
  211. name="delete_outfit">
  212. <on_click
  213. function="Gear.Delete" />
  214. <on_enable
  215. function="Gear.OnEnable"
  216. parameter="delete" />
  217. <on_visible
  218. function="Gear.OnVisible"
  219. parameter="delete" />
  220. </menu_item_call>
  221. </toggleable_menu>