… | |
… | |
1194 | BG_IS_TRANSPARENT = 1 << 1, |
1194 | BG_IS_TRANSPARENT = 1 << 1, |
1195 | BG_NEEDS_REFRESH = 1 << 2, |
1195 | BG_NEEDS_REFRESH = 1 << 2, |
1196 | |
1196 | |
1197 | BG_HAS_RENDER = 1 << 3, |
1197 | BG_HAS_RENDER = 1 << 3, |
1198 | BG_HAS_RENDER_CONV = 1 << 4, |
1198 | BG_HAS_RENDER_CONV = 1 << 4, |
1199 | BG_CLIENT_RENDER = 1 << 5, |
|
|
1200 | }; |
1199 | }; |
1201 | |
1200 | |
1202 | uint8_t bg_flags; |
1201 | uint8_t bg_flags; |
1203 | |
1202 | |
1204 | # ifdef BG_IMAGE_FROM_FILE |
1203 | # ifdef BG_IMAGE_FROM_FILE |
… | |
… | |
1220 | void bg_set_transparent () |
1219 | void bg_set_transparent () |
1221 | { |
1220 | { |
1222 | bg_flags |= BG_IS_TRANSPARENT; |
1221 | bg_flags |= BG_IS_TRANSPARENT; |
1223 | } |
1222 | } |
1224 | void bg_set_root_pixmap (); |
1223 | void bg_set_root_pixmap (); |
1225 | bool make_transparency_pixmap (); |
1224 | bool render_root_image (); |
1226 | # endif |
1225 | # endif |
1227 | |
1226 | |
1228 | bool blur_pixmap (Pixmap pixmap, int width, int height, bool argb, int h_blurRadius, int v_blurRadius); |
1227 | bool blur_pixmap (Pixmap pixmap, int width, int height, bool argb, int h_blurRadius, int v_blurRadius); |
1229 | bool tint_pixmap (Pixmap pixmap, int width, int height, bool argb, rxvt_color &tint, bool tint_set, int shade); |
1228 | bool tint_pixmap (Pixmap pixmap, int width, int height, bool argb, rxvt_color &tint, bool tint_set, int shade); |
1230 | void tint_ximage (XImage *ximage, rxvt_color &tint, bool tint_set, int shade); |
1229 | void tint_ximage (XImage *ximage, rxvt_color &tint, bool tint_set, int shade); |