Interface to set the settings for the tool tips.
More...
#include <TGUI/ToolTip.hpp>
|
static void | setTimeToDisplay (const sf::Time &timeToDisplay) |
| Sets the time that the mouse has to stand still before the tooltip becomes visible. More...
|
|
static sf::Time | getTimeToDisplay () |
| Returns the time that the mouse has to stand still before the tooltip becomes visible. More...
|
|
static void | setInitialDelay (const sf::Time &delay) |
| Sets the time that the mouse has to stand still before the tooltip becomes visible. More...
|
|
static sf::Time | getInitialDelay () |
| Returns the time that the mouse has to stand still before the tooltip becomes visible. More...
|
|
static void | setDistanceToMouse (const Vector2f &distance) |
| Sets the default distance between the mouse position and the tool tip. More...
|
|
static Vector2f | getDistanceToMouse () |
| Returns the default distance between the mouse position and the tool tip. More...
|
|
Interface to set the settings for the tool tips.
◆ getDistanceToMouse()
static Vector2f tgui::ToolTip::getDistanceToMouse |
( |
| ) |
|
|
static |
Returns the default distance between the mouse position and the tool tip.
- Returns
- Distance between mouse and tool tip
◆ getInitialDelay()
static sf::Time tgui::ToolTip::getInitialDelay |
( |
| ) |
|
|
static |
Returns the time that the mouse has to stand still before the tooltip becomes visible.
- Returns
- Time before displaying tooltip
◆ getTimeToDisplay()
static sf::Time tgui::ToolTip::getTimeToDisplay |
( |
| ) |
|
|
static |
Returns the time that the mouse has to stand still before the tooltip becomes visible.
- Returns
- Time before displaying tooltip
◆ setDistanceToMouse()
static void tgui::ToolTip::setDistanceToMouse |
( |
const Vector2f & |
distance | ) |
|
|
static |
Sets the default distance between the mouse position and the tool tip.
- Parameters
-
distance | Distance between mouse and tool tip |
◆ setInitialDelay()
static void tgui::ToolTip::setInitialDelay |
( |
const sf::Time & |
delay | ) |
|
|
static |
Sets the time that the mouse has to stand still before the tooltip becomes visible.
- Parameters
-
delay | Time before displaying tooltip |
◆ setTimeToDisplay()
static void tgui::ToolTip::setTimeToDisplay |
( |
const sf::Time & |
timeToDisplay | ) |
|
|
static |
Sets the time that the mouse has to stand still before the tooltip becomes visible.
- Parameters
-
timeToDisplay | Time before displaying tooltip |
The documentation for this class was generated from the following file: