X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=src%2Fgrr_icon.h;h=e3d0579326019c0abcc0cca198689a721f3b7efd;hb=e27bd3ce66f33bb5d60be05a8ffae485f1f1b584;hp=ca8dfef9f8299aea754e6153dd113e70f5151a9d;hpb=f1cf379f7a0932549fde7ca0a2b86d05fcd7af62;p=grrobot diff --git a/src/grr_icon.h b/src/grr_icon.h index ca8dfef..e3d0579 100644 --- a/src/grr_icon.h +++ b/src/grr_icon.h @@ -33,7 +33,7 @@ typedef struct grr_icon { xsvg_t *xsvg; - XrSurface *surface; + cairo_surface_t *surface; int surface_width; int surface_height; } grr_icon_t; @@ -45,13 +45,13 @@ void grr_icon_destroy (grr_icon_t *icon); void -grr_icon_draw (grr_icon_t *icon, XrState *xrs); +grr_icon_draw (grr_icon_t *icon, cairo_t *xrs); void -grr_icon_predraw (grr_icon_t *icon, XrState *xrs, int width, int height); +grr_icon_predraw (grr_icon_t *icon, cairo_t *xrs, int width, int height); void -grr_icon_draw_predrawn (grr_icon_t *icon, XrState *xrs); +grr_icon_draw_predrawn (grr_icon_t *icon, cairo_t *xrs); char * grr_icon_robot_name (rr_robot_t robot);