aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Input/je_mouse.h
blob: e9fab42dbb7d470cd4084c95d2e8c2c7ae5bc2ce (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
#ifndef __LIBJIN_MOUSE_H
#define __LIBJIN_MOUSE_H
#include "../core/je_configuration.h"
#ifdef LIBJIN_MODULES_INPUT

#include "../common/je_singleton.hpp"

namespace jin
{
	namespace input
	{

		class Mouse : public Singleton<Mouse>
		{
		public:
			void getState(int* x, int* y);
			void setVisible(bool visible);

		private: 
			singleton(Mouse);

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

		};

	} // namespace input
} // namespace jin

#endif // LIBJIN_MODULES_INPUT
#endif // __LIBJIN_MOUSE_H