PixelLightAPI
.
|
Modifier that adds actions to the close button (close window or exit application) More...
#include <ModClose.h>
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. |
Modifier that adds actions to the close button (close window or exit application)
PLGUI_API PLGui::ModClose::ModClose | ( | ) |
Constructor.
virtual PLGUI_API PLGui::ModClose::~ModClose | ( | ) | [virtual] |
Destructor.
virtual void PLGui::ModClose::OnAttach | ( | Widget & | cWidget | ) | [override, protected, virtual] |
Called when the modifier is attached to a widget.
[in] | cWidget | Widget 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.
[in] | cWidget | Widget 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.
|