… | |
… | |
191 | isInvalid = (1UL<<17) |
191 | isInvalid = (1UL<<17) |
192 | }; |
192 | }; |
193 | |
193 | |
194 | unsigned long flags; |
194 | unsigned long flags; |
195 | |
195 | |
|
|
196 | enum { |
|
|
197 | transpPmapTiled = (1UL<<0), |
|
|
198 | transpPmapTinted = tintNeeded, |
|
|
199 | transpPmapBlured = blurNeeded, |
|
|
200 | transpTransformations = (tintNeeded|blurNeeded) |
|
|
201 | }; /* this flags are returned by make_transparency_pixmap if called */ |
|
|
202 | |
196 | # ifdef XPM_BACKGROUND |
203 | # ifdef XPM_BACKGROUND |
197 | # ifdef HAVE_AFTERIMAGE |
204 | # ifdef HAVE_AFTERIMAGE |
198 | ASImage *original_asim; |
205 | ASImage *original_asim; |
199 | bool render_asim (ASImage *background, ARGB32 background_tint); |
206 | bool render_asim (ASImage *background, ARGB32 background_tint); |
200 | # endif |
207 | # endif |
… | |
… | |
230 | bool set_blur_radius (const char *geom); |
237 | bool set_blur_radius (const char *geom); |
231 | bool set_tint (rxvt_color &new_tint); |
238 | bool set_tint (rxvt_color &new_tint); |
232 | bool unset_tint (); |
239 | bool unset_tint (); |
233 | bool set_shade (const char *shade_str); |
240 | bool set_shade (const char *shade_str); |
234 | bool set_root_pixmap (); |
241 | bool set_root_pixmap (); |
235 | |
242 | |
236 | enum { |
|
|
237 | transpPmapTiled = (1UL<<0), |
|
|
238 | transpPmapTinted = tintNeeded, |
|
|
239 | transpPmapBlured = blurNeeded, |
|
|
240 | transpTransformations = (tintNeeded|blurNeeded) |
|
|
241 | }; |
|
|
242 | unsigned long make_transparency_pixmap ();/* returns combination of the above flags */ |
243 | unsigned long make_transparency_pixmap ();/* returns combination of the transpTransformations flags */ |
243 | # endif |
244 | # endif |
244 | double invalid_since; |
245 | double invalid_since; |
245 | |
246 | |
246 | Pixmap pixmap; |
247 | Pixmap pixmap; |
247 | unsigned int pmap_width, pmap_height; |
248 | unsigned int pmap_width, pmap_height; |
… | |
… | |
970 | struct mbstate mbstate; // current input multibyte state |
971 | struct mbstate mbstate; // current input multibyte state |
971 | |
972 | |
972 | unsigned char want_refresh:1, |
973 | unsigned char want_refresh:1, |
973 | #ifdef ENABLE_TRANSPARENCY |
974 | #ifdef ENABLE_TRANSPARENCY |
974 | want_full_refresh:1, /* awaiting full screen refresh */ |
975 | want_full_refresh:1, /* awaiting full screen refresh */ |
975 | am_transparent:1, /* is a transparent term */ |
|
|
976 | am_pixmap_trans:1, /* transparency w/known root pixmap */ |
|
|
977 | #endif |
976 | #endif |
978 | current_screen:1, /* primary or secondary */ |
977 | current_screen:1, /* primary or secondary */ |
979 | num_scr_allow:1, |
978 | num_scr_allow:1, |
980 | bypass_keystate:1, |
979 | bypass_keystate:1, |
981 | #ifdef CURSOR_BLINK |
980 | #ifdef CURSOR_BLINK |