… | |
… | |
83 | #include <ecb.h> |
83 | #include <ecb.h> |
84 | #include "encoding.h" |
84 | #include "encoding.h" |
85 | #include "rxvtutil.h" |
85 | #include "rxvtutil.h" |
86 | #include "rxvtfont.h" |
86 | #include "rxvtfont.h" |
87 | #include "rxvttoolkit.h" |
87 | #include "rxvttoolkit.h" |
|
|
88 | #include "rxvtimg.h" |
88 | #include "scrollbar.h" |
89 | #include "scrollbar.h" |
89 | #include "ev_cpp.h" |
90 | #include "ev_cpp.h" |
90 | #include "libptytty.h" |
91 | #include "libptytty.h" |
91 | |
92 | |
92 | #include "rxvtperl.h" |
93 | #include "rxvtperl.h" |
… | |
… | |
1191 | enum { |
1192 | enum { |
1192 | BG_IS_VALID = 1 << 0, |
1193 | BG_IS_VALID = 1 << 0, |
1193 | |
1194 | |
1194 | BG_IS_TRANSPARENT = 1 << 1, |
1195 | BG_IS_TRANSPARENT = 1 << 1, |
1195 | BG_NEEDS_REFRESH = 1 << 2, |
1196 | BG_NEEDS_REFRESH = 1 << 2, |
1196 | |
|
|
1197 | BG_HAS_RENDER = 1 << 3, |
|
|
1198 | BG_HAS_RENDER_CONV = 1 << 4, |
|
|
1199 | }; |
1197 | }; |
1200 | |
1198 | |
1201 | uint8_t bg_flags; |
1199 | uint8_t bg_flags; |
1202 | |
1200 | |
1203 | # ifdef BG_IMAGE_FROM_FILE |
1201 | # ifdef BG_IMAGE_FROM_FILE |
… | |
… | |
1211 | bool render_image (rxvt_image &image); |
1209 | bool render_image (rxvt_image &image); |
1212 | void parse_image (int id, const char *type, const char *arg); |
1210 | void parse_image (int id, const char *type, const char *arg); |
1213 | # endif |
1211 | # endif |
1214 | |
1212 | |
1215 | # ifdef ENABLE_TRANSPARENCY |
1213 | # ifdef ENABLE_TRANSPARENCY |
1216 | Pixmap root_pixmap; /* current root pixmap set */ |
1214 | Pixmap root_pixmap; /* current root pixmap set */ |
1217 | image_effects root_effects; |
1215 | image_effects root_effects; |
1218 | |
1216 | |
1219 | void bg_set_transparent () |
1217 | void bg_set_transparent () |
1220 | { |
1218 | { |
1221 | bg_flags |= BG_IS_TRANSPARENT; |
1219 | bg_flags |= BG_IS_TRANSPARENT; |