Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/lobby/lobby_panels.xml
Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | <object name="gameInfo" type="image" sprite="ModernDarkBoxGold" hidden="true"> | ||||
<object name="sgNbPlayers" size="3% 3% 97% 3%+15" type="text" style="ModernLabelText"/> | <object name="sgNbPlayers" size="3% 3% 97% 3%+15" type="text" style="ModernLabelText"/> | ||||
<!-- Game Start Time --> | <!-- Game Start Time --> | ||||
<object name="sgGameStartTime" size="3%+24 6% 97% 3%+35" type="text" style="ModernLabelText"/> | <object name="sgGameStartTime" size="3%+24 6% 97% 3%+35" type="text" style="ModernLabelText"/> | ||||
<!-- Player Names --> | <!-- Player Names --> | ||||
<object name="sgPlayersNames" size="0 0 100% 100%" type="text" style="MapPlayerList"/> | <object name="sgPlayersNames" size="0 0 100% 100%" type="text" style="MapPlayerList"/> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
<object name="joinGameButton" type="button" style="ModernButtonRed" size="0 100%-79 100% 100%-54" hidden="true"> | <object name="joinGameButton" type="button" style="ModernButtonRed" size="0 100%-79 100% 100%-54" hotkey="joingame" hidden="true"> | ||||
<translatableAttribute id="caption" comment="Join the game currently selected in the list.">Join Game</translatableAttribute> | <translatableAttribute id="caption" comment="Join the game currently selected in the list.">Join Game</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
joinButton(); | joinButton(); | ||||
</action> | </action> | ||||
</object> | </object> | ||||
<object name="hostButton" type="button" style="ModernButtonRed" size="0 100%-52 100% 100%-27"> | <object name="hostButton" type="button" style="ModernButtonRed" size="0 100%-52 100% 100%-27" hotkey="hostgame"> | ||||
<translatableAttribute id="caption">Host Game</translatableAttribute> | <translatableAttribute id="caption">Host Game</translatableAttribute> | ||||
<action on="Press"> | <action on="Press"> | ||||
hostGame(); | hostGame(); | ||||
</action> | </action> | ||||
</object> | </object> | ||||
<object name="leaveButton" type="button" style="ModernButtonRed" size="0 100%-25 100% 100%"> | <object name="leaveButton" type="button" style="ModernButtonRed" size="0 100%-25 100% 100%"> | ||||
<action on="Press">leaveLobby();</action> | <action on="Press">leaveLobby();</action> | ||||
▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator