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

Modifier that closes the widget after a specific time. More...

#include <ModTimeout.h>

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

List of all members.

Public Member Functions

PLGUI_API ModTimeout ()
 Constructor.
virtual PLGUI_API ~ModTimeout ()
 Destructor.

Protected Member Functions

virtual void OnAttach (Widget &cWidget) override
 Called when the modifier is attached to a widget.
virtual void OnDetach (Widget &cWidget) override
 Called when the modifier is detached from a widget.
virtual void OnShow () override
 Called when the widget is shown.
void OnTimer ()
 Called when the timer has fired.

Protected Attributes

Timerm_pTimer

Detailed Description

Modifier that closes the widget after a specific time.


Constructor & Destructor Documentation

Constructor.

virtual PLGUI_API PLGui::ModTimeout::~ModTimeout ( ) [virtual]

Destructor.


Member Function Documentation

virtual void PLGui::ModTimeout::OnAttach ( Widget cWidget) [override, protected, virtual]

Called when the modifier is attached to a widget.

Parameters:
[in]cWidgetWidget to which the modifier is attached

Reimplemented from PLGui::Modifier.

virtual void PLGui::ModTimeout::OnDetach ( Widget cWidget) [override, protected, virtual]

Called when the modifier is detached from a widget.

Parameters:
[in]cWidgetWidget from which the modifier is detached

Reimplemented from PLGui::Modifier.

virtual void PLGui::ModTimeout::OnShow ( ) [override, protected, virtual]

Called when the widget is shown.

Reimplemented from PLGui::WidgetFunctions.

void PLGui::ModTimeout::OnTimer ( ) [protected]

Called when the timer has fired.


Member Data Documentation


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:32
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported