|
From: James S. <jsi...@tr...> - 2001-11-28 19:55:27
|
> > +struct fbcursor {
> > + __u16 set; /* what to set */
> > + __u16 enable;/* cursor on/off */
> > + struct fbcurpos pos;/* cursor position */
> > + struct fbcurpos hot;/* cursor hot spot */
> > + struct fb_cmap cmap;/* color map info */
> > + struct fbcurpos size;/* cursor bit map size */
> > + char *image;/* cursor image bits */
> > + char *mask;/* cursor mask bits */
> > +};
>
> Any details about contents of image and mask?
Depends on what color depth you use for the cursor.
> Or is it just monochromatic
> 1bpp image? There is hardware which can do 16color hardware cursors (+
> transparent+inverse).
I know. That is why we have a colormap for the cursor. This allows for
much more for the cursor than a mono color map.
> And if it is 1bpp image, is it 0/1/transparent/invert (XGA), or
> transp./transp./0/1 (X)?
Should be able to support that as well. I haven't added any flags for
that. Hm.
|