|
ClassicCityBuilderKit 1.9.4
|
manages the tooltip, tooltips are only displayed after a delay and vanish when the mouse is moved
the UI part of displaying the tooltip is done in TooltipPanel
Public Member Functions | |
| void | Enter (ITooltipOwner owner) |
| the pointer has entered the owners area | |
| void | Exit (ITooltipOwner owner) |
| the pointer has exited the owners area | |
| void | Refresh (ITooltipOwner owner) |
| text of the tooltip owner has changed if it is active it needs to be refreshed in the ui | |
Public Attributes | |
| TooltipPanel | Panel |
| float | Delay = 0.25f |
|
inline |
the pointer has entered the owners area
| owner | an object that has a tooltip |
Implements CityBuilderCore.ITooltipManager.
|
inline |
the pointer has exited the owners area
| owner | an object that has a tooltip |
Implements CityBuilderCore.ITooltipManager.
|
inline |
text of the tooltip owner has changed
if it is active it needs to be refreshed in the ui
| owner | an object that has a tooltip |
Implements CityBuilderCore.ITooltipManager.