Files
OpenRA/mods/d2k/chrome/mainmenu.yaml
2012-05-20 15:50:39 +02:00

266 lines
4.6 KiB
YAML

Background@MAINMENU_BG:
Id:MAINMENU_BG
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - HEIGHT)/2
Width:250
Height:420
Visible:true
Logic:MainMenuButtonsLogic
Children:
Label@MAINMENU_LABEL_TITLE:
Id:MAINMENU_LABEL_TITLE
X:0
Y:20
Width:250
Height:25
Text:OpenD2k Main Menu
Align:Center
Font:Bold
Button@MAINMENU_BUTTON_JOIN:
Id:MAINMENU_BUTTON_JOIN
X:45
Y:70
Width:160
Height:25
Text:Join Game
Font:Bold
Button@MAINMENU_BUTTON_CREATE:
Id:MAINMENU_BUTTON_CREATE
X:45
Y:110
Width:160
Height:25
Text:Create Game
Font:Bold
Button@MAINMENU_BUTTON_DIRECTCONNECT:
Id:MAINMENU_BUTTON_DIRECTCONNECT
X:45
Y:150
Width:160
Height:25
Text:Direct Connect
Font:Bold
Button@MAINMENU_BUTTON_SETTINGS:
Id:MAINMENU_BUTTON_SETTINGS
X:45
Y:190
Width:160
Height:25
Text:Settings
Font:Bold
Button@MAINMENU_BUTTON_MODS:
Id:MAINMENU_BUTTON_MODS
X:45
Y:230
Width:160
Height:25
Text:Mods
Font:Bold
# Button@MAINMENU_BUTTON_MUSIC:
# Id:MAINMENU_BUTTON_MUSIC
# X:45
# Y:270
# Width:160
# Height:25
# Text:Music
# Font:Bold
Button@MAINMENU_BUTTON_REPLAY_VIEWER:
Id:MAINMENU_BUTTON_REPLAY_VIEWER
X:45
Y:310
Width:160
Height:25
Text:Replay Viewer
Font:Bold
Button@MAINMENU_BUTTON_QUIT:
Id:MAINMENU_BUTTON_QUIT
X:45
Y:350
Width:160
Height:25
Text:Quit
Font:Bold
Background@PERF_BG:
ClickThrough:true
Id:PERF_BG
Background:dialog4
Logic:PerfDebugLogic
X:10
Y:WINDOW_BOTTOM - 250
Width: 210
Height: 250
Children:
PerfGraph@GRAPH:
Id:GRAPH
X:5
Y:5
Width:200
Height:200
Label@TEXT:
Id:TEXT
X:20
Y:205
Width:170
Height:40
#Background@MUSIC_MENU:
# Id:MUSIC_MENU
# Logic:MusicPlayerLogic
# X:(WINDOW_RIGHT - WIDTH)/2
# Y:(WINDOW_BOTTOM - HEIGHT)/2
# Width: 450
# Height: 250
# Visible: true
# Children:
# Label@SETTINGS_LABEL_TITLE:
# Id:SETTINGS_LABEL_TITLE
# X:0
# Y:20
# Width:450
# Height:25
# Text:Music
# Align:Center
# Font:Bold
# Button@BUTTON_INSTALL:
# Id:BUTTON_INSTALL
# X:20
# Y:PARENT_BOTTOM - 45
# Width:160
# Height:25
# Text:Install Music
# Font:Bold
# Button@BUTTON_CLOSE:
# Id:BUTTON_CLOSE
# X:PARENT_RIGHT - 180
# Y:PARENT_BOTTOM - 45
# Width:160
# Height:25
# Text:Close
# Font:Bold
# Container@BUTTONS:
# X:PARENT_RIGHT - 150
# Y:50
# Children:
# Button@BUTTON_PLAY:
# Id:BUTTON_PLAY
# X:35
# Y:0
# Width:25
# Height:25
# Children:
# Image@IMAGE_PLAY:
# Id:IMAGE_PLAY
# X:0
# Y:0
# Width:25
# Height:25
# ImageCollection:music
# ImageName:play
# Button@BUTTON_PAUSE:
# Id:BUTTON_PAUSE
# Visible:false
# X:35
# Y:0
# Width:25
# Height:25
# Children:
# Image@IMAGE_PAUSE:
# Id:IMAGE_PAUSE
# X:0
# Y:0
# Width:25
# Height:25
# ImageCollection:music
# ImageName:pause
# Button@BUTTON_STOP:
# Id:BUTTON_STOP
# X:70
# Y:0
# Width:25
# Height:25
# Children:
# Image@IMAGE_STOP:
# Id:IMAGE_STOP
# X:0
# Y:0
# Width:25
# Height:25
# ImageCollection:music
# ImageName:stop
# Button@BUTTON_NEXT:
# Id:BUTTON_NEXT
# X:105
# Y:0
# Width:25
# Height:25
# Children:
# Image@IMAGE_NEXT:
# Id:IMAGE_NEXT
# X:0
# Y:0
# Width:25
# Height:25
# ImageCollection:music
# ImageName:next
# Button@BUTTON_PREV:
# Id:BUTTON_PREV
# X:0
# Y:0
# Width:25
# Height:25
# Children:
# Image@IMAGE_PREV:
# Id:IMAGE_PREV
# X:0
# Y:0
# Width:25
# Height:25
# ImageCollection:music
# ImageName:prev
# Label@TIME:
# Id:TIME
# X:PARENT_RIGHT - 150
# Y:75
# Width:140
# Height:25
# Align: Center
# ScrollPanel@MUSIC_LIST:
# Id:MUSIC_LIST
# X:10
# Y:50
# Width:280
# Height:140
# Children:
# ScrollItem@MUSIC_TEMPLATE:
# Id:MUSIC_TEMPLATE
# Width:PARENT_RIGHT-27
# Height:25
# X:2
# Y:0
# Visible:false
# Children:
# Label@TITLE:
# Id:TITLE
# X:5
# Width:PARENT_RIGHT - 10
# Height:PARENT_BOTTOM
# Align: Left
# Label@LENGTH:
# Id:LENGTH
# X:5
# Width:PARENT_RIGHT - 10
# Height:PARENT_BOTTOM
# Align: Right
# Checkbox@SHUFFLE:
# Id:SHUFFLE
# X:PARENT_RIGHT - 150
# Y:110
# Width:100
# Height:20
# Text:Shuffle
# Checkbox@REPEAT:
# Id:REPEAT
# X:PARENT_RIGHT - 150
# Y:140
# Width:100
# Height:20
# Text:Loop