CLIM mail archive

[Prev][Next][Index][Thread]

Allegro clim2 custom cursors




#+allegro-4.2
#+clim-2.0

chris richardson did this for me a year ago.

you can make any pattern you like into a mouse-cursor-glyph:

(setf (sheet-pointer-cursor sheet) pattern)

where the pattern's colors are something like these:

(color1 color2)
(+nowhere+ color1)
(+nowhere+ color1 color2)

example:

(clim:make-pattern #2a(blah blah blah) (list clim:+nowhere+ clim:+blue+))	

which works great.

this means you can make almost anything you want, instead of the
default set, like a really large arrow-head.

 -- clint




Main Index | Thread Index