MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
events.h File Reference
#include "ogl/defines.h"
Include dependency graph for events.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ogl::KeyboardEvent
 Keyboard event. More...
 
struct  ogl::MouseEvent
 Mouse event. More...
 

Namespaces

namespace  ogl
 Wrappers and helpers for the OpenGL graphics API.
 

Enumerations

enum  ogl::KeyboardEventType { ogl::KEYBOARD_EVENT_PRESS , ogl::KEYBOARD_EVENT_RELEASE }
 Keyboard event type. More...
 
enum  ogl::MouseButton {
  ogl::MOUSE_BUTTON_NONE = 0 , ogl::MOUSE_BUTTON_LEFT = 1 << 0 , ogl::MOUSE_BUTTON_RIGHT = 1 << 1 , ogl::MOUSE_BUTTON_MIDDLE = 1 << 2 ,
  ogl::MOUSE_BUTTON_X1 = 1 << 3 , ogl::MOUSE_BUTTON_X2 = 1 << 4
}
 Mouse button types. More...
 
enum  ogl::MouseEventType {
  ogl::MOUSE_EVENT_PRESS , ogl::MOUSE_EVENT_RELEASE , ogl::MOUSE_EVENT_MOVE , ogl::MOUSE_EVENT_WHEEL_UP ,
  ogl::MOUSE_EVENT_WHEEL_DOWN
}
 Mouse event types. More...
 

Functions

void ogl::event_debug_print (KeyboardEvent const &e)
 Prints debug information for keyboard event 'e' to STDOUT.
 
void ogl::event_debug_print (MouseEvent const &e)
 Prints debug information for mouse event 'e' to STDOUT.