]> git.cworth.org Git - grrobot/blobdiff - src/grr_icon.h
Remove generated file ltmain.sh
[grrobot] / src / grr_icon.h
index ca8dfef9f8299aea754e6153dd113e70f5151a9d..ed16942f88d23cfdd76b3197e5c1f3428db2b4e0 100644 (file)
 #define GRR_ICON_H
 
 #include <rr.h>
-#include <xsvg.h>
+#include <svg-cairo.h>
 
 typedef struct grr_icon {
-    xsvg_t *xsvg;
+    svg_cairo_t *svg_cairo;
 
-    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, double alpha);
 
 char *
 grr_icon_robot_name (rr_robot_t robot);