summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Input/Mouse.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-19 23:06:27 +0800
committerchai <chaifix@163.com>2019-03-19 23:06:27 +0800
commit1497dccd63a84b7ee2b229b1ad9c5c02718f2a78 (patch)
treef8d1bff50da13e126d08c7345653e002e293202d /Source/Asura.Engine/Input/Mouse.h
parent5e2a973516e0729b225da9de0b03015dc5854ac4 (diff)
*rename
Diffstat (limited to 'Source/Asura.Engine/Input/Mouse.h')
-rw-r--r--Source/Asura.Engine/Input/Mouse.h56
1 files changed, 0 insertions, 56 deletions
diff --git a/Source/Asura.Engine/Input/Mouse.h b/Source/Asura.Engine/Input/Mouse.h
deleted file mode 100644
index 0f34fdd..0000000
--- a/Source/Asura.Engine/Input/Mouse.h
+++ /dev/null
@@ -1,56 +0,0 @@
-#ifndef __ASURA_ENGINE_MOUSE_H__
-#define __ASURA_ENGINE_MOUSE_H__
-
-#include "Cursor.h"
-#include "InputDevice.hpp"
-
-namespace AsuraEngine
-{
- namespace Input
- {
-
- class Mouse : public InputDevice<Mouse>
- {
- public:
-
- ///
- /// ͼƬйָʹϵͳָ
- ///
- Cursor *CreateCursor(Graphics::ImageData *data, int hotx, int hoty);
- Cursor *GetSystemCursor(Cursor::SystemCursor cursortype);
-
- void SetCursor(Cursor *cursor);
- void SetCursor() ;
-
- Cursor* GetCursor() const;
-
- bool IsCursorSupported() const;
-
- double GetX() const;
- double GetY() const;
- void GetPosition(double &x, double &y) const;
- void GetX(double x) ;
- void SetY(double y) ;
- void SetPosition(double x, double y) ;
- void SetVisible(bool visible) ;
- bool IsDown(const std::vector<int> &buttons) const;
- bool IsVisible() const;
- void SetGrabbed(bool grab) ;
- bool IsGrabbed() const;
- bool SetRelativeMode(bool relative) ;
- bool GetRelativeMode() const;
-
- //----------------------------------------------------------------------------------------------------------
-
- LUAX_DECL_SINGLETON(Mouse);
-
- //----------------------------------------------------------------------------------------------------------
-
- private:
-
- };
-
- }
-}
-
-#endif \ No newline at end of file