Files
OpenRA/mods/common/chrome/lobby.yaml
2023-06-04 21:29:15 +03:00

141 lines
2.7 KiB
YAML

Background@SERVER_LOBBY:
Logic: LobbyLogic
ChatTemplates:
Chat: CHAT_LINE_TEMPLATE
System: SYSTEM_LINE_TEMPLATE
Mission: CHAT_LINE_TEMPLATE
Feedback: TRANSIENT_LINE_TEMPLATE
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - HEIGHT) / 2
Width: 900
Height: 600
Children:
Label@SERVER_NAME:
Y: 16
Align: Center
Width: PARENT_RIGHT
Height: 25
Font: Bold
Container@MAP_PREVIEW_ROOT:
X: PARENT_RIGHT - 20 - WIDTH
Y: 67
Width: 174
Height: 250
DropDownButton@SLOTS_DROPDOWNBUTTON:
X: 20
Y: 291
Width: 185
Height: 25
Font: Bold
Text: Slot Admin
Container@SKIRMISH_TABS:
X: 695 - WIDTH
Width: 486
Visible: False
Children:
Button@PLAYERS_TAB:
Y: 285
Width: 162
Height: 31
Font: Bold
Text: Players
Button@OPTIONS_TAB:
X: 162
Y: 285
Width: 162
Height: 31
Font: Bold
Text: Options
Button@MUSIC_TAB:
X: 2 * 162
Y: 285
Width: 162
Height: 31
Font: Bold
Text: Music
Container@MULTIPLAYER_TABS:
X: 695 - WIDTH
Width: 486
Visible: False
Children:
Button@PLAYERS_TAB:
Y: 285
Width: 121
Height: 31
Font: Bold
Text: Players
Button@OPTIONS_TAB:
X: 121
Y: 285
Width: 122
Height: 31
Font: Bold
Text: Options
Button@MUSIC_TAB:
X: 243
Y: 285
Width: 121
Height: 31
Font: Bold
Text: Music
Button@SERVERS_TAB:
X: 364
Y: 285
Width: 122
Height: 31
Font: Bold
Text: Servers
Container@TOP_PANELS_ROOT:
X: 20
Y: 67
Width: 675
Height: 219
Button@CHANGEMAP_BUTTON:
X: PARENT_RIGHT - WIDTH - 20
Y: 291
Width: 174
Height: 25
Text: Change Map
Font: Bold
Container@LOBBYCHAT:
X: 20
Y: PARENT_BOTTOM - HEIGHT - 20
Width: PARENT_RIGHT - 40
Height: 259
Children:
ScrollPanel@CHAT_DISPLAY:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 30
TopBottomSpacing: 2
ItemSpacing: 2
Button@CHAT_MODE:
Y: PARENT_BOTTOM - HEIGHT
Width: 50
Height: 25
Text: Team
Font: Bold
Key: ToggleChatMode
TooltipText: Toggle chat mode
TooltipContainer: TOOLTIP_CONTAINER
TextField@CHAT_TEXTFIELD:
X: 55
Y: PARENT_BOTTOM - HEIGHT
Width: PARENT_RIGHT - 260 - 55
Height: 25
Button@START_GAME_BUTTON:
X: PARENT_RIGHT - WIDTH - 150
Y: PARENT_BOTTOM - HEIGHT - 20
Width: 120
Height: 25
Text: Start Game
Font: Bold
Button@DISCONNECT_BUTTON:
X: PARENT_RIGHT - WIDTH - 20
Y: PARENT_BOTTOM - HEIGHT - 20
Width: 120
Height: 25
Text: Leave Game
Font: Bold
Container@FACTION_DROPDOWN_PANEL_ROOT:
TooltipContainer@TOOLTIP_CONTAINER: