Public Types | Public Attributes
MouseEvent Class Reference

Generic description of a mouse event. More...

#include <MouseEvent.hh>

List of all members.

Public Types

enum  Buttons { NO_BUTTON = 0x0, LEFT = 0x1, MIDDLE = 0x2, RIGHT = 0x4 }
enum  EventType {
  NO_EVENT, MOVE, PRESS, RELEASE,
  SCROLL
}

Public Attributes

math::Vector2i pos
math::Vector2i prevPos
math::Vector2i pressPos
math::Vector2i scroll
float moveScale
bool dragging
EventType type
unsigned int button
unsigned int buttons
 State of the buttons when the event was generated.
bool shift
bool control

Detailed Description

Generic description of a mouse event.


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