PixelLightAPI  .
Public Member Functions | Protected Member Functions
PLGui::ModClose Class Reference

Modifier that adds actions to the close button (close window or exit application) More...

#include <ModClose.h>

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

List of all members.

Public Member Functions

PLGUI_API ModClose ()
 Constructor.
virtual PLGUI_API ~ModClose ()
 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 OnClose () override
 Called when the widget shall be closed.

Detailed Description

Modifier that adds actions to the close button (close window or exit application)


Constructor & Destructor Documentation

Constructor.

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

Destructor.


Member Function Documentation

virtual void PLGui::ModClose::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::ModClose::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::ModClose::OnClose ( ) [override, protected, virtual]

Called when the widget shall be closed.

Reimplemented from PLGui::WidgetFunctions.


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


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:18
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported