PageRenderTime 40ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 565 lines | 525 code | 26 blank | 14 comment | 0 complexity | b0f91a798d9fe7b0b2b77193f322e184 MD5 | raw file
Possible License(s): LGPL-2.1
  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <!-- Side tray Outfit Edit panel -->
  3. <panel
  4. background_visible="true"
  5. border="false"
  6. height="600"
  7. follows="all"
  8. layout="topleft"
  9. help_topic="edit_outfit"
  10. left="0"
  11. min_height="350"
  12. name="outfit_edit"
  13. top="0"
  14. width="320">
  15. <string
  16. name="No Outfit"
  17. value="No Outfit"/>
  18. <string
  19. name="unsaved_changes"
  20. value="Unsaved Changes"/>
  21. <string
  22. name="now_editing"
  23. value="Now Editing"/>
  24. <string
  25. name="folder_view_off"
  26. value="Hierarchy_View_Disabled"
  27. translate="false"/>
  28. <string
  29. name="folder_view_on"
  30. value="Hierarchy_View_On"
  31. translate="false"/>
  32. <string
  33. name="list_view_off"
  34. value="List_View_Disabled"
  35. translate="false"/>
  36. <string
  37. name="list_view_on"
  38. value="List_View_On"
  39. translate="false"/>
  40. <panel.string
  41. name="not_available">
  42. (N\A)
  43. </panel.string>
  44. <panel.string
  45. name="unknown">
  46. (unknown)
  47. </panel.string>
  48. <!-- Wearables filtering strings -->
  49. <string name="Filter.All" value="All"/>
  50. <string name="Filter.Clothes/Body" value="Clothes/Body"/>
  51. <string name="Filter.Objects" value="Objects"/>
  52. <string name="Filter.Clothing" value="Clothing"/>
  53. <string name="Filter.Bodyparts" value="Body parts"/>
  54. <string
  55. name="replace_body_part"
  56. value="Click to replace your existing shape"/>
  57. <button
  58. follows="top|left"
  59. height="24"
  60. image_hover_unselected="BackButton_Over"
  61. image_pressed="BackButton_Press"
  62. image_unselected="BackButton_Off"
  63. layout="topleft"
  64. name="back_btn"
  65. left="5"
  66. tab_stop="false"
  67. top="1"
  68. width="30"
  69. use_draw_context_alpha="false" />
  70. <text
  71. follows="top|left|right"
  72. font="SansSerifHugeBold"
  73. height="26"
  74. layout="topleft"
  75. left_pad="10"
  76. name="title"
  77. text_color="LtGray"
  78. top="0"
  79. value="Edit Outfit"
  80. use_ellipses="true"
  81. width="275" />
  82. <!-- "HEADER WITH ICON, STATUS TEXT AND OUTFIT NAME" -->
  83. <panel
  84. background_visible="true"
  85. bg_alpha_color="DkGray2"
  86. bevel_style="none"
  87. follows="top|left|right"
  88. height="40"
  89. layout="topleft"
  90. left="6"
  91. name="header_panel"
  92. top_pad="5"
  93. width="311">
  94. <icon
  95. follows="left|top"
  96. height="31"
  97. image_name="Shirt_Large"
  98. left="2"
  99. mouse_opaque="false"
  100. name="outfit_icon"
  101. top="2"
  102. scale_image="true"
  103. visible="true"
  104. width="31" />
  105. <panel
  106. bevel_style="none"
  107. follows="top|left|right"
  108. height="37"
  109. layout="topleft"
  110. left_pad="5"
  111. name="outfit_name_and_status"
  112. top="2"
  113. width="270">
  114. <text
  115. follows="top|left|right"
  116. font="SansSerifSmallBold"
  117. height="13"
  118. layout="topleft"
  119. name="status"
  120. text_color="EmphasisColor"
  121. top="2"
  122. value="Now editing..."
  123. use_ellipses="true"
  124. width="245" />
  125. <text
  126. follows="bottom|left|right"
  127. font="SansSerifLargeBold"
  128. height="18"
  129. layout="topleft"
  130. name="curr_outfit_name"
  131. parse_urls="false"
  132. text_color="LtGray"
  133. top_pad="2"
  134. value="[Current Outfit]"
  135. use_ellipses="true"
  136. width="245" />
  137. <loading_indicator
  138. follows="right|top"
  139. height="24"
  140. layout="topleft"
  141. right="-2"
  142. name="edit_outfit_loading_indicator"
  143. top="6"
  144. width="24" />
  145. </panel>
  146. </panel>
  147. <!-- LIST OF WEARABLES (CURRENT OUTFIT/ WEARABLES TO ADD) -->
  148. <!-- *NOTE: border_size is used to calculate space between layout panels and also to calculate resize bar's height.
  149. Required height for dragbar (icon in spec) is 10, so resizebar height should be 10 px.
  150. It is calculated as border_size + 2*UIResizeBarOverlap
  151. -->
  152. <layout_stack
  153. animate="true"
  154. border_size="8"
  155. clip="false"
  156. default_tab_group="2"
  157. follows="all"
  158. height="465"
  159. width="313"
  160. layout="topleft"
  161. orientation="vertical"
  162. name="im_panels"
  163. tab_group="1"
  164. top_pad="5"
  165. left="5">
  166. <layout_panel
  167. layout="topleft"
  168. height="187"
  169. min_height="155"
  170. name="outfit_wearables_panel"
  171. width="313"
  172. auto_resize="true"
  173. user_resize="true">
  174. <layout_stack
  175. animate="true"
  176. border_size="0"
  177. follows="all"
  178. height="185"
  179. width="313"
  180. orientation="vertical"
  181. layout="topleft"
  182. name="filter_panels"
  183. top="0"
  184. left="0">
  185. <layout_panel
  186. auto_resize="true"
  187. background_visible="false"
  188. layout="topleft"
  189. height="154"
  190. name="add_button_and_combobox"
  191. width="311"
  192. visible="true">
  193. <!-- List containing items from the COF and Base outfit -->
  194. <panel
  195. background_visible="false"
  196. class="cof_wearables"
  197. filename="panel_cof_wearables.xml"
  198. follows="all"
  199. height="129"
  200. layout="topleft"
  201. left="1"
  202. name="cof_wearables_list"
  203. top="0"
  204. width="311" />
  205. <button
  206. follows="left|bottom"
  207. height="22"
  208. image_pressed="PushButton_Press"
  209. image_pressed_selected="PushButton_Selected_Press"
  210. image_selected="PushButton_Selected_Press"
  211. is_toggle="true"
  212. label="Add More..."
  213. layout="topleft"
  214. left="2"
  215. name="show_add_wearables_btn"
  216. top_pad="2"
  217. tool_tip="Open/Close"
  218. width="125" />
  219. <combo_box
  220. follows="left|right|bottom"
  221. height="22"
  222. layout="topleft"
  223. left_pad="5"
  224. name="list_view_filter_combobox"
  225. top_delta="0"
  226. visible="false"
  227. width="152"/>
  228. <combo_box
  229. follows="left|right|bottom"
  230. height="22"
  231. layout="topleft"
  232. left_delta="0"
  233. name="folder_view_filter_combobox"
  234. top_delta="0"
  235. visible="false"
  236. width="152"/>
  237. <button
  238. follows="bottom|right"
  239. height="22"
  240. image_overlay="Search_Icon"
  241. image_pressed="PushButton_Press"
  242. image_pressed_selected="PushButton_Selected_Press"
  243. image_selected="PushButton_Selected_Press"
  244. is_toggle="true"
  245. layout="topleft"
  246. name="filter_button"
  247. right="-5"
  248. top_delta="0"
  249. visible="false"
  250. width="20" />
  251. </layout_panel>
  252. <layout_panel
  253. auto_resize="false"
  254. background_visible="true"
  255. bg_alpha_color="DkGray2"
  256. height="30"
  257. name="filter_panel"
  258. width="311"
  259. visible="false">
  260. <filter_editor
  261. background_image="TextField_Search_Off"
  262. enabled="true"
  263. follows="left|right|top"
  264. label="Filter Inventory Wearables"
  265. layout="topleft"
  266. left="5"
  267. width="290"
  268. height="25"
  269. name="look_item_filter"
  270. search_button_visible="true"
  271. text_color="black"
  272. visible="true"/>
  273. </layout_panel>
  274. </layout_stack>
  275. </layout_panel>
  276. <layout_panel
  277. background_visible="false"
  278. bg_alpha_color="DkGray2"
  279. auto_resize="true"
  280. default_tab_group="3"
  281. height="450"
  282. min_height="80"
  283. name="add_wearables_panel"
  284. width="313"
  285. tab_group="2"
  286. user_resize="true"
  287. visible="false">
  288. <!-- this icon represent dragbar between layout panels.
  289. This is a workaround implemented in EXT-7255 becouse of an issue with layout stack (EXT-7471) -->
  290. <icon
  291. follows="left|top|right"
  292. height="10"
  293. image_name="Dragbar"
  294. left="0"
  295. top_pad="-9"
  296. width="313" />
  297. <inventory_panel
  298. allow_multi_select="true"
  299. background_visible="false"
  300. border="false"
  301. follows="left|top|right|bottom"
  302. height="418"
  303. layout="topleft"
  304. left="0"
  305. mouse_opaque="false"
  306. name="folder_view"
  307. top_pad="0"
  308. width="313"
  309. visible="false"/>
  310. <panel
  311. name="filtered_wearables_panel"
  312. background_opaque="true"
  313. background_visible="false"
  314. layout="topleft"
  315. follows="left|top|right|bottom"
  316. border="false"
  317. height="418"
  318. left="0"
  319. mouse_opaque="false"
  320. width="310"
  321. top_delta="0"
  322. visible="true">
  323. <wearable_items_list
  324. color="0.107 0.107 0.107 1"
  325. name="list_view"
  326. allow_select="true"
  327. layout="topleft"
  328. follows="all"
  329. multi_select="true"
  330. width="313"
  331. height="418"
  332. left="0"
  333. top="0"/>
  334. </panel>
  335. <button
  336. follows="bottom|left"
  337. height="22"
  338. left="2"
  339. label="Wear Item"
  340. layout="topleft"
  341. name="plus_btn"
  342. top_pad="5"
  343. width="130" />
  344. </layout_panel>
  345. </layout_stack>
  346. <!-- BUTTON BAR -->
  347. <panel
  348. background_visible="true"
  349. bevel_style="none"
  350. follows="bottom|left|right"
  351. height="27"
  352. layout="topleft"
  353. left="5"
  354. name="no_add_wearables_button_bar"
  355. top_pad="0"
  356. width="313">
  357. <menu_button
  358. follows="bottom|left"
  359. height="25"
  360. image_hover_unselected="Toolbar_Left_Over"
  361. image_overlay="OptionsMenu_Off"
  362. image_selected="Toolbar_Left_Selected"
  363. image_unselected="Toolbar_Left_Off"
  364. layout="topleft"
  365. left="0"
  366. name="gear_menu_btn"
  367. top="1"
  368. width="31" />
  369. <icon
  370. follows="bottom|left|right"
  371. height="25"
  372. image_name="Toolbar_Middle_Off"
  373. layout="topleft"
  374. left_pad="1"
  375. name="dummy_right_icon"
  376. width="250" />
  377. <button
  378. follows="bottom|right"
  379. height="25"
  380. image_hover_unselected="Toolbar_Right_Over"
  381. image_overlay="Shop"
  382. image_selected="Toolbar_Right_Selected"
  383. image_unselected="Toolbar_Right_Off"
  384. layout="topleft"
  385. left_pad="1"
  386. name="shop_btn_1"
  387. top="1"
  388. tool_tip="Visit the SL Marketplace. You can also select something you are wearing, then click here to see more things like it"
  389. width="31" />
  390. </panel>
  391. <!-- BUTTON BAR - WEARABLES ADDING MODE -->
  392. <panel
  393. background_visible="true"
  394. bevel_style="none"
  395. follows="left|right|bottom"
  396. height="27"
  397. layout="topleft"
  398. left="5"
  399. name="add_wearables_button_bar"
  400. top_delta="0"
  401. visible="false"
  402. width="313">
  403. <menu_button
  404. follows="bottom|left"
  405. height="25"
  406. image_hover_unselected="Toolbar_Left_Over"
  407. image_overlay="OptionsMenu_Off"
  408. image_selected="Toolbar_Left_Selected"
  409. image_unselected="Toolbar_Left_Off"
  410. layout="topleft"
  411. left="0"
  412. name="wearables_gear_menu_btn"
  413. top="1"
  414. width="31" />
  415. <button
  416. follows="bottom|left"
  417. height="25"
  418. image_hover_unselected="Toolbar_Middle_Over"
  419. image_overlay="Hierarchy_View_Disabled"
  420. image_selected="Toolbar_Middle_Selected"
  421. image_unselected="Toolbar_Middle_Off"
  422. is_toggle="true"
  423. layout="topleft"
  424. left_pad="1"
  425. name="folder_view_btn"
  426. top="1"
  427. width="31" />
  428. <button
  429. follows="bottom|left"
  430. height="25"
  431. image_hover_unselected="Toolbar_Middle_Over"
  432. image_overlay="List_View_On"
  433. image_selected="Toolbar_Middle_Selected"
  434. image_unselected="Toolbar_Middle_Off"
  435. is_toggle="true"
  436. layout="topleft"
  437. left_pad="1"
  438. name="list_view_btn"
  439. top="1"
  440. width="31" />
  441. <icon
  442. follows="bottom|left|right"
  443. height="25"
  444. image_name="Toolbar_Middle_Off"
  445. layout="topleft"
  446. left_pad="1"
  447. name="dummy_right_icon"
  448. width="186" >
  449. </icon>
  450. <button
  451. follows="bottom|right"
  452. height="25"
  453. image_hover_unselected="Toolbar_Right_Over"
  454. image_overlay="Shop"
  455. image_selected="Toolbar_Right_Selected"
  456. image_unselected="Toolbar_Right_Off"
  457. layout="topleft"
  458. left_pad="1"
  459. name="shop_btn_2"
  460. top="1"
  461. tool_tip="Visit the SL Marketplace. You can also select something you are wearing, then click here to see more things like it"
  462. width="31" />
  463. </panel>
  464. <!-- SAVE AND REVERT BUTTONS -->
  465. <panel
  466. follows="left|right|bottom"
  467. height="30"
  468. layout="topleft"
  469. left="4"
  470. top_pad="2"
  471. name="save_revert_button_bar"
  472. width="300">
  473. <layout_stack
  474. follows="bottom|left|right"
  475. height="23"
  476. layout="topleft"
  477. mouse_opaque="false"
  478. name="button_bar_ls"
  479. left="0"
  480. orientation="horizontal"
  481. top="0"
  482. width="313">
  483. <layout_panel
  484. follows="bottom|left|right"
  485. height="23"
  486. layout="bottomleft"
  487. left="0"
  488. mouse_opaque="false"
  489. name="save_btn_lp"
  490. auto_resize="true"
  491. width="156">
  492. <button
  493. follows="bottom|left|right"
  494. height="23"
  495. label="Save"
  496. left="1"
  497. layout="topleft"
  498. name="save_btn"
  499. top="0"
  500. width="155" />
  501. <button
  502. follows="bottom|right"
  503. height="23"
  504. name="save_flyout_btn"
  505. label=""
  506. layout="topleft"
  507. left_pad="-20"
  508. tab_stop="false"
  509. top="0"
  510. image_selected="SegmentedBtn_Right_Selected_Press"
  511. image_unselected="SegmentedBtn_Right_Off"
  512. image_pressed="SegmentedBtn_Right_Press"
  513. image_pressed_selected="SegmentedBtn_Right_Selected_Press"
  514. image_overlay="Arrow_Small_Up"
  515. width="20"/>
  516. </layout_panel>
  517. <layout_panel
  518. follows="bottom|left|right"
  519. height="23"
  520. layout="bottomleft"
  521. left_pad="3"
  522. mouse_opaque="false"
  523. name="revert_btn_lp"
  524. auto_resize="true"
  525. width="147">
  526. <button
  527. follows="bottom|left|right"
  528. height="23"
  529. left="0"
  530. label="Undo Changes"
  531. layout="topleft"
  532. name="revert_btn"
  533. top="0"
  534. tool_tip="Revert to last saved version"
  535. width="147" />
  536. </layout_panel>
  537. </layout_stack>
  538. </panel>
  539. </panel>