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.43 by sf-exg, Thu Jan 20 17:39:29 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;
118 int target_y; 118 int target_y;
119 bool set_position (int x, int y); 119 bool set_position (int x, int y);
120 bool window_size_sensitive (); 120 bool window_size_sensitive ();
121 bool window_position_sensitive (); 121 bool window_position_sensitive ();
122 122
123 void apply ();
124 bool render (); 123 bool render ();
125 void invalidate () 124 void invalidate ()
126 { 125 {
127 if (!(flags & isInvalid))
128 {
129 flags |= isInvalid; 126 flags |= isInvalid;
130 invalid_since = ev::now ();
131 }
132 } 127 }
133}; 128};
134#else 129#else
135# undef HAVE_BG_PIXMAP 130# undef HAVE_BG_PIXMAP
136#endif 131#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines