i am using the SDL and trying to hide the cursor,
the line SDL_ShowCursor(SDL_DISABLE); is saying that SDL_DISABLE is not defined, the documentation claims otherwise, anyone on here have any experience with SDL_ShowCursor? Thanks in advance.
This is a discussion on SDL_ShowCursor question within the Game Programming forums, part of the General Programming Boards category; i am using the SDL and trying to hide the cursor, the line SDL_ShowCursor(SDL_DISABLE); is saying that SDL_DISABLE is not ...
i am using the SDL and trying to hide the cursor,
the line SDL_ShowCursor(SDL_DISABLE); is saying that SDL_DISABLE is not defined, the documentation claims otherwise, anyone on here have any experience with SDL_ShowCursor? Thanks in advance.
-1 seems to be set the cursor to the <-> cursor![]()
0 changes the current setting (if it is on then it'll be off and vice-versa)
1 sets it to on
2 sets it to off
but i'm still wondering why SDL_DISABLE isn't defined
It should be defined in SDL_events.h