Hide the objectives panel when opening submenus

This commit is contained in:
Paul Chote
2011-07-06 04:27:00 +12:00
parent d70e5d3c42
commit 6199ec1404
2 changed files with 44 additions and 50 deletions

View File

@@ -58,47 +58,45 @@ Container@INGAME_MENU:
Width:140
Height:35
Text:Resume
Container@OBJECTIVES_ROOT:
Id:OBJECTIVES_ROOT
Container@CONFIRM_PROMPT:
Id:CONFIRM_PROMPT
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 90)/2
Container@CONFIRM_PROMPT:
Id:CONFIRM_PROMPT
X:(WINDOW_RIGHT - WIDTH)/2
Y:(WINDOW_BOTTOM - 90)/2
Width:370
Height:125
Children:
Label@PROMPT_TITLE:
Id:PROMPT_TITLE
Width:PARENT_RIGHT
Y:0-25
Font:BigBold
Contrast:true
Align:Center
Background@bg:
Width:370
Height:125
Visible:false
Height:90
Background:panel-black
Children:
Label@PROMPT_TITLE:
Id:PROMPT_TITLE
Label@PROMPT_TEXT:
Id:PROMPT_TEXT
Y:(PARENT_BOTTOM-HEIGHT)/2
Width:PARENT_RIGHT
Y:0-25
Font:BigBold
Contrast:true
Height:25
Font:Bold
Align:Center
Background@bg:
Width:370
Height:90
Background:panel-black
Children:
Label@PROMPT_TEXT:
Id:PROMPT_TEXT
Y:(PARENT_BOTTOM-HEIGHT)/2
Width:PARENT_RIGHT
Height:25
Font:Bold
Align:Center
Button@CANCEL_BUTTON:
Id:CANCEL_BUTTON
Key:escape
Y:89
Width:140
Height:35
Text:Cancel
Button@CONFIRM_BUTTON:
Id:CONFIRM_BUTTON
Key:return
X:230
Y:89
Width:140
Height:35
Text:Confirm
Button@CANCEL_BUTTON:
Id:CANCEL_BUTTON
Key:escape
Y:89
Width:140
Height:35
Text:Cancel
Button@CONFIRM_BUTTON:
Id:CONFIRM_BUTTON
Key:return
X:230
Y:89
Width:140
Height:35
Text:Confirm