PageRenderTime 19ms CodeModel.GetById 2ms app.highlight 9ms RepoModel.GetById 1ms app.codeStats 1ms

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