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

102 lines
1.8 KiB
YAML

Container@INGAME_MENU:
Id:INGAME_MENU
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Logic:CncIngameMenuLogic
Children:
Image@EVA:
X:WINDOW_RIGHT-128-43
Y:43
Width:128
Height:64
ImageCollection:logos
ImageName:eva
Background@BORDER:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
Background:shellmapborder
Container@MENU_BUTTONS:
Id:MENU_BUTTONS
X:(WINDOW_RIGHT-WIDTH)/2
Y:WINDOW_BOTTOM-33-HEIGHT-10
Width:740
Height:35
Children:
Button@QUIT_BUTTON:
Id:QUIT_BUTTON
X:0
Y:0
Width:140
Height:35
Text:Abort Mission
Button@SURRENDER_BUTTON:
Id:SURRENDER_BUTTON
X:150
Y:0
Width:140
Height:35
Text:Surrender
Button@MUSIC_BUTTON:
Id:MUSIC_BUTTON
X:300
Y:0
Width:140
Height:35
Text:Music
Button@PREFERENCES_BUTTON:
Id:PREFERENCES_BUTTON
X:450
Y:0
Width:140
Height:35
Text:Settings
Button@RESUME_BUTTON:
Id:RESUME_BUTTON
Key:escape
X:600
Y:0
Width:140
Height:35
Text:Resume
Container@CONFIRM_PROMPT:
Id:CONFIRM_PROMPT
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 90)/2
Width:370
Height:125
Children:
Label@PROMPT_TITLE:
Id:PROMPT_TITLE
Width:PARENT_RIGHT
Y:0-25
Font:BigBold
Contrast:true
Align:Center
Background@bg:
Width:370
Height:90
Background:panel-black
Children:
Label@PROMPT_TEXT:
Id:PROMPT_TEXT
Y:(PARENT_BOTTOM-HEIGHT)/2
Width:PARENT_RIGHT
Height:25
Font:Bold
Align:Center
Button@CANCEL_BUTTON:
Id:CANCEL_BUTTON
Key:escape
Y:89
Width:140
Height:35
Text:Cancel
Button@CONFIRM_BUTTON:
Id:CONFIRM_BUTTON
Key:return
X:230
Y:89
Width:140
Height:35
Text:Confirm