Orxonox: orxonox::WindowEventListener Class Reference

# orxonox::WindowEventListener Class Reference

Interface for receiving window events. More...

`#include <src/orxonox/interfaces/WindowEventListener.h>`

Inheritance diagram for orxonox::WindowEventListener:

List of all members.

## Public Member Functions

| WindowEventListener ()
| Constructor for the WindowEventListener.
virtual void | windowFocusChanged ()
virtual void | windowMoved ()
virtual void | windowResized (unsigned int newWidth, unsigned int newHeight)
virtual | ~WindowEventListener ()

## Detailed Description

Interface for receiving window events.

## Constructor & Destructor Documentation

orxonox::WindowEventListener::WindowEventListener | ( |  | ) |

Constructor for the WindowEventListener.

References RegisterRootObject.

virtual orxonox::WindowEventListener::~WindowEventListener | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual void orxonox::WindowEventListener::windowFocusChanged | ( |  | ) | `[inline, virtual]`

Window has lost/gained focus

Reimplemented in orxonox::GSGraphics.

virtual void orxonox::WindowEventListener::windowMoved | ( |  | ) | `[inline, virtual]`

Window has moved position

virtual void orxonox::WindowEventListener::windowResized | ( | unsigned int | newWidth,
|  | unsigned int | newHeight |
| ) |  |  | `[inline, virtual]`

Window has resized

Reimplemented in orxonox::GSGraphics, orxonox::InGameConsole, and orxonox::OrxonoxOverlay.

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

- src/orxonox/interfaces/WindowEventListener.h
- src/orxonox/interfaces/InterfaceCompilation.cc