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