Files
OpenRA/mods/common/chrome/confirmation-dialogs.yaml
let5sne.win10 9cf6ebb986
Some checks failed
Continuous Integration / Linux (.NET 8.0) (push) Has been cancelled
Continuous Integration / Windows (.NET 8.0) (push) Has been cancelled
Initial commit: OpenRA game engine
Fork from OpenRA/OpenRA with one-click launch script (start-ra.cmd)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 21:46:54 +08:00

122 lines
2.2 KiB
YAML

Background@THREEBUTTON_PROMPT:
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - 90) / 2
Width: 600
Height: 110
Children:
Label@PROMPT_TITLE:
Width: PARENT_WIDTH
Y: 21
Height: 25
Font: Bold
Align: Center
Label@PROMPT_TEXT:
X: 15
Y: 51
Width: PARENT_WIDTH - 30
Height: 20
Align: Center
Button@CONFIRM_BUTTON:
X: 20
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-prompt-confirm
Font: Bold
Key: return
Visible: false
Button@OTHER_BUTTON:
X: PARENT_WIDTH - 380
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-prompt-other
Font: Bold
Visible: false
Button@CANCEL_BUTTON:
X: PARENT_WIDTH - 180
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-cancel
Font: Bold
Key: escape
Visible: false
Background@TWOBUTTON_PROMPT:
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - 90) / 2
Width: 370
Height: 110
Children:
Label@PROMPT_TITLE:
Width: PARENT_WIDTH
Y: 21
Height: 25
Font: Bold
Align: Center
Label@PROMPT_TEXT:
X: 15
Y: 51
Width: PARENT_WIDTH - 30
Height: 20
Align: Center
Button@CONFIRM_BUTTON:
X: 20
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-prompt-confirm
Font: Bold
Key: return
Visible: false
Button@CANCEL_BUTTON:
X: PARENT_WIDTH - 180
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-cancel
Font: Bold
Key: escape
Visible: false
Background@TEXT_INPUT_PROMPT:
X: (WINDOW_WIDTH - WIDTH) / 2
Y: (WINDOW_HEIGHT - HEIGHT) / 2
Width: 370
Height: 175
Children:
Label@PROMPT_TITLE:
Width: PARENT_WIDTH
Y: 21
Height: 25
Font: Bold
Align: Center
Label@PROMPT_TEXT:
X: 20
Y: 51
Width: PARENT_WIDTH - 40
Height: 25
Align: Center
TextField@INPUT_TEXT:
X: 20
Y: 80
Width: PARENT_WIDTH - 40
Height: 25
Button@ACCEPT_BUTTON:
X: 20
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-text-input-prompt-accept
Font: Bold
Key: return
Button@CANCEL_BUTTON:
X: PARENT_WIDTH - 180
Y: PARENT_HEIGHT - 45
Width: 160
Height: 25
Text: button-cancel
Font: Bold
Key: escape