Files
OpenRA/mods/ra/chrome/mainmenu.yaml
Matthias Mailänder 03a0640f65 merged RA/CncPerfDebugLogic
separate text and graph, fixes #3491
small repositions to fit with other widgets
2013-08-08 23:09:48 +02:00

128 lines
2.3 KiB
YAML

Container@MAINMENU:
Children:
Background@BORDER:
Background:mainmenu-border
X:0 - 15
Y:0 - 15
Width:WINDOW_RIGHT + 30
Height:WINDOW_BOTTOM + 30
Image@LOGO:
X:WINDOW_RIGHT - 296
Y:30
ImageCollection:logos
ImageName:logo
Label@VERSION_LABEL:
X:WINDOW_RIGHT - 296
Y:296 - 20 # border
Width:296 - 20
Height:25
Align:Center
Font:Regular
Contrast:True
Background@MAINMENU_BG:
X:(WINDOW_RIGHT - WIDTH)/8
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:250
Height:605
Logic:MainMenuButtonsLogic
Children:
Label@MAINMENU_LABEL_TITLE:
X:0
Y:20
Width:250
Height:35
Text:OpenRA
Align:Center
Font:Title
Button@MAINMENU_BUTTON_JOIN:
X:45
Y:80
Width:160
Height:35
Text:Join Game
Font:Bold
Button@MAINMENU_BUTTON_CREATE:
X:45
Y:130
Width:160
Height:35
Text:Create Game
Font:Bold
Button@MAINMENU_BUTTON_DIRECTCONNECT:
X:45
Y:180
Width:160
Height:35
Text:Direct Connect
Font:Bold
Button@MAINMENU_BUTTON_SETTINGS:
X:45
Y:230
Width:160
Height:35
Text:Settings
Font:Bold
Button@MAINMENU_BUTTON_MODS:
X:45
Y:280
Width:160
Height:35
Text:Mods
Font:Bold
Button@MAINMENU_BUTTON_MUSIC:
X:45
Y:330
Width:160
Height:35
Text:Music
Font:Bold
Button@MAINMENU_BUTTON_REPLAY_VIEWER:
X:45
Y:380
Width:160
Height:35
Text:Replay Viewer
Font:Bold
Button@MAINMENU_BUTTON_CREDITS:
X:45
Y:430
Width:160
Height:35
Text:Credits
Font:Bold
Button@MAINMENU_BUTTON_ASSET_BROWSER:
X:45
Y:480
Width:160
Height:35
Text:Asset Browser
Font:Bold
Button@MAINMENU_BUTTON_QUIT:
X:45
Y:530
Width:160
Height:35
Text:Quit
Font:Bold
Container@PERFORMANCE_INFO:
Logic:PerfDebugLogic
Children:
Label@PERF_TEXT:
X:30
Y:WINDOW_BOTTOM - 70
Width:170
Height:40
Contrast:true
Background@GRAPH_BG:
ClickThrough:true
Background:dialog4
X:WINDOW_RIGHT - 240
Y:WINDOW_BOTTOM - 240
Width:210
Height:210
Children:
PerfGraph@GRAPH:
X:5
Y:5
Width:200
Height:200