Reorganise the lobby chrome files.

This commit is contained in:
Paul Chote
2015-10-04 17:26:25 +01:00
parent 044e562457
commit fb5a6d8ec0
13 changed files with 387 additions and 544 deletions

View File

@@ -50,7 +50,6 @@ Background@KICK_CLIENT_DIALOG:
Height: 25
Text: Cancel
Font: Bold
Background@KICK_SPECTATORS_DIALOG:
X: 15
Y: 30
@@ -88,132 +87,6 @@ Background@KICK_SPECTATORS_DIALOG:
Height: 25
Text: Cancel
Font: Bold
Background@LOBBY_OPTIONS_BIN:
X: 15
Y: 30
Width: 556
Height: 219
Background: scrollpanel-bg
Children:
Label@TITLE:
X: 0
Y: 0 - 25
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
Text: Map Options
Container:
X: 30
Y: 30
Width: PARENT_RIGHT-60
Height: PARENT_BOTTOM-75
Children:
Checkbox@EXPLORED_MAP_CHECKBOX:
Width: 230
Height: 20
Font: Regular
Text: Explored Map
Checkbox@FOG_CHECKBOX:
Y: 35
Width: 230
Height: 20
Font: Regular
Text: Fog of War
Checkbox@CRATES_CHECKBOX:
X: 140
Width: 230
Height: 20
Font: Regular
Text: Crates
Checkbox@ALLYBUILDRADIUS_CHECKBOX:
X: 140
Y: 35
Width: 230
Height: 20
Font: Regular
Text: Build off Allies' ConYards
Checkbox@SHORTGAME_CHECKBOX:
X: 365
Width: 230
Height: 20
Font: Regular
Text: Short Game
Checkbox@ALLOWCHEATS_CHECKBOX:
X: 365
Y: 35
Width: 230
Height: 20
Font: Regular
Text: Debug Menu
Label@STARTINGCASH_DESC:
X: 10
Y: 72
Width: 70
Height: 25
Font: Regular
Text: Starting Cash:
Align: Right
DropDownButton@STARTINGCASH_DROPDOWNBUTTON:
X: 85
Y: 72
Width: 120
Height: 25
Font: Regular
Text: $5000
Label@STARTINGUNITS_DESC:
X: PARENT_RIGHT - WIDTH - 135
Y: 72
Width: 120
Height: 25
Text: Starting Units:
Align: Right
DropDownButton@STARTINGUNITS_DROPDOWNBUTTON:
X: PARENT_RIGHT - WIDTH + 10
Y: 72
Width: 140
Height: 25
Font: Regular
DropDownButton@TECHLEVEL_DROPDOWNBUTTON:
X: 85
Y: 112
Width: 120
Height: 25
Font: Regular
Text: 10
Label@TECHLEVEL_DESC:
Y: 112
Width: 80
Height: 25
Text: Tech Level:
Align: Right
Label@GAMESPEED_DESC:
X: PARENT_RIGHT - WIDTH - 135
Y: 112
Width: 120
Height: 25
Text: Game Speed:
Align: Right
DropDownButton@GAMESPEED_DROPDOWNBUTTON:
X: PARENT_RIGHT - WIDTH + 10
Y: 112
Width: 140
Height: 25
Font: Regular
Label@DIFFICULTY_DESC:
X: PARENT_RIGHT - WIDTH - 135
Y: 152
Width: 120
Height: 25
Text: Mission Difficulty:
Align: Right
DropDownButton@DIFFICULTY_DROPDOWNBUTTON:
X: PARENT_RIGHT - WIDTH + 10
Y: 152
Width: 140
Height: 25
Font: Regular
Background@FORCE_START_DIALOG:
X: 15
Y: 30
@@ -278,4 +151,3 @@ Background@FORCE_START_DIALOG:
Height: 25
Text: Cancel
Font: Bold

View File

@@ -0,0 +1,125 @@
Background@LOBBY_OPTIONS_BIN:
X: 15
Y: 30
Width: 556
Height: 219
Background: scrollpanel-bg
Children:
Label@TITLE:
X: 0
Y: 0 - 25
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
Text: Map Options
Container:
X: 30
Y: 30
Width: PARENT_RIGHT-60
Height: PARENT_BOTTOM-75
Children:
Checkbox@EXPLORED_MAP_CHECKBOX:
Width: 230
Height: 20
Font: Regular
Text: Explored Map
Checkbox@FOG_CHECKBOX:
Y: 35
Width: 230
Height: 20
Font: Regular
Text: Fog of War
Checkbox@CRATES_CHECKBOX:
X: 140
Width: 230
Height: 20
Font: Regular
Text: Crates
Checkbox@ALLYBUILDRADIUS_CHECKBOX:
X: 140
Y: 35
Width: 230
Height: 20
Font: Regular
Text: Build off Allies' ConYards
Checkbox@SHORTGAME_CHECKBOX:
X: 365
Width: 230
Height: 20
Font: Regular
Text: Short Game
Checkbox@ALLOWCHEATS_CHECKBOX:
X: 365
Y: 35
Width: 230
Height: 20
Font: Regular
Text: Debug Menu
Label@STARTINGCASH_DESC:
X: 10
Y: 72
Width: 70
Height: 25
Font: Regular
Text: Starting Cash:
Align: Right
DropDownButton@STARTINGCASH_DROPDOWNBUTTON:
X: 85
Y: 72
Width: 120
Height: 25
Font: Regular
Text: $5000
Label@STARTINGUNITS_DESC:
X: PARENT_RIGHT - WIDTH - 135
Y: 72
Width: 120
Height: 25
Text: Starting Units:
Align: Right
DropDownButton@STARTINGUNITS_DROPDOWNBUTTON:
X: PARENT_RIGHT - WIDTH + 10
Y: 72
Width: 140
Height: 25
Font: Regular
DropDownButton@TECHLEVEL_DROPDOWNBUTTON:
X: 85
Y: 112
Width: 120
Height: 25
Font: Regular
Text: 10
Label@TECHLEVEL_DESC:
Y: 112
Width: 80
Height: 25
Text: Tech Level:
Align: Right
Label@GAMESPEED_DESC:
X: PARENT_RIGHT - WIDTH - 135
Y: 112
Width: 120
Height: 25
Text: Game Speed:
Align: Right
DropDownButton@GAMESPEED_DROPDOWNBUTTON:
X: PARENT_RIGHT - WIDTH + 10
Y: 112
Width: 140
Height: 25
Font: Regular
Label@DIFFICULTY_DESC:
X: PARENT_RIGHT - WIDTH - 135
Y: 152
Width: 120
Height: 25
Text: Mission Difficulty:
Align: Right
DropDownButton@DIFFICULTY_DROPDOWNBUTTON:
X: PARENT_RIGHT - WIDTH + 10
Y: 152
Width: 140
Height: 25
Font: Regular

View File

@@ -96,8 +96,9 @@ ChromeLayout:
./mods/cnc/chrome/directconnect.yaml
./mods/cnc/chrome/lobby.yaml
./mods/cnc/chrome/lobby-mappreview.yaml
./mods/cnc/chrome/lobby-playerbin.yaml
./mods/cnc/chrome/lobby-dialogs.yaml
./mods/cnc/chrome/lobby-players.yaml
./mods/cnc/chrome/lobby-options.yaml
./mods/cnc/chrome/lobby-kickdialogs.yaml
./mods/cnc/chrome/connection.yaml
./mods/cnc/chrome/color-picker.yaml
./mods/cnc/chrome/mapchooser.yaml