On Wed, 21 Feb 2001, Andreas Beck wrote:

> > 3. Question:
> > How should I handle the following parameters required by
> > XCreatePixmapCursor() ?
> >     Pixmap              /* source */,
> >     Pixmap              /* mask */,
> 
> Generate these from the Area that gets fed to the image setting call.
> 
> >     XColor*             /* foreground_color */,
> >     XColor*             /* background_color */,
> 
> Same here.

And what should I do in the allocation-function? Nothing, but saying
OK?
 
> >     unsigned int        /* x */,
> >     unsigned int        /* y */
> 
> What do those do ? Setting hotspot ? If so, then for easy handling I'd put 
> those to 0/0.

I don't know, what those do. In libggi/display/X/visual.c is an
inlined-function called "make_cursor", that put those to 1/1.


CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

Reply via email to