SDL_ShowCursor question [Archive] - C Board

PDA

View Full Version : SDL_ShowCursor question


cozman
08-12-2001, 06:39 PM
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.

cozman
08-12-2001, 06:47 PM
-1 seems to be set the cursor to the <-> cursor :confused:

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

Nick
08-13-2001, 09:56 PM
It should be defined in SDL_events.h