Simple world tooltip.

This commit is contained in:
Paul Chote
2011-07-05 19:41:34 +12:00
parent 88d68f7790
commit 06990e356f
7 changed files with 178 additions and 25 deletions

View File

@@ -2,10 +2,6 @@ Container@INGAME_ROOT:
Id:INGAME_ROOT
Logic:CncIngameChromeLogic
Children:
WorldInteractionController:
Id:INTERACTION_CONTROLLER
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
ViewportScrollController:
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
@@ -17,6 +13,11 @@ Container@INGAME_ROOT:
Id:STRATEGIC_PROGRESS
X: WINDOW_RIGHT/2
Y: 40
TooltipWorldInteractionController:
Id:INTERACTION_CONTROLLER
Width:WINDOW_RIGHT
Height:WINDOW_BOTTOM
TooltipContainer:TOOLTIP_CONTAINER
Button@CHEATS_BUTTON:
Id:CHEATS_BUTTON
X:WINDOW_RIGHT-400

View File

@@ -2,7 +2,36 @@ Background@SIMPLE_TOOLTIP:
Id:SIMPLE_TOOLTIP
Logic:SimpleTooltipLogic
Background:panel-black
Width:100
Height:25
Children:
Label@LABEL:
Id:LABEL
X:5
Height:23
Font:Bold
Background@BUTTON_TOOLTIP:
Id:BUTTON_TOOLTIP
Logic:ButtonTooltipLogic
Background:panel-black
Height:25
Children:
Label@LABEL:
Id:LABEL
X:5
Height:23
Font:Bold
Label@HOTKEY:
Id:HOTKEY
Color:255,255,0
Height:23
Font:Bold
Background@WORLD_TOOLTIP:
Id:WORLD_TOOLTIP
Logic:WorldTooltipLogic
Background:panel-black
Width:141
Height:25
Children:
Label@LABEL:
@@ -23,21 +52,4 @@ Background@PRODUCTION_TOOLTIP:
X:5
Width:PARENT_RIGHT-10
Height:23
Font:Bold
Background@BUTTON_TOOLTIP:
Id:BUTTON_TOOLTIP
Logic:ButtonTooltipLogic
Background:panel-black
Width:100
Height:25
Children:
Label@LABEL:
Id:LABEL
X:5
Height:23
Font:Bold
Label@HOTKEY:
Id:HOTKEY
Color:255,255,0
Height:23
Font:Bold