--- rxvt-unicode/src/rxvtimg.h 2012/06/03 10:01:32 1.2 +++ rxvt-unicode/src/rxvtimg.h 2012/06/03 16:54:04 1.4 @@ -17,10 +17,11 @@ XRenderPictFormat *format; rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height); - rxvt_img (rxvt_screen *screen, Pixmap *pixmap, XRenderPictFormat *format, int width, int height); - ~rxvt_img (); + rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); + rxvt_img (rxvt_screen *screen); // get root pixmap + rxvt_img (const char *filename); // from pixbuf - void render (GdkPixbuf *pixbuf, int src_x, int src_y, int width, int height, int dst_x, int dst_y); + ~rxvt_img (); Pixmap steal () { @@ -34,6 +35,7 @@ void blur (int rh, int rv); void brightness (double r, double g, double b, double a = 1.); void contrast (double r, double g, double b, double a = 1.); + void render (GdkPixbuf *pixbuf, int src_x, int src_y, int width, int height, int dst_x, int dst_y); // copy rxvt_img *copy ();