ShishGL  1.0
A simple modular cross-platform graphics library
Mouse.hpp
Go to the documentation of this file.
1 /*============================================================================*/
2 #ifndef SHISHGL_MOUSE_HPP
3 #define SHISHGL_MOUSE_HPP
4 /*============================================================================*/
5 namespace Sh {
6 
7  class Mouse {
8  public:
9 
10  enum ButtonState {
12  UP
13  };
14 
15  enum Button {
18  MIDDLE
19  };
20 
21  enum ScrollType {
24  };
25 
26  using ScrollDelta = double;
27 
28  };
29 
30 }
31 /*============================================================================*/
32 #endif //SHISHGL_MOUSE_HPP
33 /*============================================================================*/
Sh::Mouse
Definition: Mouse.hpp:7
Sh::Mouse::ScrollType
ScrollType
Definition: Mouse.hpp:21
Sh::Mouse::VERTICAL
@ VERTICAL
Definition: Mouse.hpp:22
Sh::Mouse::DOWN
@ DOWN
Definition: Mouse.hpp:11
Sh::Mouse::Button
Button
Definition: Mouse.hpp:15
Sh::Mouse::HORIZONTAL
@ HORIZONTAL
Definition: Mouse.hpp:23
Sh::Mouse::RIGHT
@ RIGHT
Definition: Mouse.hpp:17
Sh
Definition: CoreApplication.hpp:10
Sh::Mouse::LEFT
@ LEFT
Definition: Mouse.hpp:16
Sh::Mouse::ButtonState
ButtonState
Definition: Mouse.hpp:10
Sh::Mouse::UP
@ UP
Definition: Mouse.hpp:12
Sh::Mouse::MIDDLE
@ MIDDLE
Definition: Mouse.hpp:18
Sh::Mouse::ScrollDelta
double ScrollDelta
Definition: Mouse.hpp:26