Add client tooltips showing Admin/IP/Latency.

This commit is contained in:
Paul Chote
2013-04-25 13:34:18 +12:00
parent 91115d5ba3
commit 45ff0645ba
11 changed files with 273 additions and 4 deletions

View File

@@ -66,6 +66,11 @@ Background@SERVER_LOBBY:
Y:2
Width:PARENT_RIGHT-4
Height:PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer:TOOLTIP_CONTAINER
Template:CLIENT_TOOLTIP
Width:11
Height:25
TextField@NAME:
Text:Name
X:15
@@ -152,6 +157,11 @@ Background@SERVER_LOBBY:
Y:2
Width:PARENT_RIGHT-4
Height:PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer:TOOLTIP_CONTAINER
Template:CLIENT_TOOLTIP
Width:11
Height:25
Label@NAME:
Text:Name
Width:130
@@ -252,6 +262,11 @@ Background@SERVER_LOBBY:
Y:2
Width:PARENT_RIGHT-4
Height:PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer:TOOLTIP_CONTAINER
Template:CLIENT_TOOLTIP
Width:11
Height:25
TextField@NAME:
Text:Name
X:15
@@ -314,6 +329,11 @@ Background@SERVER_LOBBY:
Y:2
Width:PARENT_RIGHT-4
Height:PARENT_BOTTOM-4
ClientTooltipRegion@CLIENT_REGION:
TooltipContainer:TOOLTIP_CONTAINER
Template:CLIENT_TOOLTIP
Width:11
Height:25
Label@NAME:
Text:Name
Width:130

View File

@@ -20,4 +20,28 @@ Background@SPAWN_TOOLTIP:
Y:28
Height:15
Font:TinyBold
Align:center
Align:center
Background@CLIENT_TOOLTIP:
Logic:ClientTooltipLogic
Background:dialog3
Height:39
Width:7
Children:
Label@ADMIN:
Y:4
Height:18
Font:Bold
Text:Game Admin
Align:Center
Label@IP:
Y:7
Width:5
Height:10
Font:TinyBold
Align:Center
Label@LATENCY:
Y:19
Height:10
Font:TinyBold
Align:Center