Merge pull request #10264 from whinis/bleed

Restart button for missions
This commit is contained in:
Oliver Brakmann
2016-01-15 21:55:02 +01:00
11 changed files with 177 additions and 76 deletions

View File

@@ -136,7 +136,7 @@ ScrollPanel@SPECTATOR_DROPDOWN_TEMPLATE:
Container@CONFIRM_PROMPT:
X: (WINDOW_RIGHT - WIDTH)/2
Y: (WINDOW_BOTTOM - 90)/2
Width: 370
Width: 500
Height: 125
Children:
Label@PROMPT_TITLE:
@@ -146,7 +146,7 @@ Container@CONFIRM_PROMPT:
Contrast: true
Align: Center
Background@bg:
Width: 370
Width: 500
Height: 90
Background: panel-black
Children:
@@ -156,19 +156,26 @@ Container@CONFIRM_PROMPT:
Height: 25
Font: Bold
Align: Center
Button@CONFIRM_BUTTON:
Key: return
X: 360
Y: 89
Width: 140
Height: 35
Text: Abort
Button@OTHER_BUTTON:
Key: r
X: 210
Y: 89
Width: 140
Height: 35
Text: Restart
Button@CANCEL_BUTTON:
Key: escape
Y: 89
Width: 140
Height: 35
Text: Cancel
Button@CONFIRM_BUTTON:
Key: return
X: 230
Y: 89
Width: 140
Height: 35
Text: Confirm
Container@CANCEL_PROMPT:
X: (WINDOW_RIGHT - WIDTH)/2

View File

@@ -1,7 +1,7 @@
Background@CONFIRM_PROMPT:
X: (WINDOW_RIGHT - WIDTH)/2
Y: (WINDOW_BOTTOM - 90)/2
Width: 370
Width: 600
Height: 175
Children:
Label@PROMPT_TITLE:
@@ -21,9 +21,16 @@ Background@CONFIRM_PROMPT:
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Confirm
Text: Abort
Font: Bold
Key: return
Button@OTHER_BUTTON:
X: PARENT_RIGHT - 380
Y: PARENT_BOTTOM - 45
Width: 160
Height: 25
Text: Restart
Font: Bold
Button@CANCEL_BUTTON:
X: PARENT_RIGHT - 180
Y: PARENT_BOTTOM - 45