

Public Member Functions | |
| Tooltip (intf_thread_t *pIntf, const GenericFont &rFont, int delay) | |
| Create a tooltip with the given font and delay (in milliseconds). | |
| virtual | ~Tooltip () |
| void | show () |
| Draw the tooltip and show it after the delay. | |
| void | hide () |
| Hide the tooltip and cancel the timer if a tooltip is waiting for display. | |
Friends | |
| class | CmdShow |
Data Structures | |
| class | CmdShow |
| Callback to show the tooltip window. | |
| Tooltip::Tooltip | ( | intf_thread_t * | pIntf, | |
| const GenericFont & | rFont, | |||
| int | delay | |||
| ) |
Create a tooltip with the given font and delay (in milliseconds).
References Subject< S, ARG >::addObserver(), OSFactory::createOSTimer(), OSFactory::createOSTooltip(), VarManager::getTooltipText(), VarManager::instance(), and OSFactory::instance().
| Tooltip::~Tooltip | ( | ) | [virtual] |
| void Tooltip::show | ( | ) |
Draw the tooltip and show it after the delay.
References OSTimer::start().
Referenced by WindowManager::showTooltip().
| void Tooltip::hide | ( | ) |
Hide the tooltip and cancel the timer if a tooltip is waiting for display.
References OSTooltip::hide(), and OSTimer::stop().
Referenced by WindowManager::hideTooltip().
friend class CmdShow [friend] |
1.5.6