summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/en/panel_bottomtray.xml
blob: c8f8d077013a3d1f10dba9a52b2516397d615775 (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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<panel
 background_visible="true"
 bg_alpha_color="DkGray"
 bg_opaque_color="DkGray"
 chrome="true"
 follows="left|bottom|right"
 focus_root="true"
 height="33"
 layout="topleft"
 left="0"
 name="bottom_tray"
 top="28"
 width="1310">
  <string
     name="DragIndicationImageName"
     value="Accordion_ArrowOpened_Off" />
  <string
     name="SpeakBtnToolTip"
     value="Turns microphone on/off" />
  <string
     name="VoiceControlBtnToolTip"
     value="Shows/hides voice control panel" />
  <layout_stack
     border_size="0"
     clip="false"
     follows="all"
     height="28"
   layout="topleft"
   left="0"
     mouse_opaque="false"
     name="toolbar_stack"
     orientation="horizontal"
     top="0"
     width="1310">
    <layout_panel
         auto_resize="false"
         user_resize="false"
         min_width="2"
         width="2" />
    <layout_panel
         auto_resize="false"
         layout="topleft"
         max_width="320"
         min_width="214"
         height="28"
         mouse_opaque="false"
		 name="chat_bar_layout_panel"
         user_resize="true"
     width="310" >
          <panel
            name="chat_bar"
            filename="panel_nearby_chat_bar.xml"
            left="0"
            height="28"
        width="308"
            top="0"
            mouse_opaque="false"
            follows="left|right"
          />
    </layout_panel>
    <!--
         This 5px Panel is an indicator of where the resize handle is.
         The panel provides a gap between the resize handle icon and a button to the right.  
        -->
    <layout_panel
     auto_resize="false"
     layout="topleft"
     max_width="5"
     min_width="5"
     name="chat_bar_resize_handle_panel"
     user_resize="false"
     width="5">
      <icon
       follows="top|right"
       height="25"
       image_name="ChatBarHandle"
       layout="topleft"
       left="-7"
       name="resize_handle"
       top="4"
       width="5" />
    </layout_panel>
    <layout_panel
        auto_resize="false"
        follows="left|right"
        height="28"
        layout="topleft"
        min_height="28"
        min_width="59"
        mouse_opaque="false"
        name="speak_panel"
        top_delta="0"
        user_resize="false"
        width="108">
      <talk_button
       follows="left|right"
       height="23"
       layout="topleft"
       left="0"
       name="talk"
       top="5"
       width="105">
        <show_button
         tab_stop="true">
          <init_callback
           function="Button.SetDockableFloaterToggle"
           parameter="voice_controls" />
        </show_button>
        <!-- do not remove halign attribute with default value. otherwise it can't be overridden in other locales.
                 & pad_right is default value for long label which can be right aligned. See EXT-6318 -->
        <speak_button
         halign="center"
         label="Speak"
         label_selected="Speak"
         name="speak_btn"
         pad_right="20"
         tab_stop="true"
         use_ellipses="true" />
      </talk_button>
    </layout_panel>
    <layout_panel
         auto_resize="false"
         follows="right"
         height="28"
         layout="topleft"
         min_height="28"
         min_width="65"
         mouse_opaque="false"
         name="gesture_panel"
         top_delta="0"
         user_resize="false"
         width="85">
      <gesture_combo_list
             follows="left|right"
             height="23"
             label="Gesture"
             layout="topleft"
             left="0"
             name="Gesture"
             tool_tip="Shows/hides gestures"
             top="5"
             width="82">
        <combo_button
                 pad_right="10"
                 use_ellipses="true" />
        <combo_list
                 page_lines="17" />
      </gesture_combo_list>
    </layout_panel>
    <layout_panel
         auto_resize="false"
     follows="right"
     height="28"
     layout="topleft"
     min_height="28"
     min_width="52"
     mouse_opaque="false"
     name="movement_panel"
     user_resize="false"
     width="83">
      <bottomtray_button
       follows="left|right"
       height="23"
       image_pressed="PushButton_Press"
       image_pressed_selected="PushButton_Selected_Press"
       image_selected="PushButton_Selected_Press"
       is_toggle="true"
       label="Move"
       layout="topleft"
       name="movement_btn"
       tool_tip="Shows/hides movement controls"
       top="5"
       use_ellipses="true"
       width="80">
        <init_callback
         function="Button.SetDockableFloaterToggle"
         parameter="moveview" />
      </bottomtray_button>

    </layout_panel>
    <layout_panel
     auto_resize="false"
         follows="left|right"
         height="28"
         layout="topleft"
         min_height="28"
         min_width="52"
         mouse_opaque="false"
         name="cam_panel"
         user_resize="false"
         width="83">
      <bottomtray_button
             follows="left|right"
             height="23"
             image_pressed="PushButton_Press"
             image_pressed_selected="PushButton_Selected_Press"
             image_selected="PushButton_Selected_Press"
             is_toggle="true"
             label="View"
             layout="topleft"
             left="0"
             name="camera_btn"
             tool_tip="Shows/hides camera controls"
             top="5"
             use_ellipses="true"
             width="80">
        <init_callback
                 function="Button.SetDockableFloaterToggle"
                 parameter="camera" />
      </bottomtray_button>
    </layout_panel>
    <layout_panel
         auto_resize="false"
         follows="left|right"
         height="28"
         layout="topleft"
     min_width="40"
		  mouse_opaque="false"
     name="snapshot_panel"
		  user_resize="false"
     width="39">
      <bottomtray_button
			follows="left|right"
			height="23"
       image_overlay="Snapshot_Off"
			image_pressed="PushButton_Press"
			image_pressed_selected="PushButton_Selected_Press"
			image_selected="PushButton_Selected_Press"
       is_toggle="true"
			layout="topleft"
			left="0"
       name="snapshots"
       tool_tip="Take snapshot"
			top="5"
       width="36">
        <init_callback
         function="Button.SetFloaterToggle"
         parameter="snapshot" />
      </bottomtray_button>
    </layout_panel>
    <layout_panel
		  auto_resize="false"
		  follows="left|right"
		  height="28"
		  layout="topleft"
		  min_height="28"
     min_width="52"
		  mouse_opaque="false"
     name="build_btn_panel"
		  user_resize="false"
     width="83">
      <!--*FIX: Build Floater is not opened with default registration. Will be fixed soon.
Disabled for now.
-->
      <bottomtray_button
			follows="left|right"
			height="23"
			image_pressed="PushButton_Press"
			image_pressed_selected="PushButton_Selected_Press"
			image_selected="PushButton_Selected_Press"
       is_toggle="true"
       label="Build"
			layout="topleft"
			left="0"
       name="build_btn"
       tool_tip="Shows/hides Build Tools"
			top="5"
			use_ellipses="true"
       width="80">
        <commit_callback
         function="Build.Toggle"
         parameter="build" />
      </bottomtray_button>
    </layout_panel>
    <layout_panel
		  auto_resize="false"
		  follows="left|right"
		  height="28"
		  layout="topleft"
         min_height="28"
     min_width="52"
         mouse_opaque="false"
     name="search_btn_panel"
         user_resize="false"
         width="83">
            <bottomtray_button
             follows="left|right"
             height="23"
             image_pressed="PushButton_Press"
             image_pressed_selected="PushButton_Selected_Press"
             image_selected="PushButton_Selected_Press"
             is_toggle="true"
             label="Search"
             layout="topleft"
             left="0"
             name="search_btn"
             tool_tip="Shows/hides Search"
             top="5"
             use_ellipses="true"
             width="80">
                <init_callback
                 function="Button.SetFloaterToggle"
                 parameter="search" />
            </bottomtray_button>
        </layout_panel>
        <layout_panel
         auto_resize="false"
         follows="left|right"
         height="28"
         layout="topleft"
         min_height="28"
         min_width="52"
         mouse_opaque="false"
         name="world_map_btn_panel"
         user_resize="false"
         width="83">
            <bottomtray_button
             follows="left|right"
             height="23"
             image_pressed="PushButton_Press"
             image_pressed_selected="PushButton_Selected_Press"
             image_selected="PushButton_Selected_Press"
             is_toggle="true"
             label="Map"
             layout="topleft"
             left="0"
             name="world_map_btn"
             tool_tip="Shows/hides World Map"
             top="5"
             use_ellipses="true"
             width="80">
                <init_callback
                 function="Button.SetFloaterToggle"
                 parameter="world_map" />
            </bottomtray_button>
        </layout_panel>
        <layout_panel
         auto_resize="false"
         follows="left|right"
         height="28"
         layout="topleft"
         min_height="28"
     min_width="52"
         mouse_opaque="false"
         name="mini_map_btn_panel"
         user_resize="false"
         width="83">
            <bottomtray_button
             follows="left|right"
             height="23"
             image_pressed="PushButton_Press"
             image_pressed_selected="PushButton_Selected_Press"
             image_selected="PushButton_Selected_Press"
             is_toggle="true"
             label="Mini-Map"
             layout="topleft"
             left="0"
             name="mini_map_btn"
             tool_tip="Shows/hides Mini-Map"
             top="5"
             use_ellipses="true"
             width="80">
                <init_callback
                 function="Button.SetFloaterToggle"
                 parameter="mini_map" />
            </bottomtray_button>
        </layout_panel>
        <layout_panel
         follows="left|right"
         height="30"
         layout="topleft"
         min_width="95"
         mouse_opaque="false"
         name="chiclet_list_panel"
         top="0"
         user_resize="false"
         width="189">
<!--*NOTE: min_width of the chiclet_panel (chiclet_list) must be the same
as for parent layout_panel (chiclet_list_panel) to resize bottom tray properly. EXT-991-->
      <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="true"
                 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="7" />
        <button
                 auto_resize="true"
                 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="7" />
      </chiclet_panel>
    </layout_panel>
    <layout_panel auto_resize="false"
                      user_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"
         user_resize="false"
         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="true"
                 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"
         user_resize="false"
         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="true"
                 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_panel
		   auto_resize="false"
		   user_resize="false"
		   min_width="4"
		   name="DUMMY2"
		   width="8" />
  </layout_stack>
</panel>