Add a mission objectives GUI panel
This commit is contained in:
61
mods/d2k/chrome/ingame-menu.yaml
Normal file
61
mods/d2k/chrome/ingame-menu.yaml
Normal file
@@ -0,0 +1,61 @@
|
||||
Container@INGAME_MENU:
|
||||
Width: WINDOW_RIGHT
|
||||
Height: WINDOW_BOTTOM
|
||||
Logic: IngameMenuLogic
|
||||
Children:
|
||||
Label@VERSION_LABEL:
|
||||
X: WINDOW_RIGHT - 10
|
||||
Y: WINDOW_BOTTOM - 20
|
||||
Align: Right
|
||||
Font: Regular
|
||||
Contrast: True
|
||||
Background@MENU_BUTTONS:
|
||||
X: 100
|
||||
Y: (WINDOW_BOTTOM - HEIGHT)/2
|
||||
Width: 200
|
||||
Height: 295
|
||||
Children:
|
||||
Label@LABEL_TITLE:
|
||||
X: (PARENT_RIGHT - WIDTH)/2
|
||||
Y: 20
|
||||
Width: 200
|
||||
Height: 30
|
||||
Text: Options
|
||||
Align: Center
|
||||
Font: Bold
|
||||
Button@RESUME:
|
||||
X: (PARENT_RIGHT - WIDTH)/2
|
||||
Y: 60
|
||||
Width: 140
|
||||
Height: 30
|
||||
Text: Resume
|
||||
Font: Bold
|
||||
Key: escape
|
||||
Button@SETTINGS:
|
||||
X: (PARENT_RIGHT - WIDTH)/2
|
||||
Y: 100
|
||||
Width: 140
|
||||
Height: 30
|
||||
Text: Settings
|
||||
Font: Bold
|
||||
Button@MUSIC:
|
||||
X: (PARENT_RIGHT - WIDTH)/2
|
||||
Y: 140
|
||||
Width: 140
|
||||
Height: 30
|
||||
Text: Music
|
||||
Font: Bold
|
||||
Button@SURRENDER:
|
||||
X: (PARENT_RIGHT - WIDTH)/2
|
||||
Y: 180
|
||||
Width: 140
|
||||
Height: 30
|
||||
Text: Surrender
|
||||
Font: Bold
|
||||
Button@ABORT_MISSION:
|
||||
X: (PARENT_RIGHT - WIDTH)/2
|
||||
Y: 220
|
||||
Width: 140
|
||||
Height: 30
|
||||
Text: Abort Mission
|
||||
Font: Bold
|
||||
@@ -1,6 +1,10 @@
|
||||
Container@OBSERVER_WIDGETS:
|
||||
Children:
|
||||
Button@OBSERVER_STATS_BUTTON:
|
||||
MenuButton@OBSERVER_STATS_BUTTON:
|
||||
Logic: OrderButtonsChromeLogic
|
||||
MenuContainer: INGAME_OBSERVERSTATS_BG
|
||||
HideIngameUI: False
|
||||
Pause: False
|
||||
X: 162
|
||||
Y: 0
|
||||
Width: 160
|
||||
|
||||
@@ -3,7 +3,10 @@ Container@PLAYER_WIDGETS:
|
||||
LogicKeyListener@CONTROLGROUP_KEYHANDLER:
|
||||
Logic: ControlGroupLogic
|
||||
LogicTicker@SIDEBAR_TICKER:
|
||||
Button@INGAME_DIPLOMACY_BUTTON:
|
||||
MenuButton@DIPLOMACY_BUTTON:
|
||||
Logic: OrderButtonsChromeLogic
|
||||
MenuContainer: INGAME_DIPLOMACY_BG
|
||||
HideIngameUI: False
|
||||
X: 162
|
||||
Y: 0
|
||||
Width: 160
|
||||
@@ -11,24 +14,16 @@ Container@PLAYER_WIDGETS:
|
||||
Text: Diplomacy (P)
|
||||
Font: Bold
|
||||
Key: p
|
||||
Button@INGAME_DEBUG_BUTTON:
|
||||
MenuButton@DEBUG_BUTTON:
|
||||
Logic: OrderButtonsChromeLogic
|
||||
MenuContainer: INGAME_MENU
|
||||
X: 324
|
||||
Y: 0
|
||||
Width: 160
|
||||
Height: 25
|
||||
Text: Debug (Shift + Esc)
|
||||
Visible: false
|
||||
Font: Bold
|
||||
Key: escape Shift
|
||||
Button@OBJECTIVES_BUTTON:
|
||||
X: 486
|
||||
Y: 0
|
||||
Width: 160
|
||||
Height: 25
|
||||
Text: Objectives (O)
|
||||
Visible: false
|
||||
Font: Bold
|
||||
Key: o
|
||||
SlidingContainer@INGAME_RADAR_BIN:
|
||||
X: WINDOW_RIGHT-215
|
||||
Y: 0
|
||||
|
||||
@@ -46,7 +46,8 @@ Container@INGAME_ROOT:
|
||||
Y: 34
|
||||
Order: Descending
|
||||
Container@PLAYER_ROOT:
|
||||
Button@INGAME_OPTIONS_BUTTON:
|
||||
MenuButton@OPTIONS_BUTTON:
|
||||
Logic: OrderButtonsChromeLogic
|
||||
X: 0
|
||||
Y: 0
|
||||
Width: 160
|
||||
|
||||
Reference in New Issue
Block a user