Allolib  1.0
C++ Components For Interactive Multimedia
al::App::StandardWindowAppKeyControls Struct Reference
Inheritance diagram for al::App::StandardWindowAppKeyControls:
al::WindowEventHandler

Public Member Functions

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.
 
WindowEventHandlerwindowEventHandler ()
 Return self.
 
bool attached () const
 
Windowwindow ()
 
const Windowwindow () const
 

Public Attributes

Appapp
 
WindowmWindow
 

Detailed Description

Definition at line 164 of file al_App.hpp.


The documentation for this struct was generated from the following file: