Add lobby tooltips for registered / anonymous players.

This commit is contained in:
Paul Chote
2018-07-07 16:26:48 +00:00
committed by abcdefg30
parent b5a5eecc25
commit 70706ca531
16 changed files with 690 additions and 29 deletions

View File

@@ -82,7 +82,22 @@ Container@LOBBY_PLAYER_BIN:
Width: 165
Height: 25
Text: Name
LeftMargin: 24
MaxLength: 16
Visible: false
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
DropDownButton@SLOT_OPTIONS:
X: 15
Width: 165
@@ -165,10 +180,22 @@ Container@LOBBY_PLAYER_BIN:
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
Template: LATENCY_TOOLTIP
Image@PROFILE:
ImageCollection: lobby-bits
X: 18
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 18
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@NAME:
X: 20
X: 39
Y: 0 - 1
Width: 165
Width: 146
Height: 25
Text: Name
DropDownButton@PLAYER_ACTION:
@@ -178,6 +205,20 @@ Container@LOBBY_PLAYER_BIN:
Font: Regular
Visible: false
Align: Left
LeftMargin: 24
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
ColorBlock@COLORBLOCK:
X: 195
Y: 6
@@ -277,7 +318,21 @@ Container@LOBBY_PLAYER_BIN:
Width: 165
Height: 25
Text: Name
LeftMargin: 24
MaxLength: 16
Children:
Image@PROFILE:
ImageCollection: lobby-bits
X: 3
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 3
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@SPECTATOR:
X: 190
Width: 326
@@ -321,11 +376,23 @@ Container@LOBBY_PLAYER_BIN:
Height: 25
TooltipContainer: TOOLTIP_CONTAINER
Template: LATENCY_TOOLTIP
Image@PROFILE:
ImageCollection: lobby-bits
X: 18
Y: 3
Visible: false
ClientTooltipRegion@PROFILE_TOOLTIP:
X: 18
Y: 3
Width: 16
Height: 16
TooltipContainer: TOOLTIP_CONTAINER
Template: ANONYMOUS_PLAYER_TOOLTIP
Label@NAME:
Width: 160
Height: 25
X: 20
X: 39
Y: 0 - 1
Width: 179
Height: 25
Text: Name
DropDownButton@PLAYER_ACTION:
X: 15

View File

@@ -130,6 +130,95 @@ Background@LATENCY_TOOLTIP:
Height: 23
Font: Bold
Background@ANONYMOUS_PLAYER_TOOLTIP:
Logic: AnonymousProfileTooltipLogic
Background: dialog4
Height: 56
Width: 200
Children:
Label@NAME:
X: 7
Text: Anonymous Player
Height: 24
Font: MediumBold
Label@LOCATION:
X: 7
Y: 23
Height: 12
Font: TinyBold
Label@IP:
X: 7
Y: 36
Height: 12
Font: TinyBold
Container@GAME_ADMIN:
X: 7
Y: 49
Height: 12
Visible: False
Children:
Image@ICON:
Y: 5
Width: 7
Height: 5
ImageCollection: lobby-bits
ImageName: admin
Label@LABEL:
X: 9
Height: 12
Text: Game Admin
Font: TinyBold
Background@REGISTERED_PLAYER_TOOLTIP:
Logic: RegisteredProfileTooltipLogic
Width: 270
Background: dialog4
Children:
Container@HEADER:
Width: PARENT_RIGHT
Children:
Container@PROFILE_HEADER:
Height: 43
Children:
Label@PROFILE_NAME:
X: 7
Width: PARENT_RIGHT - 20
Height: 24
Font: MediumBold
Label@PROFILE_RANK:
X: 7
Y: 23
Width: PARENT_RIGHT - 20
Height: 12
Font: TinyBold
Container@GAME_ADMIN:
X: 7
Y: 36
Width: PARENT_RIGHT - 20
Height: 12
Visible: False
Children:
Image@ICON:
Y: 5
Width: 7
Height: 5
ImageCollection: lobby-bits
ImageName: admin
Label@LABEL:
X: 10
Height: 12
Text: Game Admin
Font: TinyBold
Container@MESSAGE_HEADER:
Height: 26
Width: PARENT_RIGHT
Children:
Label@MESSAGE:
X: 7
Width: PARENT_RIGHT - 14
Height: 23
Font: Bold
Background@PRODUCTION_TOOLTIP:
Logic: ProductionTooltipLogic
Background: dialog4