Advertisement
Guest User

panel_bottomtray.xml

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