mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Ran importer on UI module to ensure guis and images are converted to latest standards
Updated all UI module controls to utilize a more standard structure with stack controls instead of the GameMenu ctrls, as well as more standardization of gamepad input handling
This commit is contained in:
parent
6a357d8dfb
commit
01de818503
80 changed files with 590 additions and 673 deletions
|
|
@ -1,10 +1,6 @@
|
|||
|
||||
function JoinServerMenu::onWake()
|
||||
function JoinServerMenu::onWake(%this)
|
||||
{
|
||||
// Double check the status. Tried setting this the control
|
||||
// inactive to start with, but that didn't seem to work.
|
||||
JoinServerJoinBtn.setActive(JoinServerList.getCount() > 0);
|
||||
|
||||
JoinServerButtonHolder.setActive();
|
||||
|
||||
JoinServerList.setAsActiveMenuList();
|
||||
|
|
@ -128,7 +124,7 @@ function JoinServerMenu::update(%this)
|
|||
JoinServerList.add(%serverBtn);
|
||||
}
|
||||
|
||||
JoinServerJoinBtn.setActive(JoinServerList.getCount() > 0);
|
||||
JoinServerButtonHolder-->joinButton.setActive(JoinServerList.getCount() > 0);
|
||||
}
|
||||
|
||||
//----------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue