Go to the source code of this file.
Detailed Description
Tooltip API.
Definition in file tooltip.c.
Function Documentation
| void tooltip_create |
( |
int |
mx, |
|
|
int |
my, |
|
|
int |
font, |
|
|
const char * |
text |
|
) |
| |
Creates a new tooltip. This must be called every frame in order for the tooltip to remain shown.
- Parameters:
-
| mx | Mouse X. |
| my | Mouse Y. |
| font | Font to use, one of FONT_xxx. |
| text | The text to show in the tooltip. |
Definition at line 48 of file tooltip.c.
Actually show the tooltip.
Definition at line 59 of file tooltip.c.
Variable Documentation
Font of the tooltip text.
Definition at line 35 of file tooltip.c.
Tooltip's text.
Definition at line 33 of file tooltip.c.
Tooltip's X position.
Definition at line 37 of file tooltip.c.
Tooltip's Y position.
Definition at line 39 of file tooltip.c.