PixelLightAPI  .
Public Member Functions | Protected Member Functions | Protected Attributes
PLGui::Tooltip Class Reference

A simple tooltip widget. More...

#include <Tooltip.h>

Inheritance diagram for PLGui::Tooltip:
Inheritance graph
[legend]

List of all members.

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

Labelm_pLabel

Detailed Description

A simple tooltip widget.


Constructor & Destructor Documentation

PLGUI_API PLGui::Tooltip::Tooltip ( Widget pParent = nullptr)

Constructor.

Parameters:
[in]pParentPointer to parent widget
virtual PLGUI_API PLGui::Tooltip::~Tooltip ( ) [virtual]

Destructor.


Member Function Documentation

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.

Parameters:
[in]cGraphicsGraphics object used for painting

Reimplemented from PLGui::WidgetFunctions.


Member Data Documentation

Text label


The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.11-R1
Copyright (C) 2002-2012 by The PixelLight Team
Last modified Thu Feb 23 2012 14:09:33
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported