Diplomacy menu

This commit is contained in:
Paul Chote
2011-05-19 21:45:30 +12:00
parent 84a99be18e
commit dcaa161bd1
5 changed files with 186 additions and 1 deletions

View File

@@ -0,0 +1,88 @@
Container@DIPLOMACY_PANEL:
Id:DIPLOMACY_PANEL
Delegate:CncDiplomacyLogic
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 400)/2
Width:450
Height:335
Children:
Label@TITLE:
Width:PARENT_RIGHT
Y:0-25
Font:BigBold
Contrast:true
Align:Center
Text:Diplomacy
Background@bg:
Width:450
Height:300
Background:panel-black
Children:
ScrollPanel@PLAYER_LIST:
Id:PLAYER_LIST
X:15
Y:30
Width:420
Height:255
ItemSpacing:5
Children:
Container@PLAYER_TEMPLATE:
Id:PLAYER_TEMPLATE
Width:PARENT_RIGHT-27
Height:25
X:2
Y:0
Children:
Label@NAME:
Id:NAME
X:10
Width:150
Height:25
Image@FACTIONFLAG:
Id:FACTIONFLAG
X:PARENT_RIGHT-210
Y:5
Width:30
Height:15
Label@FACTION:
Id:FACTION
X:PARENT_RIGHT-170
Width:40
Height:25
DropDownButton@STANCE:
Id:STANCE
X:PARENT_RIGHT-110
Width:100
Height:25
Container@LABEL_CONTAINER:
X:17
Y:5
Width:393
Children:
Label@NAME:
X:10
Width:150
Height:25
Text:Player
Align:Center
Font:Bold
Label@RACE:
X:PARENT_RIGHT-220
Width:100
Height:25
Text:Faction
Font:Bold
Align:Center
Label@STANCE:
X:PARENT_RIGHT-110
Width:100
Height:25
Text:Stance
Font:Bold
Align:Center
Button@BACK_BUTTON:
Id:BACK_BUTTON
Y:299
Width:140
Height:35
Text:Back

View File

@@ -78,6 +78,7 @@ ChromeLayout:
mods/cnc/chrome/modchooser.yaml
mods/cnc/chrome/preferences.yaml
mods/cnc/chrome/cheats.yaml
mods/cnc/chrome/diplomacy.yaml
mods/cnc/chrome/dropdowns.yaml
Weapons: