|
From: Jon S. <jon...@gm...> - 2005-08-10 13:25:38
|
On 8/10/05, Antonino A. Daplas <ad...@gm...> wrote:
> struct fb_cursor_ops {
> int (*cursor_move)(int x, int y);
> int (*cursor_show)(int show);
> int (*cursor_load_image)(u32 *image, int width, int height);
> int (*cursor_load_color)(struct fb_cmap *cmap);
> int (*cursor_set_size)(int width, int height);
> int (*cursor_capabilities)(int set, int caps);
> };
Doen't fb already support an image format with embedded color map? Can
we use it and merge:
> int (*cursor_load_image)(u32 *image, int width, int height);
> int (*cursor_load_color)(struct fb_cmap *cmap);
The size can also be computed from the image so the size call can be elimin=
ated.
--=20
Jon Smirl
jon...@gm...
|