Files
OpenRA/mods/cnc/chrome/ingame-menu.yaml
Ivaylo Draganov 79ae71a517 Rename *_RIGHT to *_WIDTH and *_BOTTOM to *_HEIGHT in integer expressions for widgets
The terms "width" and "height" are clearer and they match what the values actually represent (window or parent width/height). The YAML changes are generated with the update rule.
2024-10-07 12:59:25 +03:00

36 lines
852 B
YAML

Container@INGAME_MENU:
Width: WINDOW_WIDTH
Height: WINDOW_HEIGHT
Logic: IngameMenuLogic
Buttons: EXIT_EDITOR, PLAY_MAP, SAVE_MAP, ABORT_MISSION, BACK_TO_EDITOR, SURRENDER, RESTART, LOAD_GAME, SAVE_GAME, MUSIC, SETTINGS, RESUME
ButtonStride: 130, 0
Children:
Image@EVA:
X: WINDOW_WIDTH - 128 - 43
Y: 43
Width: 128
Height: 64
ImageCollection: logos
ImageName: eva
Label@VERSION_LABEL:
Logic: VersionLabelLogic
X: WINDOW_WIDTH - 128 - 43
Y: 116
Width: 128
Align: Center
Contrast: true
Background@BORDER:
Width: WINDOW_WIDTH
Height: WINDOW_HEIGHT
Background: shellmapborder
Container@PANEL_ROOT:
Container@MENU_BUTTONS:
X: (WINDOW_WIDTH - WIDTH) / 2
Y: WINDOW_HEIGHT - 33 - HEIGHT - 10
Width: 120
Height: 35
Children:
Button@BUTTON_TEMPLATE:
Width: 120
Height: 35