Add quit button to toolbar.
This commit is contained in:
BIN
indra/newview/skins/default/textures/icn_toolbar_quit.tga
Normal file
BIN
indra/newview/skins/default/textures/icn_toolbar_quit.tga
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 B |
@@ -94,5 +94,6 @@
|
||||
-->
|
||||
<check_box bottom_delta="-20" label="Tutorial" name="tutorial_btn" follows="left|right" control_name="ToolbarVisibleHelpTutorial"/>
|
||||
<check_box bottom_delta="-20" label="About [SHORT_APP_NAME]" name="about_btn" follows="left|right" control_name="ToolbarVisibleAbout"/>
|
||||
<check_box bottom_delta="-20" label="Quit" name="quit_btn" follows="left|right" control_name="ToolbarVisibleQuit"/>
|
||||
<check_box bottom_delta="-20" label="Change Buttons" name="change_buttons_btn" follows="left|right" control_name="ToolbarVisibleToolbarPrefs"/>
|
||||
</floater>
|
||||
|
||||
@@ -472,6 +472,11 @@
|
||||
<button.commit_callback function="ShowFloater" parameter="about"/>
|
||||
</button>
|
||||
</layout_panel>
|
||||
<layout_panel name="panelquit" height="24" width="50" user_resize="false" visibility_control="ToolbarVisibleQuit">
|
||||
<button bottom="0" height="24" label="Quit" name="quit_btn" image_overlay="icn_toolbar_quit.tga" image_overlay_alignment="left" image_selected="toolbar_btn_selected.tga" image_unselected="toolbar_btn_enabled.tga" image_disabled="toolbar_btn_disabled.tga" scale_image="true" width="50" follows="left|right">
|
||||
<button.commit_callback function="ShowFloater" parameter="quit"/>
|
||||
</button>
|
||||
</layout_panel>
|
||||
<layout_panel name="paneltoolbarprefs" height="24" width="50" user_resize="false" visibility_control="ToolbarVisibleToolbarPrefs">
|
||||
<button bottom="0" height="24" label="Change Buttons" name="change_buttons_btn" image_overlay="icn_toolbar_change_buttons.tga" image_overlay_alignment="left" image_selected="toolbar_btn_selected.tga" image_unselected="toolbar_btn_enabled.tga" image_disabled="toolbar_btn_disabled.tga" scale_image="true" width="50" follows="left|right">
|
||||
<button.commit_callback function="ShowFloater" parameter="floater_toolbar_prefs.xml"/>
|
||||
|
||||
Reference in New Issue
Block a user