Aether3D Game Engine
MouseInput.hpp
1 #ifndef MOUSE_INPUT_H
2 #define MOUSE_INPUT_H
3 
4 namespace ae3d
5 {
6 namespace mouseinput
7 {
8  enum Enum
9  {
10  MOUSE_BUTTON_LEFT = 0,
11  MOUSE_BUTTON_RIGHT,
12  MOUSE_BUTTON_MIDDLE
13  };
14 }
15 }
16 
19 {
20  public:
21  virtual ~MouseInput() {}
26  virtual void GetPosition( int& outX, int& outY ) const;
27 
32  virtual void SetPosition( int x, int y ) const;
33 
35  virtual void SetRelative( bool enable ) const;
36 
38  virtual void ShowCursor( bool enable ) const;
39 
44  virtual bool IsDown( ae3d::mouseinput::Enum button ) const;
45 };
46 #endif
Definition: KeyboardInput.hpp:4
Reads mouse.
Definition: MouseInput.hpp:18