On Thu, Feb 01, 2001 at 11:01:48PM +0100, Tijs van Bakel wrote:
> Lee Brown <[EMAIL PROTECTED]> writes:
> > typedef guint  ggi_cursor_t;
> > 
> > typedef struct {
> >     guint16 bpp;
> >     guint8 width;
> >     guint8 height;
> >     
> >     ggi_color* palette;
> > 
> >     void* bits;
> > 
> >     guint16 hot_x, hot_y;
> > } ggi_cursor;
> 
> guint8 for width and height seems a little too restrictive.
> especially as hot_x and hot_y are guint16 :-)
> 
> the palette is meant for indexed modes only?  (shouldn't there be a
> ggi_palette for this?  maintaining malloc()'s for this in different
> libraries seems like asking for bugs.)

Since the cursor is associated with a visual, shouldn't the visual's
palette be used?

John

Reply via email to