(Lobby)MapPreviewLogic refactoring

This commit is contained in:
rob-v
2017-05-06 15:01:51 +02:00
committed by Paul Chote
parent ffc3f6e0d0
commit 0e3cc1ad28
7 changed files with 245 additions and 237 deletions

View File

@@ -1,5 +1,5 @@
Container@LOBBY_MAP_PREVIEW:
Logic: LobbyMapPreviewLogic
Container@MAP_PREVIEW:
Logic: MapPreviewLogic
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
@@ -54,12 +54,14 @@ Container@LOBBY_MAP_PREVIEW:
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
TooltipContainer: TOOLTIP_CONTAINER
Label@MAP_TITLE:
LabelWithTooltip@MAP_TITLE:
Y: 172
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@MAP_STATUS_A:
Y: 187
Width: PARENT_RIGHT
@@ -67,6 +69,7 @@ Container@LOBBY_MAP_PREVIEW:
Font: Tiny
Align: Center
Text: This map is not compatible
IgnoreMouseOver: true
Label@MAP_STATUS_B:
Y: 200
Width: PARENT_RIGHT
@@ -89,18 +92,21 @@ Container@LOBBY_MAP_PREVIEW:
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
TooltipContainer: TOOLTIP_CONTAINER
Label@MAP_TITLE:
LabelWithTooltip@MAP_TITLE:
Y: 142
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@MAP_TYPE:
Y: 157
Width: PARENT_RIGHT
Height: 25
Font: TinyBold
Align: Center
IgnoreMouseOver: true
Label@MAP_AUTHOR:
Y: 170
Width: PARENT_RIGHT
@@ -127,12 +133,14 @@ Container@LOBBY_MAP_PREVIEW:
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
TooltipContainer: TOOLTIP_CONTAINER
Label@MAP_TITLE:
LabelWithTooltip@MAP_TITLE:
Y: 142
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@MAP_STATUS_SEARCHING:
Y: 157
Width: PARENT_RIGHT
@@ -140,6 +148,7 @@ Container@LOBBY_MAP_PREVIEW:
Font: Tiny
Align: Center
Text: Searching OpenRA Resource Center...
IgnoreMouseOver: true
Container@MAP_STATUS_UNAVAILABLE:
Width: PARENT_RIGHT
Children:

View File

@@ -1,5 +1,5 @@
Container@LOBBY_MAP_PREVIEW:
Logic: LobbyMapPreviewLogic
Container@MAP_PREVIEW:
Logic: MapPreviewLogic
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
Children:
@@ -54,12 +54,14 @@ Container@LOBBY_MAP_PREVIEW:
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
TooltipContainer: TOOLTIP_CONTAINER
Label@MAP_TITLE:
LabelWithTooltip@MAP_TITLE:
Y: 172
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@MAP_STATUS_A:
Y: 187
Width: PARENT_RIGHT
@@ -67,6 +69,7 @@ Container@LOBBY_MAP_PREVIEW:
Font: Tiny
Align: Center
Text: This map is not compatible
IgnoreMouseOver: true
Label@MAP_STATUS_B:
Y: 200
Width: PARENT_RIGHT
@@ -89,18 +92,21 @@ Container@LOBBY_MAP_PREVIEW:
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
TooltipContainer: TOOLTIP_CONTAINER
Label@MAP_TITLE:
LabelWithTooltip@MAP_TITLE:
Y: 142
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@MAP_TYPE:
Y: 157
Width: PARENT_RIGHT
Height: 25
Font: TinyBold
Align: Center
IgnoreMouseOver: true
Label@MAP_AUTHOR:
Y: 170
Width: PARENT_RIGHT
@@ -128,12 +134,14 @@ Container@LOBBY_MAP_PREVIEW:
Width: PARENT_RIGHT - 2
Height: PARENT_BOTTOM - 2
TooltipContainer: TOOLTIP_CONTAINER
Label@MAP_TITLE:
LabelWithTooltip@MAP_TITLE:
Y: 142
Width: PARENT_RIGHT
Height: 25
Font: Bold
Align: Center
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Label@MAP_STATUS_SEARCHING:
Y: 157
Width: PARENT_RIGHT
@@ -141,6 +149,7 @@ Container@LOBBY_MAP_PREVIEW:
Font: Tiny
Align: Center
Text: Searching OpenRA Resource Center...
IgnoreMouseOver: true
Container@MAP_STATUS_UNAVAILABLE:
Width: PARENT_RIGHT
Children: