Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup/gamesetup.xml
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Lines | <object hidden="true" name="setupWindow"> | ||||
type="button" | type="button" | ||||
style="IconButton" | style="IconButton" | ||||
sprite="iconInfoGold" | sprite="iconInfoGold" | ||||
sprite_over="iconInfoWhite" | sprite_over="iconInfoWhite" | ||||
size="85%-37 0 85%-21 16" | size="85%-37 0 85%-21 16" | ||||
> | > | ||||
<translatableAttribute id="tooltip">View civilization info</translatableAttribute> | <translatableAttribute id="tooltip">View civilization info</translatableAttribute> | ||||
<action on="Press"><![CDATA[ | <action on="Press"><![CDATA[ | ||||
Engine.PushGuiPage("page_civinfo.xml"); | Engine.PushGuiPage(g_CivInfo.page ? g_CivInfo.page : "page_civinfo.xml", { "civ": g_CivInfo.code, "callback": "storeCivInfoPage" }); | ||||
]]></action> | ]]></action> | ||||
</object> | </object> | ||||
elexis: Could move the fallback of `g_CivInfo.page` to the top of `gamesetup.js`, no? | |||||
Not Done Inline Actionswhat top ffffffff: what top | |||||
Not Done Inline Actionsreally sorry about my answer wasn't really focused ofc yes! ffffffff: really sorry about my answer wasn't really focused
ofc yes!
:( | |||||
<object name="civResetButton" | <object name="civResetButton" | ||||
type="button" | type="button" | ||||
style="IconButton" | style="IconButton" | ||||
sprite="iconResetGold" | sprite="iconResetGold" | ||||
sprite_over="iconResetWhite" | sprite_over="iconResetWhite" | ||||
size="85%-16 0 85% 16" | size="85%-16 0 85% 16" | ||||
> | > | ||||
<translatableAttribute id="tooltip">Reset any civilizations that have been selected to the default (random)</translatableAttribute> | <translatableAttribute id="tooltip">Reset any civilizations that have been selected to the default (random)</translatableAttribute> | ||||
▲ Show 20 Lines • Show All 250 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
Could move the fallback of g_CivInfo.page to the top of gamesetup.js, no?