Merge pull request #8290 from penev92/bleed_d2kMissionBrowser
Give D2k its own mission browser
This commit is contained in:
146
mods/d2k/chrome/missionbrowser.yaml
Normal file
146
mods/d2k/chrome/missionbrowser.yaml
Normal file
@@ -0,0 +1,146 @@
|
|||||||
|
Background@MISSIONBROWSER_PANEL:
|
||||||
|
Logic: MissionBrowserLogic
|
||||||
|
X: (WINDOW_RIGHT - WIDTH)/2
|
||||||
|
Y: (WINDOW_BOTTOM - HEIGHT)/2
|
||||||
|
Width: 960
|
||||||
|
Height: 690
|
||||||
|
Children:
|
||||||
|
Label@MISSIONBROWSER_TITLE:
|
||||||
|
Y: 20
|
||||||
|
Width: PARENT_RIGHT
|
||||||
|
Height: 25
|
||||||
|
Text: Missions
|
||||||
|
Align: Center
|
||||||
|
Font: Bold
|
||||||
|
ScrollPanel@MISSION_LIST:
|
||||||
|
X: 20
|
||||||
|
Y: 50
|
||||||
|
Width: 270
|
||||||
|
Height: 542
|
||||||
|
Children:
|
||||||
|
ScrollItem@HEADER:
|
||||||
|
BaseName: scrollheader
|
||||||
|
Width: PARENT_RIGHT-27
|
||||||
|
Height: 13
|
||||||
|
X: 2
|
||||||
|
Visible: false
|
||||||
|
Children:
|
||||||
|
Label@LABEL:
|
||||||
|
Font: TinyBold
|
||||||
|
Width: PARENT_RIGHT
|
||||||
|
Height: 10
|
||||||
|
Align: Center
|
||||||
|
ScrollItem@TEMPLATE:
|
||||||
|
Width: PARENT_RIGHT-27
|
||||||
|
Height: 25
|
||||||
|
X: 2
|
||||||
|
Children:
|
||||||
|
Label@TITLE:
|
||||||
|
X: 10
|
||||||
|
Width: PARENT_RIGHT-20
|
||||||
|
Height: 25
|
||||||
|
Container@MISSION_INFO:
|
||||||
|
X: 300
|
||||||
|
Y: 50
|
||||||
|
Width: 642
|
||||||
|
Height: 800
|
||||||
|
Children:
|
||||||
|
Background@MISSION_BG:
|
||||||
|
Width: PARENT_RIGHT
|
||||||
|
Height: 402
|
||||||
|
Background: dialog3
|
||||||
|
Children:
|
||||||
|
MapPreview@MISSION_PREVIEW:
|
||||||
|
X: 1
|
||||||
|
Y: 1
|
||||||
|
Width: PARENT_RIGHT-2
|
||||||
|
Height: PARENT_BOTTOM-2
|
||||||
|
IgnoreMouseOver: True
|
||||||
|
IgnoreMouseInput: True
|
||||||
|
ShowSpawnPoints: False
|
||||||
|
ScrollPanel@MISSION_DESCRIPTION_PANEL:
|
||||||
|
Y: 412
|
||||||
|
Width: PARENT_RIGHT
|
||||||
|
Height: 170
|
||||||
|
Children:
|
||||||
|
Label@MISSION_DESCRIPTION:
|
||||||
|
X: 4
|
||||||
|
Y: 1
|
||||||
|
Width: PARENT_RIGHT - 32
|
||||||
|
VAlign: Top
|
||||||
|
Font: Small
|
||||||
|
Button@START_BRIEFING_VIDEO_BUTTON:
|
||||||
|
X: 20
|
||||||
|
Y: PARENT_BOTTOM - 45
|
||||||
|
Width: 130
|
||||||
|
Height: 25
|
||||||
|
Text: Watch Briefing
|
||||||
|
Font: Bold
|
||||||
|
Button@STOP_BRIEFING_VIDEO_BUTTON:
|
||||||
|
X: 20
|
||||||
|
Y: PARENT_BOTTOM - 45
|
||||||
|
Width: 130
|
||||||
|
Height: 25
|
||||||
|
Text: Stop Briefing
|
||||||
|
Font: Bold
|
||||||
|
Button@START_INFO_VIDEO_BUTTON:
|
||||||
|
X: 160
|
||||||
|
Y: PARENT_BOTTOM - 45
|
||||||
|
Width: 130
|
||||||
|
Height: 25
|
||||||
|
Text: Watch Info Video
|
||||||
|
Font: Bold
|
||||||
|
Button@STOP_INFO_VIDEO_BUTTON:
|
||||||
|
X: 160
|
||||||
|
Y: PARENT_BOTTOM - 45
|
||||||
|
Width: 130
|
||||||
|
Height: 25
|
||||||
|
Text: Stop Info Video
|
||||||
|
Font: Bold
|
||||||
|
Button@STARTGAME_BUTTON:
|
||||||
|
X: PARENT_RIGHT - 140 - 130
|
||||||
|
Y: PARENT_BOTTOM - 45
|
||||||
|
Width: 120
|
||||||
|
Height: 25
|
||||||
|
Text: Play
|
||||||
|
Font: Bold
|
||||||
|
Button@BACK_BUTTON:
|
||||||
|
X: PARENT_RIGHT - 140
|
||||||
|
Y: PARENT_BOTTOM - 45
|
||||||
|
Width: 120
|
||||||
|
Height: 25
|
||||||
|
Text: Back
|
||||||
|
Font: Bold
|
||||||
|
Key: escape
|
||||||
|
DropDownButton@DIFFICULTY_DROPDOWNBUTTON:
|
||||||
|
X: 20
|
||||||
|
Y: 632 - HEIGHT
|
||||||
|
Width: 270
|
||||||
|
Height: 25
|
||||||
|
Text: Difficulty
|
||||||
|
Font: Bold
|
||||||
|
Background@MISSION_BIN:
|
||||||
|
X: 300
|
||||||
|
Y: 50
|
||||||
|
Width: 642
|
||||||
|
Height: 402
|
||||||
|
Background: dialog3
|
||||||
|
Children:
|
||||||
|
VqaPlayer@MISSION_VIDEO:
|
||||||
|
X: 1
|
||||||
|
Y: 1
|
||||||
|
Width: 640
|
||||||
|
Height: 400
|
||||||
|
AspectRatio: 1
|
||||||
|
DrawOverlay: False
|
||||||
|
Background@FULLSCREEN_PLAYER:
|
||||||
|
Width: WINDOW_RIGHT
|
||||||
|
Height: WINDOW_BOTTOM
|
||||||
|
Background: dialog5
|
||||||
|
Visible: False
|
||||||
|
Children:
|
||||||
|
VqaPlayer@PLAYER:
|
||||||
|
X: 0
|
||||||
|
Y: 0
|
||||||
|
Width: WINDOW_RIGHT
|
||||||
|
Height: WINDOW_BOTTOM
|
||||||
@@ -98,7 +98,7 @@ ChromeLayout:
|
|||||||
./mods/ra/chrome/musicplayer.yaml
|
./mods/ra/chrome/musicplayer.yaml
|
||||||
./mods/d2k/chrome/tooltips.yaml
|
./mods/d2k/chrome/tooltips.yaml
|
||||||
./mods/ra/chrome/assetbrowser.yaml
|
./mods/ra/chrome/assetbrowser.yaml
|
||||||
./mods/ra/chrome/missionbrowser.yaml
|
./mods/d2k/chrome/missionbrowser.yaml
|
||||||
./mods/ra/chrome/confirmation-dialogs.yaml
|
./mods/ra/chrome/confirmation-dialogs.yaml
|
||||||
./mods/ra/chrome/editor.yaml
|
./mods/ra/chrome/editor.yaml
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user