… | |
… | |
34 | |
34 | |
35 | blurNeeded = 1 << 11, |
35 | blurNeeded = 1 << 11, |
36 | |
36 | |
37 | HAS_RENDER = 1 << 12, |
37 | HAS_RENDER = 1 << 12, |
38 | HAS_RENDER_CONV = 1 << 13, |
38 | HAS_RENDER_CONV = 1 << 13, |
|
|
39 | CLIENT_RENDER = 1 << 14, |
39 | |
40 | |
40 | isTransparent = 1 << 16, |
41 | isTransparent = 1 << 16, |
41 | isInvalid = 1 << 17, |
42 | isInvalid = 1 << 17, |
42 | hasChanged = 1 << 19, |
43 | hasChanged = 1 << 19, |
43 | sizeSensitive = 1 << 20, |
44 | sizeSensitive = 1 << 20, |
… | |
… | |
99 | int h_blurRadius, v_blurRadius; |
100 | int h_blurRadius, v_blurRadius; |
100 | |
101 | |
101 | bool set_transparent (); |
102 | bool set_transparent (); |
102 | bool set_blur_radius (const char *geom); |
103 | bool set_blur_radius (const char *geom); |
103 | bool set_tint (rxvt_color &new_tint); |
104 | bool set_tint (rxvt_color &new_tint); |
104 | bool unset_tint (); |
|
|
105 | bool set_shade (const char *shade_str); |
105 | bool set_shade (const char *shade_str); |
106 | bool blur_pixmap (Pixmap pixmap, Visual *visual, int width, int height); |
106 | bool blur_pixmap (Pixmap pixmap, Visual *visual, int width, int height); |
107 | bool tint_pixmap (Pixmap pixmap, Visual *visual, int width, int height); |
107 | bool tint_pixmap (Pixmap pixmap, Visual *visual, int width, int height); |
108 | void set_root_pixmap (); |
108 | void set_root_pixmap (); |
109 | |
109 | |
… | |
… | |
111 | # endif |
111 | # endif |
112 | double invalid_since, valid_since; |
112 | double invalid_since, valid_since; |
113 | |
113 | |
114 | Pixmap pixmap; |
114 | Pixmap pixmap; |
115 | unsigned int pmap_width, pmap_height; |
115 | unsigned int pmap_width, pmap_height; |
116 | unsigned int pmap_depth; |
|
|
117 | |
116 | |
118 | int target_x; |
117 | int target_x; |
119 | int target_y; |
118 | int target_y; |
120 | bool set_position (int x, int y); |
119 | bool set_position (int x, int y); |
121 | bool window_size_sensitive (); |
120 | bool window_size_sensitive (); |
122 | bool window_position_sensitive (); |
121 | bool window_position_sensitive (); |
123 | |
122 | |
124 | bool need_client_side_rendering (); |
|
|
125 | void apply (); |
123 | void apply (); |
126 | bool render (); |
124 | bool render (); |
127 | void invalidate () |
125 | void invalidate () |
128 | { |
126 | { |
129 | if (!(flags & isInvalid)) |
127 | if (!(flags & isInvalid)) |