Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/session/menu.xml
Show All 18 Lines | <object size="4 36 100%-4 50%+20"> | ||||
</object> | </object> | ||||
<!-- Chat button --> | <!-- Chat button --> | ||||
<object type="button" | <object type="button" | ||||
name="chatButton" | name="chatButton" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 32 100% 60" | size="0 32 100% 60" | ||||
tooltip_style="sessionToolTip" | tooltip_style="sessionToolTip" | ||||
hotkey="chat" | |||||
> | > | ||||
<translatableAttribute id="caption">Chat</translatableAttribute> | <translatableAttribute id="caption">Chat</translatableAttribute> | ||||
<action on="Press">chatMenuButton();</action> | <action on="Press">openChat();</action> | ||||
</object> | </object> | ||||
<!-- Save game button --> | <!-- Save game button --> | ||||
<object type="button" | <object type="button" | ||||
name="saveGameButton" | name="saveGameButton" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 64 100% 92" | size="0 64 100% 92" | ||||
tooltip_style="sessionToolTip" | tooltip_style="sessionToolTip" | ||||
> | > | ||||
<translatableAttribute id="caption">Save</translatableAttribute> | <translatableAttribute id="caption">Save</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
openSave(); | openSave(); | ||||
</action> | </action> | ||||
</object> | </object> | ||||
<!-- Summary button --> | <!-- Summary button --> | ||||
<object type="button" | <object type="button" | ||||
name="summaryButton" | name="summaryButton" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 96 100% 124" | size="0 96 100% 124" | ||||
tooltip_style="sessionToolTip" | tooltip_style="sessionToolTip" | ||||
hotkey="summary" | |||||
> | > | ||||
<translatableAttribute id="caption">Summary</translatableAttribute> | <translatableAttribute id="caption">Summary</translatableAttribute> | ||||
<action on="Press">openGameSummary();</action> | <action on="Press">openGameSummary();</action> | ||||
</object> | </object> | ||||
<!-- Lobby button --> | <!-- Lobby button --> | ||||
<object type="button" | <object type="button" | ||||
name="lobbyButton" | name="lobbyButton" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 128 100% 156" | size="0 128 100% 156" | ||||
tooltip_style="sessionToolTip" | tooltip_style="sessionToolTip" | ||||
hotkey="lobby" | hotkey="lobby" | ||||
> | > | ||||
<translatableAttribute id="caption">Lobby</translatableAttribute> | <translatableAttribute id="caption">Lobby</translatableAttribute> | ||||
<translatableAttribute id="tooltip">Show the multiplayer lobby in a dialog window.</translatableAttribute> | |||||
<action on="Press">lobbyDialogButton();</action> | <action on="Press">lobbyDialogButton();</action> | ||||
</object> | </object> | ||||
<!-- Options button --> | <!-- Options button --> | ||||
<object type="button" | <object type="button" | ||||
name="optionsButton" | name="optionsButton" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 160 100% 188" | size="0 160 100% 188" | ||||
tooltip_style="sessionToolTip" | tooltip_style="sessionToolTip" | ||||
> | > | ||||
<translatableAttribute id="caption">Options</translatableAttribute> | <translatableAttribute id="caption">Options</translatableAttribute> | ||||
<action on="Press">optionsMenuButton();</action> | <action on="Press">optionsMenuButton();</action> | ||||
</object> | </object> | ||||
<!-- Pause / Resume Button --> | <!-- Pause / Resume Button --> | ||||
<object type="button" | <object type="button" | ||||
name="pauseButton" | name="pauseButton" | ||||
style="StoneButtonFancy" | style="StoneButtonFancy" | ||||
size="0 192 100% 220" | size="0 192 100% 220" | ||||
tooltip_style="sessionToolTip" | tooltip_style="sessionToolTip" | ||||
hotkey="pause" | |||||
> | > | ||||
<translatableAttribute id="caption">Pause</translatableAttribute> | <translatableAttribute id="caption">Pause</translatableAttribute> | ||||
<action on="Press">togglePause();</action> | <action on="Press">togglePause();</action> | ||||
</object> | </object> | ||||
<!-- Resign button --> | <!-- Resign button --> | ||||
<object type="button" | <object type="button" | ||||
name="menuResignButton" | name="menuResignButton" | ||||
Show All 22 Lines |
Wildfire Games · Phabricator