Add tooltip hook to SupportPowers; save some batches.

This commit is contained in:
Paul Chote
2011-07-05 22:29:36 +12:00
parent ca77f20f19
commit 7c72c1564e
7 changed files with 85 additions and 4 deletions

View File

@@ -80,6 +80,7 @@ Container@INGAME_ROOT:
Align:Center
Font:Bold
SupportPowers:
TooltipContainer:TOOLTIP_CONTAINER
X:10
Y:10
Background@SIDEBAR_BACKGROUND:

View File

@@ -46,6 +46,20 @@ Background@PRODUCTION_TOOLTIP:
Background:panel-black
Width:100
Height:25
Children:
Label@NAME:
Id:NAME
X:5
Width:PARENT_RIGHT-10
Height:23
Font:Bold
Background@SUPPORT_POWER_TOOLTIP:
Id:SUPPORT_POWER_TOOLTIP
Logic:SupportPowerTooltipLogic
Background:panel-black
Width:200
Height:25
Children:
Label@NAME:
Id:NAME