Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/splashscreen/splashscreen.xml
Show All 22 Lines | <object type="button" style="ModernButtonRed" size="50%+5 100%-45 100%-18 100%-17"> | ||||
<translatableAttribute id="caption">Known Issues (web)</translatableAttribute> | <translatableAttribute id="caption">Known Issues (web)</translatableAttribute> | ||||
<action on="Press"><![CDATA[ | <action on="Press"><![CDATA[ | ||||
openURL("https://www.wildfiregames.com/forum/index.php?showtopic=15796"); | openURL("https://www.wildfiregames.com/forum/index.php?showtopic=15796"); | ||||
]]></action> | ]]></action> | ||||
</object> | </object> | ||||
<object name="btnOK" type="button" style="ModernButtonRed" size="18 100%-45 50%-5 100%-17" hotkey="cancel"> | <object name="btnOK" type="button" style="ModernButtonRed" size="18 100%-45 50%-5 100%-17" hotkey="cancel"> | ||||
<translatableAttribute id="caption">OK</translatableAttribute> | <translatableAttribute id="caption">OK</translatableAttribute> | ||||
<action on="Press"><![CDATA[ | <action on="Press"><![CDATA[ | ||||
saveSettingAndWriteToUserConfig("gui.splashscreen.enable", String(Engine.GetGUIObjectByName("displaySplashScreen").checked)); | Engine.ConfigDB_CreateAndWriteValueToFile("user", "gui.splashscreen.enable", String(Engine.GetGUIObjectByName("displaySplashScreen").checked)); | ||||
saveSettingAndWriteToUserConfig("gui.splashscreen.version", Engine.GetFileMTime("gui/splashscreen/splashscreen.txt")); | Engine.ConfigDB_CreateAndWriteValueToFile("user", "gui.splashscreen.version", Engine.GetFileMTime("gui/splashscreen/splashscreen.txt")); | ||||
Engine.PopGuiPageCB(); | Engine.PopGuiPageCB(); | ||||
]]></action> | ]]></action> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
</objects> | </objects> |
Wildfire Games · Phabricator