Redirect mod chooser to content manager.

This commit is contained in:
Paul Chote
2017-04-21 16:55:16 +00:00
parent 688feea33b
commit ec42aed6bc
12 changed files with 80 additions and 404 deletions

View File

@@ -331,12 +331,31 @@ Background@CONTENT_PROMPT_PANEL:
Height: 32
Text: Quick Install
Font: Bold
Button@BACK_BUTTON:
Button@QUIT_BUTTON:
X: PARENT_RIGHT - WIDTH - 30
Y: PARENT_BOTTOM - 52
Background: button-highlighted
Width: 110
Height: 32
Text: Back
Text: Quit
Font: Bold
Key: escape
Background@MODCHOOSER_BACKGROUND:
Background: background
Width: WINDOW_RIGHT
Height: WINDOW_BOTTOM
Background@BUTTON_TOOLTIP:
Logic: ButtonTooltipLogic
Background: panel-thinborder
Height: 25
Children:
Label@LABEL:
X: 5
Height: 23
Font: Bold
Label@HOTKEY:
TextColor: FFFF00
Height: 23
Font: Bold

View File

@@ -1,5 +1,5 @@
Metadata:
Title: Mod Chooser
Title: Mod Content Manager
Version: {DEV_VERSION}
Author: The OpenRA Developers
Hidden: true
@@ -19,13 +19,12 @@ Assemblies:
common|OpenRA.Mods.Common.dll
ChromeLayout:
modchooser|modchooser.yaml
modchooser|content.yaml
Notifications:
modchooser|notifications.yaml
LoadScreen: ModChooserLoadScreen
LoadScreen: ModContentLoadScreen
Image: ./mods/modchooser/chrome.png
ChromeMetrics:

View File

@@ -1,169 +0,0 @@
Background@MODCHOOSER_BACKGROUND:
Background: background
Width: WINDOW_RIGHT
Height: WINDOW_BOTTOM
Background@MODCHOOSER_DIALOG:
Logic: ModBrowserLogic
Children:
Container:
X: (WINDOW_RIGHT - WIDTH) / 2
Y: (WINDOW_BOTTOM - 500) / 2
Width: 750
Height: 514
Children:
Background@DIALOG_BACKGROUND:
Y: 69
Width: PARENT_RIGHT
Height: PARENT_BOTTOM - 69
Background: panel-bg
Children:
Label:
X: 53
Y: 30
Align: Left
Font: MediumBold
Text: Choose your Battlefield:
Container@MOD_LIST:
X: 53
Y: 60
Width: PARENT_RIGHT-106
Height: 150
Children:
Button@MOD_TEMPLATE:
X: 16
Width: 114
Height: 114
TooltipContainer: TOOLTIP_CONTAINER
IgnoreChildMouseOver: true
Children:
Container@MOD_NO_LOGO:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
Label@A:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM-20
Text: Missing or
Align: Center
Label@B:
Y: 20
Width: PARENT_RIGHT
Height: PARENT_BOTTOM-20
Text: invalid logo
Align: Center
RGBASprite@MOD_LOGO:
X: 9
Y: 9
Button@PREV_MOD:
X: 15
Y: 85
Width: 25
Height: 64
IgnoreChildMouseOver: true
Children:
Image:
X: 2
ImageCollection: modchooser
ImageName: leftarrow
Button@NEXT_MOD:
X: PARENT_RIGHT - WIDTH - 20
Y: 85
Width: 25
Height: 64
IgnoreChildMouseOver: true
Children:
Image:
X: 3
ImageCollection: modchooser
ImageName: rightarrow
Background@RULE:
X: 30
Y: PARENT_BOTTOM - 249
Width: PARENT_RIGHT - 60
Height: 150
Background: panel-rule
Label@MOD_TITLE:
X: PARENT_RIGHT - 400
Y: PARENT_BOTTOM-220
Align: Left
Font: Bold
Label@MOD_AUTHOR:
X: PARENT_RIGHT - 400
Y: PARENT_BOTTOM-205
Align: Left
Font: TinyBold
Label@MOD_VERSION:
X: PARENT_RIGHT - 400
Y: PARENT_BOTTOM-192
Align: Left
Font: Tiny
Label@MOD_DESC:
X: PARENT_RIGHT - 400
Y: PARENT_BOTTOM-175
Align: Left
VAlign: Top
Font: Tiny
Background@PREVIEW:
X: 30
Y: PARENT_BOTTOM - 25 - HEIGHT
Width: 300
Height: 200
Background: panel-thinborder
Children:
Label:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Text: Missing or invalid preview
Align: Center
RGBASprite@MOD_PREVIEW:
X: 2
Y: 2
Button@LOAD_BUTTON:
X: PARENT_RIGHT - 300 - WIDTH
Y: PARENT_BOTTOM - 25 - HEIGHT
Width: 100
Height: 32
Text: Play
Background: button-highlighted
Key: return
Button@CONFIGURE_BUTTON:
X: PARENT_RIGHT - 145 - WIDTH
Y: PARENT_BOTTOM - 25 - HEIGHT
Width: 140
Height: 32
Text: Manage Content
Background: button-highlighted
Button@QUIT_BUTTON:
X: PARENT_RIGHT - 30 - WIDTH
Y: PARENT_BOTTOM - 25 - HEIGHT
Width: 100
Height: 32
Text: Quit
Background: button-highlighted
Background@DIALOG_HEADER:
Width: PARENT_RIGHT
Height: 72
Background: panel-header
Children:
Image:
X: (PARENT_RIGHT - WIDTH) / 2
Y: 0-28
Width: 280
ImageCollection: modchooser
ImageName: logo
TooltipContainer@TOOLTIP_CONTAINER:
Background@BUTTON_TOOLTIP:
Logic: ButtonTooltipLogic
Background: panel-thinborder
Height: 25
Children:
Label@LABEL:
X: 5
Height: 23
Font: Bold
Label@HOTKEY:
TextColor: FFFF00
Height: 23
Font: Bold