Merge pull request #6682 from Mailaender/player-settings-ui

Added player name and color selection to Settings menu
This commit is contained in:
Paul Chote
2014-11-04 07:54:49 +13:00
7 changed files with 92 additions and 26 deletions

View File

@@ -47,7 +47,7 @@ Container@SETTINGS_PANEL:
Y: 20
Width: PARENT_RIGHT
Font: Bold
Text: Graphics
Text: Display
Align: Center
Label@MODE_LABEL:
X: 120
@@ -152,6 +152,29 @@ Container@SETTINGS_PANEL:
Height: 20
Font: Regular
Text: Show Shellmap
Label@PLAYER:
Text: Player:
X: 15
Y: 215
TextField@PLAYERNAME:
Text: Name
X: 65
Y: 205
Width: 145
Height: 25
MaxLength: 16
ColorPreviewManager@COLOR_MANAGER:
DropDownButton@PLAYERCOLOR:
X: 215
Y: 205
Width: 70
Height: 25
Children:
ColorBlock@COLORBLOCK:
X: 5
Y: 6
Width: PARENT_RIGHT-35
Height: PARENT_BOTTOM-12
Checkbox@ALWAYS_SHOW_STATUS_BARS_CHECKBOX:
X: 310
Y: 205

View File

@@ -165,6 +165,29 @@ Background@SETTINGS_PANEL:
Height: 20
Font: Regular
Text: Show Shellmap
Label@PLAYER:
Text: Player:
X: 15
Y: 215
TextField@PLAYERNAME:
Text: Name
X: 65
Y: 205
Width: 145
Height: 25
MaxLength: 16
ColorPreviewManager@COLOR_MANAGER:
DropDownButton@PLAYERCOLOR:
X: 215
Y: 205
Width: 70
Height: 25
Children:
ColorBlock@COLORBLOCK:
X: 5
Y: 6
Width: PARENT_RIGHT-35
Height: PARENT_BOTTOM-12
Checkbox@ALWAYS_SHOW_STATUS_BARS_CHECKBOX:
X: 310
Y: 205