PageRenderTime 43ms CodeModel.GetById 20ms app.highlight 3ms RepoModel.GetById 18ms app.codeStats 0ms

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

https://bitbucket.org/lindenlab/viewer-beta/
XML | 173 lines | 165 code | 0 blank | 8 comment | 0 complexity | b58678f759cc05cf875a1cd3b3f9caf5 MD5 | raw file
  1<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2<panel
  3 background_visible="false"
  4 chrome="true"
  5 follows="left|top|right"
  6 height="30"
  7 layout="topleft"
  8 mouse_opaque="false"
  9 name="chiclet_bar"
 10 width="1310">
 11  <layout_stack
 12     border_size="0"
 13     clip="false"
 14     follows="all"
 15     height="30"
 16     layout="topleft"
 17     left="0"
 18     mouse_opaque="false"
 19     name="toolbar_stack"
 20     orientation="horizontal"
 21     top="0"
 22     width="1310">
 23        <layout_panel
 24         follows="left|right"
 25         height="30"
 26         layout="topleft"
 27         min_width="95"
 28         mouse_opaque="false"
 29         name="chiclet_list_panel"
 30         auto_resize="true"
 31         top="0"
 32         width="189">
 33      <chiclet_panel
 34             chiclet_padding="4"
 35             follows="left|right"
 36             height="24"
 37             layout="topleft"
 38             left="1"
 39             min_width="95"
 40             mouse_opaque="false"
 41             name="chiclet_list"
 42             top="7"
 43             width="189">
 44        <button
 45                 auto_resize="false"
 46                 follows="right"
 47                 height="29"
 48                 image_hover_selected="SegmentedBtn_Left_Over"
 49                 image_hover_unselected="SegmentedBtn_Left_Over"
 50                 image_overlay="Arrow_Small_Left"
 51                 image_pressed="SegmentedBtn_Left_Press"
 52                 image_pressed_selected="SegmentedBtn_Left_Press"
 53                 image_selected="SegmentedBtn_Left_Off"
 54                 image_unselected="SegmentedBtn_Left_Off"
 55                 layout="topleft"
 56                 name="chicklet_left_scroll_button"
 57                 tab_stop="false"
 58                 top="-28"
 59                 visible="false"
 60                 width="12" />
 61        <button
 62                 auto_resize="false"
 63                 follows="right"
 64                 height="29"
 65                 image_hover_selected="SegmentedBtn_Right_Over"
 66                 image_hover_unselected="SegmentedBtn_Right_Over"
 67                 image_overlay="Arrow_Small_Right"
 68                 image_pressed="SegmentedBtn_Right_Press"
 69                 image_pressed_selected="SegmentedBtn_Right_Press"
 70                 image_selected="SegmentedBtn_Right_Off"
 71                 image_unselected="SegmentedBtn_Right_Off"
 72                 layout="topleft"
 73                 name="chicklet_right_scroll_button"
 74                 tab_stop="false"
 75                 top="-28"
 76                 visible="false"
 77                 width="12" />
 78      </chiclet_panel>
 79    </layout_panel>
 80    <layout_panel auto_resize="false"
 81                      width="4"
 82                      min_width="4"/>
 83    <layout_panel
 84         auto_resize="false"
 85         follows="right"
 86         height="28"
 87         layout="topleft"
 88         min_height="28"
 89         min_width="37"
 90         name="im_well_panel"
 91         top="0"
 92         width="37">
 93      <chiclet_im_well
 94             follows="right"
 95             height="28"
 96             layout="topleft"
 97             left="0"
 98             max_displayed_count="99"
 99             name="im_well"
100             top="0"
101             width="35">
102        <!--
103Emulate 4 states of button by background images, see details in EXT-3147. The same should be for notification_well button
104xml attribute           Description
105image_unselected        "Unlit" - there are no new messages
106image_selected          "Unlit" + "Selected" - there are no new messages and the Well is open
107image_pressed           "Lit" - there are new messages
108image_pressed_selected  "Lit" + "Selected" - there are new messages and the Well is open
109             -->
110        <button
111                 auto_resize="false"
112                 follows="right"
113                 halign="center"
114                 height="23"
115                 image_overlay="Unread_IM"
116                 image_overlay_alignment="center"
117                 image_pressed="WellButton_Lit"
118                 image_pressed_selected="WellButton_Lit_Selected"
119                 image_selected="PushButton_Press"
120                 label_color="Black"
121                 left="0"
122                 name="Unread IM messages"
123                 tool_tip="Conversations"
124                 width="34">
125          <init_callback
126                     function="Button.SetDockableFloaterToggle"
127                     parameter="im_well_window" />
128        </button>
129      </chiclet_im_well>
130    </layout_panel>
131    <layout_panel
132         auto_resize="false"
133         follows="right"
134         height="28"
135         layout="topleft"
136         min_height="28"
137         min_width="37"
138         name="notification_well_panel"
139         top="0"
140         width="37">
141      <chiclet_notification
142             follows="right"
143             height="23"
144             layout="topleft"
145             left="0"
146             max_displayed_count="99"
147             name="notification_well"
148             top="5"
149             width="35">
150        <button
151                 auto_resize="false"
152                 bottom_pad="3"
153                 follows="right"
154                 halign="center"
155                 height="23"
156                 image_overlay="Notices_Unread"
157                 image_overlay_alignment="center"
158                 image_pressed="WellButton_Lit"
159                 image_pressed_selected="WellButton_Lit_Selected"
160                 image_selected="PushButton_Press"
161                 label_color="Black"
162                 left="0"
163                 name="Unread"
164                 tool_tip="Notifications"
165                 width="34">
166          <init_callback
167                     function="Button.SetDockableFloaterToggle"
168                     parameter="notification_well_window" />
169        </button>
170      </chiclet_notification>
171    </layout_panel>
172  </layout_stack>
173</panel>