Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/top_panel/button_menu.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<object type="button" | <object type="button" | ||||
name="menuButton" | name="menuButton" | ||||
size="100%-164 4 100%-8 32" | size="100%-164 4 100%-8 32" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
tooltip_style="sessionToolTip" | tooltip_style="sessionToolTip" | ||||
z="70" | z="70" | ||||
hotkey="session.gui.menu.toggle" | |||||
> | > | ||||
<!-- This object covers up the text on the menu | <!-- This object covers up the text on the menu | ||||
buttons as they slide by so that you don't see | buttons as they slide by so that you don't see | ||||
them on top of the main menu button --> | them on top of the main menu button --> | ||||
<object size="0 -4 100% 0" type="image" sprite="horizontalThinBorder" ghost="true"/> | <object size="0 -4 100% 0" type="image" sprite="horizontalThinBorder" ghost="true"/> | ||||
<translatableAttribute id="caption">Menu</translatableAttribute> | <translatableAttribute id="caption">Menu</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
toggleMenu(); | toggleMenu(); | ||||
</action> | </action> | ||||
</object> | </object> |
Wildfire Games · Phabricator