X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=src%2Fgrr_icon.h;h=10a954fa030f35dfd6ca299b9574f7c3d125c2e3;hb=aa581a49058b37814305c2766b83dcf907add157;hp=c2d832c1c995a48da0c60d76ee2539ca6b6809de;hpb=cb69660363a21978e1919d8f30868e6a5c94a4d4;p=grrobot diff --git a/src/grr_icon.h b/src/grr_icon.h index c2d832c..10a954f 100644 --- a/src/grr_icon.h +++ b/src/grr_icon.h @@ -1,6 +1,6 @@ /* grrobot - Ricochet Robot using GTK+ and Xr * - * Copyright © 2003 Carl Worth + * Copyright © 2003 Carl Worth * * Permission to use, copy, modify, distribute, and sell this software * and its documentation for any purpose is hereby granted without @@ -28,11 +28,11 @@ #define GRR_ICON_H #include -#include +#include +#include typedef struct grr_icon { - svg_cairo_t *svg_cairo; - + RsvgHandle *rsvg; cairo_surface_t *surface; int surface_width; int surface_height; @@ -51,7 +51,7 @@ void grr_icon_predraw (grr_icon_t *icon, cairo_t *xrs, int width, int height); void -grr_icon_draw_predrawn (grr_icon_t *icon, cairo_t *xrs); +grr_icon_draw_predrawn (grr_icon_t *icon, cairo_t *xrs, double alpha); char * grr_icon_robot_name (rr_robot_t robot);