Replaced hardcoded SourceType with custom defined ISourceResolver.
This commit is contained in:
committed by
Matthias Mailänder
parent
7188f88ba1
commit
35eb246080
@@ -50,7 +50,7 @@ Background@CONTENT_PANEL:
|
||||
Font: Bold
|
||||
TextColor: CC0000
|
||||
Text: Required
|
||||
Image@DISC:
|
||||
Image@SOURCE:
|
||||
X: 275
|
||||
Y: 2
|
||||
Width: 20
|
||||
@@ -58,7 +58,7 @@ Background@CONTENT_PANEL:
|
||||
ImageCollection: modcontent
|
||||
ImageName: cdicon
|
||||
TooltipContainer: TOOLTIP_CONTAINER
|
||||
TooltipTemplate: DISC_TOOLTIP
|
||||
TooltipTemplate: SOURCE_TOOLTIP
|
||||
Button@DOWNLOAD:
|
||||
X: 304
|
||||
Y: 0
|
||||
@@ -74,7 +74,7 @@ Background@CONTENT_PANEL:
|
||||
Font: Bold
|
||||
TextColor: 00CC00
|
||||
Text: Installed
|
||||
Label@REQUIRES_DISC:
|
||||
Label@REQUIRES_SOURCE:
|
||||
X: 304
|
||||
Width: 100
|
||||
Height: 23
|
||||
@@ -82,7 +82,7 @@ Background@CONTENT_PANEL:
|
||||
Font: Bold
|
||||
TextColor: DDDDDD
|
||||
Text: Requires Disc
|
||||
Button@CHECK_DISC_BUTTON:
|
||||
Button@CHECK_SOURCE_BUTTON:
|
||||
X: 30
|
||||
Y: PARENT_BOTTOM - 52
|
||||
Background: button-highlighted
|
||||
@@ -101,8 +101,8 @@ Background@CONTENT_PANEL:
|
||||
Key: escape
|
||||
TooltipContainer@TOOLTIP_CONTAINER:
|
||||
|
||||
Background@DISC_TOOLTIP:
|
||||
Logic: ModContentDiscTooltipLogic
|
||||
Background@SOURCE_TOOLTIP:
|
||||
Logic: ModContentSourceTooltipLogic
|
||||
Background: panel-thinborder
|
||||
Height: 25
|
||||
Children:
|
||||
@@ -111,12 +111,12 @@ Background@DISC_TOOLTIP:
|
||||
Height: 23
|
||||
Font: Bold
|
||||
Text: Content available from:
|
||||
Container@DISCS:
|
||||
Container@SOURCES:
|
||||
Y: 15
|
||||
Width: PARENT_RIGHT - 10
|
||||
Height: 7 # used as bottom margin
|
||||
Children:
|
||||
Label@DISC_TEMPLATE:
|
||||
Label@SOURCE_TEMPLATE:
|
||||
X: 20
|
||||
Height: 14
|
||||
Font: TinyBold
|
||||
@@ -177,8 +177,8 @@ Container@PACKAGE_DOWNLOAD_PANEL:
|
||||
Font: Bold
|
||||
Key: escape
|
||||
|
||||
Background@DISC_INSTALL_PANEL:
|
||||
Logic: InstallFromDiscLogic
|
||||
Background@SOURCE_INSTALL_PANEL:
|
||||
Logic: InstallFromSourceLogic
|
||||
X: (WINDOW_RIGHT - WIDTH) / 2
|
||||
Y: (WINDOW_BOTTOM - HEIGHT) / 2
|
||||
Width: 500
|
||||
|
||||
Reference in New Issue
Block a user