summaryrefslogtreecommitdiff
path: root/source/modules/asura-core/input/cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/modules/asura-core/input/cursor.h')
-rw-r--r--source/modules/asura-core/input/cursor.h81
1 files changed, 0 insertions, 81 deletions
diff --git a/source/modules/asura-core/input/cursor.h b/source/modules/asura-core/input/cursor.h
deleted file mode 100644
index e3df7ee..0000000
--- a/source/modules/asura-core/input/cursor.h
+++ /dev/null
@@ -1,81 +0,0 @@
-#ifndef __ASURA_ENGINE_CURSOR_H__
-#define __ASURA_ENGINE_CURSOR_H__
-
-#include <SDL2/SDL.h>
-
-#include <asura-utils/scripting/portable.hpp>
-
-#include "../graphics/image_data.h"
-
-#include "input_device.hpp"
-
-namespace AsuraEngine
-{
- namespace Input
- {
-
- class CursorImpl;
-
- // Types of system cursors.
- enum SystemCursor
- {
- CURSOR_ARROW,
- CURSOR_IBEAM,
- CURSOR_WAIT,
- CURSOR_CROSSHAIR,
- CURSOR_WAITARROW,
- CURSOR_SIZENWSE,
- CURSOR_SIZENESW,
- CURSOR_SIZEWE,
- CURSOR_SIZENS,
- CURSOR_SIZEALL,
- CURSOR_NO,
- CURSOR_HAND,
- CURSOR_MAX_ENUM
- };
-
- enum CursorType
- {
- CURSORTYPE_SYSTEM,
- CURSORTYPE_IMAGE,
- CURSORTYPE_MAX_ENUM
- };
-
- // ָö
-#include "Cursor.defs"
-
- class Cursor
- : public AEScripting::Portable<Cursor>
- {
- public:
-
- Cursor(Graphics::ImageData& imageData, int hotx, int hoty);
- Cursor(SystemCursor cursortype);
-
- ~Cursor();
-
- SDL_Cursor* GetHandle() const;
- CursorType GetType() const;
- SystemCursor GetSystemType() const;
-
- private:
-
- CursorType mType;
- SystemCursor mSystemType;
- CursorImpl* mImpl;
-
- luaxport:
-
- LUAX_DECL_FACTORY(Cursor);
-
- };
-
- ASURA_ABSTRACT class CursorImpl
- {
-
- };
-
- }
-}
-
-#endif \ No newline at end of file