Advertisement
Guest User

panel_bottomtray.xml

a guest
Mar 26th, 2010
1,084
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 17.65 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8" standalone="yes" ?>
  2. <panel
  3. mouse_opaque="true"
  4. background_visible="true"
  5. bg_alpha_color="DkGray"
  6. bg_opaque_color="DkGray"
  7. follows="left|bottom|right"
  8. height="33"
  9. layout="topleft"
  10. left="0"
  11. name="bottom_tray"
  12. top="28"
  13. chrome="true"
  14. border_visible="false"
  15. width="1000">
  16.   <string name="SpeakBtnToolTip">Turns microphone on/off</string>
  17.   <string name="VoiceControlBtnToolTip">Shows/hides voice control panel</string>
  18.     <layout_stack
  19.     mouse_opaque="false"
  20.     border_size="0"
  21.     clip="false"
  22.     follows="all"
  23.     height="28"
  24.     layout="topleft"
  25.     left="0"
  26.     name="toolbar_stack"
  27.     orientation="horizontal"
  28.     top="0"
  29.     width="1000">
  30.         <icon
  31.         auto_resize="false"
  32.         follows="left|right"
  33.         height="10"
  34.         image_name="spacer24.tga"
  35.         layout="topleft"
  36.         min_width="2"
  37.         left="0"
  38.         top="0"
  39.         width="2" />
  40.         <layout_panel
  41.     mouse_opaque="false"
  42.         auto_resize="false"
  43.         follows="left|right"
  44.         height="28"
  45.         layout="topleft"
  46.         left="0"
  47.         min_height="23"
  48.         width="450"
  49.         top="4"
  50.         max_width="450"
  51.         min_width="216"
  52.         name="chat_bar"
  53.         user_resize="false"
  54.         filename="panel_nearby_chat_bar.xml" />
  55.         <layout_panel
  56.         mouse_opaque="false"
  57.         auto_resize="false"
  58.         follows="right"
  59.         height="28"
  60.         layout="topleft"
  61.         min_height="28"
  62.         width="105"
  63.         top_delta="0"
  64.         min_width="80"
  65.         name="speak_panel"
  66.         user_resize="false">
  67.           <talk_button
  68.           follows="left|right"
  69.           height="23"
  70.           speak_button.tab_stop="true"
  71.           show_button.tab_stop="true"
  72.           layout="topleft"
  73.           left="0"
  74.           name="talk"
  75.           top="5"
  76.          width="105">
  77.             <!-- do not remove halign attribute with default value. otherwise it can't be overridden in other locales.
  78.             & pad_right is default value for long label which can be right aligned. See EXT-6318 -->
  79.   <speak_button
  80.    halign="center"
  81.    name="speak_btn"
  82.    label="Speak"
  83.    label_selected="Speak"
  84.    pad_right="22"
  85.    use_ellipses="true"
  86.    />
  87.               <show_button>
  88.                   <show_button.init_callback
  89.                   function="Button.SetDockableFloaterToggle"
  90.                   parameter="voice_controls" />
  91.               </show_button>
  92.           </talk_button>
  93.         </layout_panel>
  94.         <icon
  95.            auto_resize="false"
  96.            follows="left|right"
  97.            height="10"
  98.            image_name="spacer24.tga"
  99.            layout="topleft"
  100.            left="0"
  101.            name="after_speak_panel"
  102.            min_width="3"
  103.            top="0"
  104.            width="3"/>
  105.         <layout_panel
  106.         mouse_opaque="false"
  107.         auto_resize="false"
  108.         follows="right"
  109.         height="28"
  110.         layout="topleft"
  111.         min_height="28"
  112.         width="82"
  113.         top_delta="0"
  114.         min_width="62"
  115.         name="gesture_panel"
  116.         user_resize="false">
  117.          <gesture_combo_list
  118.          follows="left|right"
  119.          height="23"
  120.          label="Gesture"
  121.          layout="topleft"
  122.          name="Gesture"
  123.          left="0"
  124.          top="5"
  125.          width="82"
  126.          tool_tip="Shows/hides gestures">
  127.              <gesture_combo_list.combo_button
  128.              pad_right="10"
  129.              use_ellipses="true" />
  130.          </gesture_combo_list>
  131.         </layout_panel>
  132.          <icon
  133.         auto_resize="false"
  134.         color="0 0 0 0"
  135.         follows="left|right"
  136.         height="10"
  137.         image_name="spacer24.tga"
  138.         layout="topleft"
  139.         left="0"
  140.         min_width="3"
  141.         name="after_gesture_panel"
  142.         top="0"
  143.         width="3"/>
  144.         <layout_panel
  145.         mouse_opaque="false"
  146.         auto_resize="false"
  147.         follows="right"
  148.         height="28"
  149.         layout="topleft"
  150.         min_height="28"
  151.         name="movement_panel"
  152.         user_resize="false"
  153.         width="80"
  154.         min_width="49">
  155.             <button
  156.                 image_selected="PushButton_Selected_Press"
  157.                 image_pressed="PushButton_Press"
  158.          image_pressed_selected="PushButton_Selected_Press"
  159.             follows="left|right"
  160.             height="23"
  161.             use_ellipses="true"
  162.             is_toggle="true"
  163.             label="Move"
  164.             layout="topleft"
  165.             name="movement_btn"
  166.             tool_tip="Shows/hides movement controls"
  167.             top="5"
  168.             width="80">
  169.                 <button.init_callback
  170.                 function="Button.SetDockableFloaterToggle"
  171.                 parameter="moveview" />
  172.             </button>
  173.         </layout_panel>
  174.          <icon
  175.         auto_resize="false"
  176.         color="0 0 0 0"
  177.         follows="left|right"
  178.         height="10"
  179.         image_name="spacer24.tga"
  180.         layout="topleft"
  181.         left="0"
  182.         min_width="3"
  183.         name="after_movement_panel"
  184.         top="0"
  185.         width="3"/>
  186.         <layout_panel
  187.         mouse_opaque="false"
  188.         auto_resize="false"
  189.         follows="left|right"
  190.         height="28"
  191.         layout="topleft"
  192.         min_height="28"
  193.         min_width="49"
  194.         name="cam_panel"
  195.         user_resize="false"
  196.         width="80">
  197.             <button
  198.                 image_selected="PushButton_Selected_Press"
  199.                 image_pressed="PushButton_Press"
  200.          image_pressed_selected="PushButton_Selected_Press"
  201.             follows="left|right"
  202.             height="23"
  203.             use_ellipses="true"
  204.             is_toggle="true"
  205.             label="View"
  206.             layout="topleft"
  207.             left="0"
  208.             tool_tip="Shows/hides camera controls"
  209.             top="5"
  210.             name="camera_btn"
  211.             width="80">
  212.                 <button.init_callback
  213.                 function="Button.SetDockableFloaterToggle"
  214.                 parameter="camera" />
  215.             </button>
  216.         </layout_panel>
  217.          <icon
  218.         auto_resize="false"
  219.         color="0 0 0 0"
  220.         follows="left|right"
  221.         height="10"
  222.         image_name="spacer24.tga"
  223.         layout="topleft"
  224.         left="0"
  225.         min_width="3"
  226.         name="after_cam_panel"
  227.         top="0"
  228.         width="3"/>
  229.         <layout_panel
  230.         mouse_opaque="false"
  231.         auto_resize="false"
  232.         follows="left|right"
  233.         height="28"
  234.         layout="topleft"
  235.         min_height="28"
  236.         min_width="49"
  237.         name="map_panel"
  238.         user_resize="false"
  239.         width="80">
  240.             <button
  241.                 image_selected="PushButton_Selected_Press"
  242.                 image_pressed="PushButton_Press"
  243.          image_pressed_selected="PushButton_Selected_Press"
  244.             follows="left|right"
  245.             height="23"
  246.             use_ellipses="true"
  247.             is_toggle="true"
  248.             label="Map"
  249.             layout="topleft"
  250.             left="0"
  251.             tool_tip="Shows/hides World Map"
  252.             top="5"
  253.             name="world_map_btn"
  254.             width="80">
  255.                 <button.init_callback
  256.                 function="Button.SetDockableFloaterToggle"
  257.                 parameter="world_map" />
  258.             </button>
  259.          </layout_panel>
  260.          <icon
  261.         auto_resize="false"
  262.         color="0 0 0 0"
  263.         follows="left|right"
  264.         height="10"
  265.         image_name="spacer24.tga"
  266.         layout="topleft"
  267.         left="0"
  268.         min_width="3"
  269.         name="after_map_button"
  270.         top="0"
  271.         width="3"/>
  272.         <layout_panel
  273.         mouse_opaque="false"
  274.         auto_resize="false"
  275.         follows="left|right"
  276.         height="28"
  277.         layout="topleft"
  278.         min_height="28"
  279.         min_width="49"
  280.         name="mini-map_panel"
  281.         user_resize="false"
  282.         width="80">
  283.             <button
  284.                 image_selected="PushButton_Selected_Press"
  285.                 image_pressed="PushButton_Press"
  286.          image_pressed_selected="PushButton_Selected_Press"
  287.             follows="left|right"
  288.             height="23"
  289.             use_ellipses="true"
  290.             is_toggle="true"
  291.             label="Mini-Map"
  292.             layout="topleft"
  293.             left="0"
  294.             tool_tip="Shows/hides Mini-Map"
  295.             top="5"
  296.             name="mini_map_btn"
  297.             width="80">
  298.                 <button.init_callback
  299.                 function="Button.SetDockableFloaterToggle"
  300.                 parameter="mini_map" />
  301.             </button>
  302.         </layout_panel>
  303.         <icon
  304.         auto_resize="false"
  305.         color="0 0 0 0"
  306.         follows="left|right"
  307.         height="10"
  308.         image_name="spacer24.tga"
  309.         layout="topleft"
  310.         left="0"
  311.         min_width="3"
  312.         name="after_mini_map_button"
  313.         top="0"
  314.         width="3"/>
  315.         <layout_panel
  316.         mouse_opaque="false"
  317.         auto_resize="false"
  318.         follows="left|right"
  319.         height="28"
  320.         layout="topleft"
  321.         min_height="28"
  322.         min_width="49"
  323.         name="inventory_panel"
  324.         user_resize="false"
  325.         width="80">
  326.             <button
  327.                 image_selected="PushButton_Selected_Press"
  328.                 image_pressed="PushButton_Press"
  329.          image_pressed_selected="PushButton_Selected_Press"
  330.             follows="left|right"
  331.             height="23"
  332.             use_ellipses="true"
  333.             is_toggle="true"
  334.             label="Inventory"
  335.             layout="topleft"
  336.             left="0"
  337.             tool_tip="Shows/hides Inventory"
  338.             top="5"
  339.             name="inventory_btn"
  340.             width="80">
  341.                 <button.init_callback
  342.                 function="Button.SetDockableFloaterToggle"
  343.                 parameter="inventory" />
  344.             </button>
  345.         </layout_panel>
  346.         <icon
  347.         auto_resize="false"
  348.         color="0 0 0 0"
  349.         follows="left|right"
  350.         height="10"
  351.         image_name="spacer24.tga"
  352.         layout="topleft"
  353.         left="0"
  354.         min_width="3"
  355.         name="after_inventory_button"
  356.         top="0"
  357.         width="3"/>
  358.         <layout_panel
  359.         mouse_opaque="false"
  360.         auto_resize="false"
  361.         follows="left|right"
  362.         height="28"
  363.         layout="topleft"
  364.         min_width="40"
  365.         name="snapshot_panel"
  366.         width="40">
  367.             <button
  368.              follows="left|right"
  369.             height="23"
  370.             image_selected="PushButton_Selected_Press"
  371.             image_pressed="PushButton_Press"
  372.             image_pressed_selected="PushButton_Selected_Press"
  373.             left="0"
  374.             label=""
  375.             layout="topleft"
  376.             name="snapshots"
  377.             width="36"
  378.             top="5"
  379.             is_toggle="true"
  380.             image_overlay="Snapshot_Off"
  381.             tool_tip="Take snapshot">
  382.                 <button.init_callback
  383.                  function="Button.SetFloaterToggle"
  384.                  parameter="snapshot" />
  385.             </button>
  386.         </layout_panel>
  387.         <layout_panel
  388.         mouse_opaque="false"
  389.         follows="left|right"
  390.         height="30"
  391.         layout="topleft"
  392.         top="0"
  393.         name="chiclet_list_panel"
  394.         width="189"
  395.         min_width="60"
  396.         user_resize="false"
  397.         auto_resize="true">
  398. <!--*NOTE: min_width of the chiclet_panel (chiclet_list) must be the same
  399. as for parent layout_panel (chiclet_list_panel) to resize bottom tray properly. EXT-991-->
  400.             <chiclet_panel
  401.         mouse_opaque="false"
  402.             follows="left|right"
  403.             height="24"
  404.             layout="topleft"
  405.             left="1"
  406.             min_width="60"
  407.             name="chiclet_list"
  408.             top="7"
  409.             chiclet_padding="4"
  410.             scrolling_offset="40"
  411.             width="189">
  412.                 <button
  413.                 auto_resize="true"
  414.                 follows="right"
  415.                 height="29"
  416.                 image_selected="SegmentedBtn_Left_Off"
  417.                 image_unselected="SegmentedBtn_Left_Off"
  418.          image_hover_selected="SegmentedBtn_Left_Over"
  419.          image_hover_unselected="SegmentedBtn_Left_Over"
  420.          image_pressed="SegmentedBtn_Left_Press"
  421.          image_pressed_selected="SegmentedBtn_Left_Press"
  422.          image_overlay="Arrow_Small_Left"
  423.                 layout="topleft"
  424.                 name="chicklet_left_scroll_button"
  425.        scale_image="true"
  426.                 tab_stop="false"
  427.                 top="-4"
  428.                 right_pad="2"
  429.                 visible="false"
  430.                 width="7" />
  431.                 <button
  432.                 auto_resize="true"
  433.                 follows="right"
  434.                 height="29"
  435.                 image_selected="SegmentedBtn_Right_Off"
  436.                 image_unselected="SegmentedBtn_Right_Off"
  437.          image_hover_selected="SegmentedBtn_Right_Over"
  438.          image_hover_unselected="SegmentedBtn_Right_Over"
  439.          image_pressed="SegmentedBtn_Right_Press"
  440.          image_pressed_selected="SegmentedBtn_Right_Press"
  441.          image_overlay="Arrow_Small_Right"
  442.                 layout="topleft"
  443.                 name="chicklet_right_scroll_button"
  444.        scale_image="true"
  445.                 tab_stop="false"
  446.                 top="-4"
  447.                 visible="false"
  448.                 width="7" />
  449.             </chiclet_panel>
  450.         </layout_panel>
  451.         <icon
  452.         auto_resize="false"
  453.         color="0 0 0 0"
  454.         follows="left|right"
  455.         height="10"
  456.         image_name="spacer24.tga"
  457.         layout="topleft"
  458.         left="0"
  459.         min_width="4"
  460.         name="DUMMY"
  461.         top="0"
  462.         width="5"/>
  463.         <layout_panel
  464.         auto_resize="false"
  465.         follows="right"
  466.         height="28"
  467.         layout="topleft"
  468.         min_height="28"
  469.         top="0"
  470.         name="im_well_panel"
  471.         width="35"
  472.         min_width="35"
  473.         user_resize="false">
  474.             <chiclet_im_well
  475.             max_displayed_count="99"
  476.             flash_period="0.3"
  477.             follows="right"
  478.             height="28"
  479.             layout="topleft"
  480.             left="0"
  481.             name="im_well"
  482.             top="0"
  483.             width="35">
  484.              <!--
  485. Emulate 4 states of button by background images, see details in EXT-3147. The same should be for notification_well button
  486. xml attribute           Description
  487. image_unselected        "Unlit" - there are no new messages
  488. image_selected          "Unlit" + "Selected" - there are no new messages and the Well is open
  489. image_pressed           "Lit" - there are new messages
  490. image_pressed_selected  "Lit" + "Selected" - there are new messages and the Well is open
  491.             -->
  492.                 <button
  493.                 auto_resize="true"
  494.                 follows="right"
  495.                 halign="center"
  496.                 height="23"
  497.                 image_overlay="Unread_IM"
  498.                 image_overlay_alignment="center"
  499.                 image_pressed="WellButton_Lit"
  500.                 image_pressed_selected="WellButton_Lit_Selected"
  501.                 image_selected="PushButton_Press"
  502.                 label_color="Black"
  503.                 left="0"
  504.                 name="Unread IM messages"
  505.                 tool_tip="Conversations"
  506.                 width="34" >
  507.                     <button.init_callback
  508.                     function="Button.SetDockableFloaterToggle"
  509.                     parameter="im_well_window" />
  510.                 </button>
  511.             </chiclet_im_well>
  512.         </layout_panel>
  513.         <layout_panel
  514.         auto_resize="false"
  515.         follows="right"
  516.         height="28"
  517.         layout="topleft"
  518.         min_height="28"
  519.         top="0"
  520.         left_pad="3"
  521.         name="notification_well_panel"
  522.         width="40"
  523.         min_width="40"
  524.         user_resize="false">
  525.          <icon
  526.         auto_resize="false"
  527.         color="0 0 0 0"
  528.         follows="left|right"
  529.         height="10"
  530.         image_name="spacer24.tga"
  531.         layout="topleft"
  532.         left="0"
  533.         min_width="4"
  534.         top="0"
  535.         width="5" />
  536.             <chiclet_notification
  537.             flash_period="0.25"
  538.             follows="right"
  539.             height="23"
  540.             layout="topleft"
  541.             left="0"
  542.             max_displayed_count="99"
  543.             name="notification_well"
  544.             top="5"
  545.             width="35">
  546.               <button
  547.                 bottom_pad="3"
  548.                 image_pressed="WellButton_Lit"
  549.                 image_pressed_selected="WellButton_Lit_Selected"
  550.                 image_selected="PushButton_Press"
  551.              auto_resize="true"
  552.               halign="center"
  553.               height="23"
  554.               follows="right"
  555.                label_color="Black"
  556.               left="0"
  557.               name="Unread"
  558.               image_overlay="Notices_Unread"
  559.               image_overlay_alignment="center"
  560.               tool_tip="Notifications"
  561.               width="34" >
  562.                   <button.init_callback
  563.                   function="Button.SetDockableFloaterToggle"
  564.                   parameter="notification_well_window" />
  565.               </button>
  566.          <icon
  567.         auto_resize="false"
  568.         color="0 0 0 0"
  569.         follows="left|right"
  570.         height="10"
  571.         image_name="spacer24.tga"
  572.         layout="topleft"
  573.         left="0"
  574.         min_width="4"
  575.         top="0"
  576.         width="5" />
  577.         </chiclet_notification>
  578.         </layout_panel>
  579.     </layout_stack>
  580. </panel>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement