iPcTooltip Struct Reference
Tooltip property class. More...
#include <propclass/tooltip.h>
Public Member Functions | |
virtual void | Hide ()=0 |
Hide tooltip. | |
virtual bool | IsVisible () const =0 |
Is tooltip visible? | |
virtual void | SetBackgroundColor (int r, int g, int b)=0 |
Set background color (use -1, -1, -1 for transparent). | |
virtual void | SetFont (iFont *font)=0 |
Set the font for the tooltip. | |
virtual void | SetJustify (celTooltipJustify justify)=0 |
Set the justification of the tooltip. | |
virtual void | SetText (const char *text)=0 |
Set the text to display. | |
virtual void | SetTextColor (int r, int g, int b)=0 |
Set text color. | |
virtual void | Show (int x, int y)=0 |
Show tooltip at given location. |
Detailed Description
Tooltip property class.
Definition at line 40 of file tooltip.h.
Member Function Documentation
|
Hide tooltip.
|
|
Is tooltip visible?
|
|
Set background color (use -1, -1, -1 for transparent). Default yellow. |
|
Set the font for the tooltip. Defaults to CSFONT_COURIER. |
|
Set the justification of the tooltip. Defaults to left-aligned. |
|
Set the text to display. Newlines will be properly handled. |
|
Set text color. Default black. |
|
Show tooltip at given location.
|
The documentation for this struct was generated from the following file:
- propclass/tooltip.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.6