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

Modifier that toggles a widgets fullscreen mode on 'ALT+ENTER'. More...

#include <ModFullscreen.h>

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

List of all members.

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.

Detailed Description

Modifier that toggles a widgets fullscreen mode on 'ALT+ENTER'.


Constructor & Destructor Documentation

Constructor.

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

Destructor.


Member Function Documentation

virtual void PLGui::ModFullscreen::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::ModFullscreen::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::ModFullscreen::OnKeyDown ( PLCore::uint32  nKey,
PLCore::uint32  nModifiers 
) [override, protected, virtual]

Called when a key was pressed.

Parameters:
[in]nKeyPressed key
[in]nModifiersModifier keys pressed
Note:
  • Because of a possible autorepeat the key may be 'pressed' multiple times before the 'OnKeyUp'-function is called

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