Re-add a mini lobby options menu to missionbrowser

This commit is contained in:
Gustas
2025-01-17 00:22:31 +02:00
committed by Matthias Mailänder
parent aebb97967d
commit 38d4719073
6 changed files with 267 additions and 39 deletions

View File

@@ -68,6 +68,44 @@ Container@MISSIONBROWSER_PANEL:
IgnoreMouseOver: True
IgnoreMouseInput: True
ShowSpawnPoints: False
Container@MISSION_MINIFIED_OPTIONS:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Visible: False
Children:
LabelForInput@DIFFICULTY_DESC:
Y: PARENT_HEIGHT - HEIGHT + 2
Width: 56
Height: 25
Align: Right
Text: dropdown-missionbrowser-difficulty.label
For: DIFFICULTY
DropDownButton@DIFFICULTY:
X: 61
Y: PARENT_HEIGHT - HEIGHT + 2
Width: 120
Height: 25
Font: Regular
Text: label-missionbrowser-normal-difficulty
TooltipText: dropdown-missionbrowser-difficulty.description
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
LabelForInput@GAMESPEED_DESC:
X: PARENT_WIDTH - WIDTH - 125
Y: PARENT_HEIGHT - HEIGHT + 2
Width: 120
Height: 25
Align: Right
Text: dropdown-missionbrowser-gamespeed
For: GAMESPEED
DropDownButton@GAMESPEED:
X: PARENT_WIDTH - WIDTH
Y: PARENT_HEIGHT - HEIGHT + 2
Width: 120
Height: 25
Font: Regular
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
Container@MISSION_TABS:
Width: PARENT_WIDTH
Y: PARENT_HEIGHT - 31

View File

@@ -519,6 +519,12 @@ button-missionbrowser-panel-stop-briefing-video = Stop Briefing
button-missionbrowser-panel-start-info-video = Watch Info Video
button-missionbrowser-panel-stop-info-video = Stop Info Video
button-missionbrowser-panel-play = Play
dropdown-missionbrowser-difficulty =
.label = Difficulty
.description = The difficulty of the mission
dropdown-missionbrowser-gamespeed = Speed:
label-missionbrowser-normal-difficulty = Normal
## multiplayer-browser.yaml
image-bg-password-protected-tooltip = Requires Password

View File

@@ -76,6 +76,44 @@ Background@MISSIONBROWSER_PANEL:
Height: 31
Font: Bold
Text: button-missionbrowser-panel-mission-options
Container@MISSION_MINIFIED_OPTIONS:
Width: PARENT_WIDTH
Height: PARENT_HEIGHT
Visible: False
Children:
LabelForInput@DIFFICULTY_DESC:
Y: PARENT_HEIGHT - HEIGHT
Width: 56
Height: 25
Align: Right
Text: dropdown-missionbrowser-difficulty.label
For: DIFFICULTY
DropDownButton@DIFFICULTY:
X: 61
Y: PARENT_HEIGHT - HEIGHT
Width: 135
Height: 25
Font: Regular
Text: label-missionbrowser-normal-difficulty
TooltipText: dropdown-missionbrowser-difficulty.description
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
LabelForInput@GAMESPEED_DESC:
X: PARENT_WIDTH - WIDTH - 115
Y: PARENT_HEIGHT - HEIGHT
Width: 120
Height: 25
Align: Right
Text: dropdown-missionbrowser-gamespeed
For: GAMESPEED
DropDownButton@GAMESPEED:
X: PARENT_WIDTH - WIDTH
Y: PARENT_HEIGHT - HEIGHT
Width: 110
Height: 25
Font: Regular
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
Container@MISSION_DETAIL:
Y: 212
Width: PARENT_WIDTH

View File

@@ -350,6 +350,12 @@ button-missionbrowser-panel-stop-info-video = Stop Info Video
button-missionbrowser-panel-play = Play
button-missionbrowser-panel-mission-info = Mission Info
button-missionbrowser-panel-mission-options = Options
dropdown-missionbrowser-difficulty =
.label = Difficulty
.description = The difficulty of the mission
dropdown-missionbrowser-gamespeed = Speed:
label-missionbrowser-normal-difficulty = Normal
## multiplayer-browser.yaml
image-multiplayer-panel-password-protected-tooltip = Requires Password

View File

@@ -144,6 +144,45 @@ Background@MISSIONBROWSER_PANEL:
Visible: False
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
Container@MISSION_MINIFIED_OPTIONS:
X: 220
Width: PARENT_WIDTH - 220
Height: PARENT_HEIGHT
Visible: False
Children:
LabelForInput@DIFFICULTY_DESC:
Y: PARENT_HEIGHT - 80
Width: 56
Height: 25
Align: Right
Text: dropdown-missionbrowser-difficulty.label
For: DIFFICULTY
DropDownButton@DIFFICULTY:
X: 71
Y: PARENT_HEIGHT - 80
Width: 140
Height: 25
Font: Regular
Text: label-missionbrowser-normal-difficulty
TooltipText: dropdown-missionbrowser-difficulty.description
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
LabelForInput@GAMESPEED_DESC:
X: PARENT_WIDTH - 140 - WIDTH - 35
Y: PARENT_HEIGHT - 80
Width: 56
Height: 25
Align: Right
Text: dropdown-missionbrowser-gamespeed
For: GAMESPEED
DropDownButton@GAMESPEED:
X: PARENT_WIDTH - 160
Y: PARENT_HEIGHT - 80
Width: 140
Height: 25
Font: Regular
PanelRoot: MISSION_DROPDOWN_PANEL_ROOT
TooltipContainer: TOOLTIP_CONTAINER
Button@START_BRIEFING_VIDEO_BUTTON:
X: 20
Y: PARENT_HEIGHT - 45