#include <WindowListener.h>
Public Member Functions | |
WindowListener (IRender &render, Camera &camera) | |
void | eventWindowResize (int x, int y, int width, int height) |
updates camera with new screen size | |
void | eventWindowMove (int x, int y, int width, int height) |
void | eventWindowMinimize (void) |
void | eventWindowUnminimize (void) |
void | eventWindowMaximize (void) |
void | eventWindowClose (void) |
void | eventWindowFocus (void) |
void | eventWindowLostFocus (void) |
Render literner class. This class handels window events.
Definition at line 4 of file WindowListener.h.
Definition at line 3 of file WindowListener.cpp.
void WindowListener::eventWindowClose | ( | void | ) | [inline, virtual] |
Implements EventWindowListener.
Definition at line 16 of file WindowListener.h.
void WindowListener::eventWindowFocus | ( | void | ) | [inline, virtual] |
Implements EventWindowListener.
Definition at line 17 of file WindowListener.h.
void WindowListener::eventWindowLostFocus | ( | void | ) | [inline, virtual] |
Implements EventWindowListener.
Definition at line 18 of file WindowListener.h.
void WindowListener::eventWindowMaximize | ( | void | ) | [inline, virtual] |
Implements EventWindowListener.
Definition at line 15 of file WindowListener.h.
void WindowListener::eventWindowMinimize | ( | void | ) | [inline, virtual] |
Implements EventWindowListener.
Definition at line 13 of file WindowListener.h.
void WindowListener::eventWindowMove | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height | |||
) | [inline, virtual] |
Implements EventWindowListener.
Definition at line 12 of file WindowListener.h.
void WindowListener::eventWindowResize | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height | |||
) | [virtual] |
updates camera with new screen size
Implements EventWindowListener.
Definition at line 9 of file WindowListener.cpp.
void WindowListener::eventWindowUnminimize | ( | void | ) | [inline, virtual] |
Implements EventWindowListener.
Definition at line 14 of file WindowListener.h.