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
{
11
DOWN
,
12
UP
13
};
14
15
enum
Button
{
16
LEFT
,
17
RIGHT
,
18
MIDDLE
19
};
20
21
enum
ScrollType
{
22
VERTICAL
,
23
HORIZONTAL
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
include
ShishGL
Core
RenderSystem
GraphicsPlatform
Input
Mouse.hpp
Generated by
1.8.20