Add player badges.

This commit is contained in:
Paul Chote
2018-07-07 17:10:58 +00:00
committed by abcdefg30
parent 7ec19b82e3
commit 6ec93bd8cf
11 changed files with 306 additions and 3 deletions

View File

@@ -28,6 +28,11 @@ Container@LOCAL_PROFILE_PANEL:
Font: TinyBold
BaseLine: 1
Text: Logout
Background@BADGES_CONTAINER:
Width: PARENT_RIGHT
Y: 48
Visible: false
Background: panel-black
Background@GENERATE_KEYS:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
@@ -208,3 +213,22 @@ Container@LOCAL_PROFILE_PANEL:
BaseLine: 1
Font: TinyBold
Text: Retry
Container@PLAYER_PROFILE_BADGES_INSERT:
Logic: PlayerProfileBadgesLogic
Width: PARENT_RIGHT
Children:
Container@BADGE_TEMPLATE:
Width: PARENT_RIGHT
Height: 25
Children:
Sprite@ICON:
X: 6
Y: 1
Width: 24
Height: 24
Label@LABEL:
X: 36
Width: PARENT_RIGHT - 60
Height: 24
Font: Bold

View File

@@ -293,3 +293,8 @@ Container@REGISTERED_PLAYER_TOOLTIP:
Width: PARENT_RIGHT - 20
Height: 23
Font: Bold
Background@BADGES_CONTAINER:
Width: PARENT_RIGHT
Y: 0-1
Visible: false
Background: panel-black

View File

@@ -28,6 +28,11 @@ Container@LOCAL_PROFILE_PANEL:
Font: TinyBold
BaseLine: 1
Text: Logout
Background@BADGES_CONTAINER:
Width: PARENT_RIGHT
Y: 48
Visible: false
Background: dialog3
Background@GENERATE_KEYS:
Width: PARENT_RIGHT
Height: PARENT_BOTTOM
@@ -208,3 +213,23 @@ Container@LOCAL_PROFILE_PANEL:
BaseLine: 1
Font: TinyBold
Text: Retry
Container@PLAYER_PROFILE_BADGES_INSERT:
Logic: PlayerProfileBadgesLogic
Width: PARENT_RIGHT
Height: 110
Children:
Container@BADGE_TEMPLATE:
Width: PARENT_RIGHT
Height: 25
Children:
Sprite@ICON:
X: 6
Y: 1
Width: 24
Height: 24
Label@LABEL:
X: 36
Width: PARENT_RIGHT - 60
Height: 24
Font: Bold

View File

@@ -218,6 +218,14 @@ Background@REGISTERED_PLAYER_TOOLTIP:
Width: PARENT_RIGHT - 14
Height: 23
Font: Bold
Container@BADGES_CONTAINER:
Width: PARENT_RIGHT
Visible: false
Children:
Background@SEPARATOR:
X: 10
Height: 1
Background: tooltip-separator
Background@PRODUCTION_TOOLTIP:
Logic: ProductionTooltipLogic

View File

@@ -192,6 +192,9 @@ dialog3: dialog.png
corner-bl: 640,127,1,1
corner-br: 767,127,1,1
tooltip-separator: dialog.png
border-t: 641,0,126,1
# Same as the half transparent frame used in the Asset Browser
dialog4: dialog.png
background: 517,392,54,54

View File

@@ -221,6 +221,14 @@ Background@REGISTERED_PLAYER_TOOLTIP:
Width: PARENT_RIGHT - 14
Height: 23
Font: Bold
Container@BADGES_CONTAINER:
Width: PARENT_RIGHT
Visible: false
Children:
Background@SEPARATOR:
X: 10
Height: 1
Background: tooltip-separator
Background@PRODUCTION_TOOLTIP:
Logic: ProductionTooltipLogic

View File

@@ -510,6 +510,9 @@ dialog4: dialog.png
corner-bl: 512,446,6,6
corner-br: 571,446,6,6
tooltip-separator: dialog.png
border-t: 517,387,54,1
# completely black tile
dialog5: dialog.png
background: 579,387,64,64

View File

@@ -464,6 +464,9 @@ dialog4: dialog.png
corner-bl: 512,446,6,6
corner-br: 571,446,6,6
tooltip-separator: dialog.png
border-t: 517,387,54,1
# A copy of dialog3 (pressed button)
progressbar-bg: dialog.png
background: 641,1,126,126