PixelLightAPI
.
|
Modifier that toggles a widgets fullscreen mode on 'ALT+ENTER'. More...
#include <ModFullscreen.h>
Public Member Functions | |
PLGUI_API | ModFullscreen () |
Constructor. | |
virtual PLGUI_API | ~ModFullscreen () |
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 | OnKeyDown (PLCore::uint32 nKey, PLCore::uint32 nModifiers) override |
Called when a key was pressed. |
Modifier that toggles a widgets fullscreen mode on 'ALT+ENTER'.
PLGUI_API PLGui::ModFullscreen::ModFullscreen | ( | ) |
Constructor.
virtual PLGUI_API PLGui::ModFullscreen::~ModFullscreen | ( | ) | [virtual] |
Destructor.
virtual void PLGui::ModFullscreen::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::ModFullscreen::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::ModFullscreen::OnKeyDown | ( | PLCore::uint32 | nKey, |
PLCore::uint32 | nModifiers | ||
) | [override, protected, virtual] |
Called when a key was pressed.
[in] | nKey | Pressed key |
[in] | nModifiers | Modifier keys pressed |
Reimplemented from PLGui::WidgetFunctions.
|