Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/replaymenu/replay_menu.xml
Show First 20 Lines • Show All 244 Lines • ▼ Show 20 Lines | <object name="bottomPanel" size="25 100%-55 100%-5 100%-25" > | ||||
<action on="Press">Engine.SwitchGuiPage("page_pregame.xml");</action> | <action on="Press">Engine.SwitchGuiPage("page_pregame.xml");</action> | ||||
</object> | </object> | ||||
<!-- Delete Button --> | <!-- Delete Button --> | ||||
<object name="deleteReplayButton" type="button" style="StoneButton" size="20%+25 0 37%+25 100%" hotkey="session.savedgames.delete"> | <object name="deleteReplayButton" type="button" style="StoneButton" size="20%+25 0 37%+25 100%" hotkey="session.savedgames.delete"> | ||||
<translatableAttribute id="caption">Delete</translatableAttribute> | <translatableAttribute id="caption">Delete</translatableAttribute> | ||||
<action on="Press">deleteReplayButtonPressed();</action> | <action on="Press">deleteReplayButtonPressed();</action> | ||||
</object> | </object> | ||||
elexis: whitespace | |||||
<!-- Reload Cache Button --> | |||||
<object type="button" style="StoneButton" size="40%+25 0 57%+25 100%"> | |||||
<translatableAttribute id="caption">Reload Cache</translatableAttribute> | |||||
<action on="Press">reloadCache();</action> | |||||
</object> | |||||
<!-- Summary Button --> | <!-- Summary Button --> | ||||
<object name="summaryButton" type="button" style="StoneButton" size="65%-50 0 82%-50 100%"> | <object name="summaryButton" type="button" style="StoneButton" size="65%-50 0 82%-50 100%"> | ||||
<translatableAttribute id="caption">Summary</translatableAttribute> | <translatableAttribute id="caption">Summary</translatableAttribute> | ||||
Done Inline Actionsjust Reload, but add a tooltip to explain what this is actually about. <translatableAttribute id="tooltip">Rebuild the replay cache from scratch. Potentially slow!</translatableAttribute> elexis: just Reload, but add a tooltip to explain what this is actually about.
`<translatableAttribute… | |||||
<action on="Press">showReplaySummary();</action> | <action on="Press">showReplaySummary();</action> | ||||
</object> | </object> | ||||
<!-- Start Replay Button --> | <!-- Start Replay Button --> | ||||
<object name="startReplayButton" type="button" style="StoneButton" size="83%-25 0 100%-25 100%"> | <object name="startReplayButton" type="button" style="StoneButton" size="83%-25 0 100%-25 100%"> | ||||
<translatableAttribute id="caption">Start Replay</translatableAttribute> | <translatableAttribute id="caption">Start Replay</translatableAttribute> | ||||
<action on="Press">startReplay();</action> | <action on="Press">startReplay();</action> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
</objects> | </objects> |
Wildfire Games · Phabricator
whitespace