--- rxvt-unicode/src/rxvtimg.h 2012/11/13 08:45:35 1.47 +++ rxvt-unicode/src/rxvtimg.h 2014/05/22 18:54:33 1.50 @@ -8,7 +8,7 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -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 :/