Thread: SDL_ShowCursor question

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    SDL_ShowCursor question

    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.

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    403

    the results of an experiment

    -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

  3. #3
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    It should be defined in SDL_events.h

Popular pages Recent additions subscribe to a feed