Differential D3719 Diff 16640 ps/trunk/binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/GameSetupPage.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/gui/gamesetup/Pages/GameSetupPage/GameSetupPage.js
Show All 38 Lines | // These classes manage GUI Objects. | ||||
"resetCivsButton": new ResetCivsButton(setupWindow), | "resetCivsButton": new ResetCivsButton(setupWindow), | ||||
"resetTeamsButton": new ResetTeamsButton(setupWindow), | "resetTeamsButton": new ResetTeamsButton(setupWindow), | ||||
"soundNotification": new SoundNotification(setupWindow), | "soundNotification": new SoundNotification(setupWindow), | ||||
"tipsPanel": new TipsPanel(gameSettingsPanel), | "tipsPanel": new TipsPanel(gameSettingsPanel), | ||||
"tooltip": new Tooltip(this.panelButtons.cancelButton) | "tooltip": new Tooltip(this.panelButtons.cancelButton) | ||||
}; | }; | ||||
} | } | ||||
setupWindow.controls.gameSettingsController.registerLoadingChangeHandler((loading) => this.onLoadingChange(loading)); | |||||
Engine.ProfileStop(); | Engine.ProfileStop(); | ||||
} | } | ||||
onLoadingChange(loading) | |||||
{ | |||||
Engine.GetGUIObjectByName("gameSetupPage").hidden = loading; | |||||
} | } | ||||
}; |
Wildfire Games · Phabricator