[ILUG] How to create custom X mouse cursor

John P. Looney john at antefacto.com
Mon Nov 26 10:40:25 GMT 2001


On Mon, Nov 26, 2001 at 10:29:01AM -0000, Vijay Gill mentioned:
>     Is there any way of creating your own X windows mouse cursor?
> Regards

 You can. It is made from two separate images, a "bitmap" of what is
shown, and what is not, and another bitmap of what is black, and what is
white.

 I'm not aware of any programs that can do this for you. You would have to
use the XLib calls themselves, and write your own C code to do it. Have a
look at;

     man XCreateFontCursor

 And it'll give you a small bit of information.

Kate

-- 
_______________________________________
John Looney             Chief Scientist
a n t e f a c t o     t: +353 1 8586004
www.antefacto.com     f: +353 1 8586014





More information about the ILUG mailing list