aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/sdl_mouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/sdl_mouse.c')
-rw-r--r--c_src/sdl_mouse.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/c_src/sdl_mouse.c b/c_src/sdl_mouse.c
index b74d088..8b36131 100644
--- a/c_src/sdl_mouse.c
+++ b/c_src/sdl_mouse.c
@@ -14,22 +14,6 @@
#include "esdl2.h"
-#define SYSTEM_CURSOR_ENUM(E) \
- E(arrow, SDL_SYSTEM_CURSOR_ARROW) \
- E(ibeam, SDL_SYSTEM_CURSOR_IBEAM) \
- E(wait, SDL_SYSTEM_CURSOR_WAIT) \
- E(crosshair, SDL_SYSTEM_CURSOR_CROSSHAIR) \
- E(wait_arrow, SDL_SYSTEM_CURSOR_WAITARROW) \
- E(size_nwse, SDL_SYSTEM_CURSOR_SIZENWSE) \
- E(size_nesw, SDL_SYSTEM_CURSOR_SIZENESW) \
- E(size_we, SDL_SYSTEM_CURSOR_SIZEWE) \
- E(size_ns, SDL_SYSTEM_CURSOR_SIZENS) \
- E(size_all, SDL_SYSTEM_CURSOR_SIZEALL) \
- E(no, SDL_SYSTEM_CURSOR_NO) \
- E(hand, SDL_SYSTEM_CURSOR_HAND)
-
-static NIF_ATOM_TO_ENUM_FUNCTION(atom_to_system_cursor, int, SYSTEM_CURSOR_ENUM)
-
#define MOUSEWHEEL_DIRECTION_ENUM(E) \
E(normal, SDL_MOUSEWHEEL_NORMAL) \
E(flipped, SDL_MOUSEWHEEL_FLIPPED)