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.41 by sf-exg, Tue Jan 11 11:04:39 2011 UTC vs.
Revision 1.42 by sf-exg, Sat Jan 15 17:41:43 2011 UTC

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 116
117 int target_x; 117 int target_x;
122 122
123 void apply (); 123 void apply ();
124 bool render (); 124 bool render ();
125 void invalidate () 125 void invalidate ()
126 { 126 {
127 if (!(flags & isInvalid))
128 {
129 flags |= isInvalid; 127 flags |= isInvalid;
130 invalid_since = ev::now ();
131 }
132 } 128 }
133}; 129};
134#else 130#else
135# undef HAVE_BG_PIXMAP 131# undef HAVE_BG_PIXMAP
136#endif 132#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines