[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loading a bitmap into a cursor
It looks like this is a bug in our GUI library. Thanks for pointing
it out. I'm not sure how to work around it; you may be out of luck
until we can release a fix.
(I have submitted a bug report to our tracking system.)
Sorry,
Robby
At 5:39 PM -0500 1/14/01, Hassoun wrote:
>hi
>i am having a problem loading a bitmap into a cursor, which is
>defined as an instance variable in a modified frame class. i would
>like to customize the appearance of my cursor in a given window,
>using set-cursor to use my defined cursor. the loading of the bitmap
>always fails. what am i doing wrong?
>the .gif file is in the same folder of the .scm file.
>
>this is the code:
>(define newframe%
> (...
> (private
> [mycursor (make-object cursor% "mycursor.gif" 'gif 10 10)])
> ..))
>
>thanks
>
>--
>Hassoun Karam
>hassoun.karam.1@agora.ulaval.ca