aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/input/mouse.h
blob: feb982bfb5aadc79cb5e9b5b46eb15ef495f1e2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef __JE_MOUSE_H__
#define __JE_MOUSE_H__
#include "../core/configuration.h"
#if defined(jin_input)

#include "../common/singleton.hpp"

namespace JinEngine
{
    namespace Input
    {

        ///
        ///
        ///
        class Mouse : public Singleton<Mouse>
        {
        public:
            ///
            ///
            ///
            Mouse() {};

            ///
            ///
            ///
            ~Mouse() {};

            ///
            ///
            ///
            void getState(int* x, int* y);

            ///
            ///
            ///
            void setVisible(bool visible);

        };

    } // namespace Input
} // namespace JinEngine

#endif // defined(jin_input)

#endif // __JE_MOUSE_H__