Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/gamesetup_mp/gamesetup_mp.xml
Show First 20 Lines • Show All 102 Lines • ▼ Show 20 Lines | <object name="pageHost" size="0 32 100% 100%" hidden="true"> | ||||
<action on="Press"> | <action on="Press"> | ||||
this.caption = getValidPort(this.caption); | this.caption = getValidPort(this.caption); | ||||
</action> | </action> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
<object name="hostSTUNWrapper" size="120 106 100% 146"> | <object name="hostSTUNWrapper" size="120 106 100% 146"> | ||||
<object name="useSTUN" size="0 10 32 100%" type="checkbox" style="ModernTickBox"> | <object name="useSTUN" size="0 10 32 100%" type="checkbox" style="ModernTickBox"> | ||||
<action on="Press">saveSettingAndWriteToUserConfig("lobby.stun.enabled", String(this.checked));</action> | <action on="Press">Engine.ConfigDB_CreateAndWriteValueToFile("user", "lobby.stun.enabled", String(this.checked));</action> | ||||
Stan: Can't be moved to code behind ? | |||||
bbAuthorUnsubmitted Done Inline Actionswhat do you mean exactly? creating a 1 line function in the corresponding js file? bb: what do you mean exactly? creating a 1 line function in the corresponding js file? | |||||
StanUnsubmitted Not Done Inline ActionsYep Stan: Yep | |||||
</object> | </object> | ||||
<object type="text" size="26 0 100% 100%" style="ModernLeftLabelText"> | <object type="text" size="26 0 100% 100%" style="ModernLeftLabelText"> | ||||
<translatableAttribute id="caption">Use STUN to work around firewalls</translatableAttribute> | <translatableAttribute id="caption">Use STUN to work around firewalls</translatableAttribute> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
</object> | </object> | ||||
<object name="hostFeedback" type="text" style="ModernLabelText" size="50 100%-80 100%-50 100%-45" textcolor="red"/> | <object name="hostFeedback" type="text" style="ModernLabelText" size="50 100%-80 100%-50 100%-45" textcolor="red"/> | ||||
Show All 18 Lines |
Wildfire Games · Phabricator
Can't be moved to code behind ?