PixelLightAPI
.
|
A simple tooltip widget. More...
#include <Tooltip.h>
Public Member Functions | |
PLGUI_API | Tooltip (Widget *pParent=nullptr) |
Constructor. | |
virtual PLGUI_API | ~Tooltip () |
Destructor. | |
Protected Member Functions | |
virtual PLGUI_API void | OnShowTooltip () override |
Called on display of the tooltip. | |
virtual PLGUI_API void | OnTimeout () override |
Called on timeout. | |
virtual PLGUI_API void | OnDraw (Graphics &cGraphics) override |
Called to draw the widget. | |
Protected Attributes | |
Label * | m_pLabel |
A simple tooltip widget.
PLGUI_API PLGui::Tooltip::Tooltip | ( | Widget * | pParent = nullptr | ) |
Constructor.
[in] | pParent | Pointer to parent widget |
virtual PLGUI_API PLGui::Tooltip::~Tooltip | ( | ) | [virtual] |
Destructor.
virtual PLGUI_API void PLGui::Tooltip::OnShowTooltip | ( | ) | [override, protected, virtual] |
Called on display of the tooltip.
Reimplemented from PLGui::AbstractTooltip.
virtual PLGUI_API void PLGui::Tooltip::OnTimeout | ( | ) | [override, protected, virtual] |
Called on timeout.
Reimplemented from PLGui::AbstractTooltip.
virtual PLGUI_API void PLGui::Tooltip::OnDraw | ( | Graphics & | cGraphics | ) | [override, protected, virtual] |
Called to draw the widget.
[in] | cGraphics | Graphics object used for painting |
Reimplemented from PLGui::WidgetFunctions.
Label* PLGui::Tooltip::m_pLabel [protected] |
Text label
|