ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/background.h
(Generate patch)

Comparing rxvt-unicode/src/background.h (file contents):
Revision 1.38 by sf-exg, Thu Dec 2 11:02:16 2010 UTC vs.
Revision 1.44 by sf-exg, Sat Jan 22 15:41:19 2011 UTC

28 geometryFlags = propScale | rootAlign, 28 geometryFlags = propScale | rootAlign,
29 29
30 tintSet = 1 << 8, 30 tintSet = 1 << 8,
31 tintNeeded = 1 << 9, 31 tintNeeded = 1 << 9,
32 tintWholesome = 1 << 10, 32 tintWholesome = 1 << 10,
33 tintFlags = tintSet | tintNeeded | tintWholesome, 33 tintFlags = tintNeeded | tintWholesome,
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
110 unsigned long make_transparency_pixmap ();/* returns combination of the transpTransformations flags */ 110 unsigned long make_transparency_pixmap ();/* returns combination of the transpTransformations flags */
111# endif 111# endif
112 double invalid_since, valid_since; 112 double 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 ();
126 bool render (); 123 bool render ();
127 void invalidate () 124 void invalidate ()
128 { 125 {
129 if (!(flags & isInvalid))
130 {
131 flags |= isInvalid; 126 flags |= isInvalid;
132 invalid_since = ev::now ();
133 }
134 } 127 }
135}; 128};
136#else 129#else
137# undef HAVE_BG_PIXMAP 130# undef HAVE_BG_PIXMAP
138#endif 131#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines