[fxruby-users] FXCursor on Windows broken?
Jeroen van der Zijp
jeroen at fox-toolkit.org
Tue Aug 9 12:22:41 EDT 2005
On Tuesday 09 August 2005 11:06 am, Gonzalo Garramuno wrote:
> Hmm... never mind. Got it working. Did not understand that cursors were a
> resource like any other and that FXWindow had instance variables for storing
> cursors. This probably needs a small reference to it in FXCursor or an
> example.
> Also, looking at the FXRuby FXCursor docs, the documentation for two of the
> constructors is reversed.
> Finally, I am not sure I follow what is the "pix" variable in FXGIFCursor's
> constructor. I assume that FXGIFCursor is mainly to be used with
> loadPixels() so as to load a cursor definition from a gif, right?
Correct; the transparency in the GIF is turned into a mask, so it'll
be a convenient way to get a color cursor into your code, from an
image.
- Jeroen
More information about the fxruby-users
mailing list