Gorgon Game Engine
Mouse.h File Reference
Include dependency graph for Mouse.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::Input
 This namespace contains general input related functionality.
 
 Gorgon::Input::Mouse
 

Enumerations

enum  Button {
  None, Left, Right, Middle,
  X1, X2, X3, X4,
  X5, X6, All
}
 Lists the mouse button constants. More...
 
enum  EventType {
  HitCheck, Over, Move, MovePressed,
  Out, Down, DownPressed, Click,
  Up, Scroll_Vert, Scroll_Hor, Zoom,
  Rotate
}
 The type of a mouse event. More...
 
enum  ScrollType { Vertical, Horizontal, Zoom }
 

Functions

 DefineEnumStrings (Button, {Button::Left, "Left"}, {Button::Right, "Right"}, {Button::Middle, "Middle"}, {Button::X1, "X1"}, {Button::X2, "X2"}, {Button::X3, "X3"}, {Button::X4, "X4"}, {Button::X5, "X5"}, {Button::X6, "X6"},)
 
Button operator& (Button l, Button r)
 
bool operator&& (Button l, Button r)
 
Button operator| (Button l, Button r)
 
Button operator~ (Button l)