Allolib
1.0
C++ Components For Interactive Multimedia
|
Controller for handling input and window events. More...
#include <C:/Users/Andres/source/repos/casm_viewer/external/tinc/external/allolib/include/al/io/al_Window.hpp>
Public Member Functions | |
virtual bool | keyDown (const Keyboard &k) |
Called when a keyboard key is pressed. | |
virtual bool | keyUp (const Keyboard &k) |
Called when a keyboard key is released. | |
virtual bool | mouseDown (const Mouse &m) |
Called when a mouse button is pressed. | |
virtual bool | mouseDrag (const Mouse &m) |
Called when the mouse moves while a button is down. | |
virtual bool | mouseMove (const Mouse &m) |
Called when the mouse moves. | |
virtual bool | mouseUp (const Mouse &m) |
Called when a mouse button is released. | |
virtual bool | mouseScroll (const Mouse &m) |
Called when mouse scrolled. | |
virtual bool | resize (int dw, int dh) |
Called whenever window dimensions change. | |
virtual bool | visibility (bool v) |
Called when window changes from hidden to shown and vice versa. | |
WindowEventHandler & | windowEventHandler () |
Return self. | |
bool | attached () const |
Window & | window () |
const Window & | window () const |
Public Attributes | |
Window * | mWindow |
Friends | |
class | Window |
Controller for handling input and window events.
The return value of the event handlers determines whether or not the event should be propagated to other handlers.
Definition at line 194 of file al_Window.hpp.