Files
OpenRA/mods/cnc/chrome/ingame.yaml
2011-07-14 20:29:01 +12:00

240 lines
4.5 KiB
YAML

Container@INGAME_ROOT:
Id:INGAME_ROOT
Logic:CncIngameChromeLogic
Children:
WorldInteractionController:
Id:INTERACTION_CONTROLLER
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
ViewportScrollController:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Timer@GAME_TIMER:
Id:GAME_TIMER
X: WINDOW_RIGHT/2
Y: 10
StrategicProgress@STRATEGIC_PROGRESS:
Id:STRATEGIC_PROGRESS
X: WINDOW_RIGHT/2
Y: 40
Button@CHEATS_BUTTON:
Id:CHEATS_BUTTON
X:WINDOW_RIGHT-400
Y:5
Width:140
Height:35
Text:Cheats
WorldTooltip:
ChatDisplay@CHAT_DISPLAY:
Id:CHAT_DISPLAY
X:250
Y:WINDOW_BOTTOM - HEIGHT - 30
Width: 760
Height: 200
DrawBackground: False
RemoveTime:250
UseContrast: yes
ChatEntry@CHAT_ENTRY:
Id:CHAT_ENTRY
X:250
Y:WINDOW_BOTTOM - HEIGHT
Width: 760
Height: 30
UseContrast: yes
Container@PERFORMANCE_INFO:
Id:PERFORMANCE_INFO
Logic:CncPerfDebugLogic
Children:
Label@PERF_TEXT:
Id:PERF_TEXT
X:85
Y:10
Width:170
Height:40
Contrast:true
PerfGraph@GRAPH:
Id:PERF_GRAPH
X:10
Y:WINDOW_BOTTOM-HEIGHT-10
Width:200
Height:200
Container@PLAYER_WIDGETS:
Id:PLAYER_WIDGETS
Visible:false
Children:
WorldCommand:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Background@POSTGAME_BG:
Id:POSTGAME_BG
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:400
Height:100
Background:dialog4
Visible:false
Children:
Label@TEXT:
Id:TEXT
X:(PARENT_RIGHT - WIDTH)/2
Y:(PARENT_BOTTOM - HEIGHT)/2
Width:200
Height:40
Align:Center
Font:Bold
SupportPowers:
X:10
Y:10
Background@SIDEBAR_BACKGROUND:
Id:SIDEBAR_BACKGROUND
X:WINDOW_RIGHT - 204
Y:30
Width:194
Height:240
Background:panel-black
Children:
Button@OPTIONS_BUTTON:
Id:OPTIONS_BUTTON
Key:escape
X:40
Y:0-24
Width:35
Height:25
Text:Opt
Font:Bold
Button@SELL_BUTTON:
Id:SELL_BUTTON
X:80
Y:0-24
Width:35
Height:25
Text:$
Font:Bold
Button@REPAIR_BUTTON:
Id:REPAIR_BUTTON
X:120
Y:0-24
Width:35
Height:25
Text:R
Font:Bold
Background@RADAR:
X:13
Y:5
Width:168
Height:168
Background:panel-gray
Children:
Radar:
Id:INGAME_RADAR_BIN
X:1
Y:1
Width:PARENT_RIGHT-2
Height:PARENT_BOTTOM-2
WorldInteractionController:INTERACTION_CONTROLLER
Background@POWERBAR:
X:4
Y:5
Width:10
Height:168
Background:panel-black
Children:
PowerBar:
X:1
Y:1
Width:PARENT_RIGHT-2
Height:PARENT_BOTTOM-2
Label@POWERICON:
X:4
Y:180
Text:P
Font:Bold
Background@SILOBAR:
X:180
Y:5
Width:10
Height:168
Background:panel-black
Children:
SiloBar:
X:1
Y:1
Width:PARENT_RIGHT-2
Height:PARENT_BOTTOM-2
Label@SILOICON:
X:181
Y:180
Text:T
Font:Bold
Label@CASH:
Id:CASH_DISPLAY
Y:170
Width:PARENT_RIGHT
Height:25
Align:Center
Font:Bold
Container@PRODUCTION_TYPES:
Id:PRODUCTION_TYPES
X:12
Y:197
Width:170
Height:30
Children:
Button@BUILDING:
Id:BUILDING
Width:30
Height:30
Text: B
Key: y
Button@DEFENSE:
Id:DEFENSE
X:35
Width:30
Height:30
Text: D
Key: u
Button@INFANTRY:
Id:INFANTRY
X:70
Width:30
Height:30
Text: I
Key: i
Button@VEHICLE:
Id:VEHICLE
X:105
Width:30
Height:30
Text: V
Key: o
Button@AIRCRAFT:
Id:AIRCRAFT
X:140
Width:30
Height:30
Text: H
Key: p
ProductionTabs:
Id:PRODUCTION_TABS
PaletteWidget:PRODUCTION_PALETTE
X:WINDOW_RIGHT - 204
Y:268
Width:194
Height:20
ProductionPalette:
Id:PRODUCTION_PALETTE
X:WINDOW_RIGHT - 204
Y:287
TabClick: button.aud
Background@FMVPLAYER:
Id:FMVPLAYER
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Background:dialog4
Children:
VqaPlayer:
Id:PLAYER
X:0
Y:0
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM