One more mouse question

I am implementing my own mouse cursor, isn’t there a way to disable the
mouse cursor with SDL? I thought I had seen a function that did
something like this but I can’t find it anymore.

on Mon, 06 Sep 1999 John Garrison wrote:

I am implementing my own mouse cursor, isn’t there a way to disable the
mouse cursor with SDL? I thought I had seen a function that did
something like this but I can’t find it anymore.

SDL_ShowCursor(0); would do the job.–
Karsten-O. Laux
klaux at student.uni-kl.de
http://www.rhrk.uni-kl.de/~klaux

turn off the mouse cursor:

lastState = SDL_ShowCursor( 0 );

turn on the mouse cursor:

lastState = SDL_ShowCursor( 1 );

:slight_smile:

Charlie Robson
Sony Computer Entertainment Europe

IMPORTANT NEWS ANNOUNCEMENT FROM SCEE MIS

New scee.net email address will replace playstation.sony.com**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
postmaster at scee.net

This footnote also confirms that this email message has been checked
for all known viruses.


SCEE 1999