--- rxvt-unicode/src/rxvtimg.h 2012/11/13 08:45:35 1.47 +++ rxvt-unicode/src/rxvtimg.h 2013/10/01 13:30:04 1.49 @@ -24,10 +24,6 @@ #ifndef IMG_H #define IMG_H -#if HAVE_BG_PIXMAP - #define HAVE_IMG 1 -#endif - #if HAVE_IMG #define float_to_component(d) (int32_t)((d) * 65535.99) @@ -130,6 +126,7 @@ rxvt_img *rotate (int cx, int cy, nv phi); rxvt_img *convert_format (XRenderPictFormat *format, const rgba &bg); rxvt_img *tint (const rgba &c); + rxvt_img *shade (nv factor, rgba c = rgba (rgba::MAX_CC, rgba::MAX_CC, rgba::MAX_CC)); rxvt_img *filter (const char *name, int nparams = 0, nv *params = 0); rxvt_img *muladd (nv mul, nv add); // general multiply and add, implemented as the biggest hack ever :/