mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-27 15:25:40 +00:00
function ChooseLevelMenu::fillPrefEntries( %this ) utility method to set gui elements to prefs
This commit is contained in:
parent
2fee2902f6
commit
e4342079f1
2 changed files with 16 additions and 6 deletions
|
|
@ -187,7 +187,7 @@ $guiContent = new GuiControl(ChooseLevelMenu) {
|
|||
profile = "MenuMLSubHeaderText";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
new GuiTextEditCtrl(playerNameCTRL) {
|
||||
text = "Visitor";
|
||||
position = "606 4";
|
||||
extent = "295 22";
|
||||
|
|
@ -213,8 +213,8 @@ $guiContent = new GuiControl(ChooseLevelMenu) {
|
|||
profile = "MenuMLSubHeaderText";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
text = "Torque 3D Server";
|
||||
new GuiTextEditCtrl(serverNameCTRL) {
|
||||
text = "";
|
||||
position = "606 4";
|
||||
extent = "295 22";
|
||||
horizSizing = "left";
|
||||
|
|
@ -239,7 +239,7 @@ $guiContent = new GuiControl(ChooseLevelMenu) {
|
|||
profile = "MenuMLSubHeaderText";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
new GuiTextEditCtrl(serverPassCTRL) {
|
||||
text = "";
|
||||
position = "606 4";
|
||||
extent = "295 22";
|
||||
|
|
@ -265,7 +265,7 @@ $guiContent = new GuiControl(ChooseLevelMenu) {
|
|||
profile = "MenuMLSubHeaderText";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiTextEditCtrl() {
|
||||
new GuiTextEditCtrl(serverInfoCTRL) {
|
||||
text = "This is a Torque 3D server.";
|
||||
position = "606 4";
|
||||
extent = "295 22";
|
||||
|
|
@ -291,7 +291,7 @@ $guiContent = new GuiControl(ChooseLevelMenu) {
|
|||
profile = "MenuMLSubHeaderText";
|
||||
tooltipProfile = "GuiToolTipProfile";
|
||||
};
|
||||
new GuiTextEditCtrl(JoinServerPlayerNameTxt) {
|
||||
new GuiTextEditCtrl(serverMaxPlayersCTRL) {
|
||||
text = "64";
|
||||
position = "606 4";
|
||||
extent = "295 22";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue