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.5 by ayin, Wed Oct 31 09:55:23 2007 UTC vs.
Revision 1.8 by ayin, Thu Nov 15 11:36:15 2007 UTC

14#if defined(BG_IMAGE_FROM_FILE) || defined(ENABLE_TRANSPARENCY) 14#if defined(BG_IMAGE_FROM_FILE) || defined(ENABLE_TRANSPARENCY)
15# define HAVE_BG_PIXMAP 1/* to simplify further usage */ 15# define HAVE_BG_PIXMAP 1/* to simplify further usage */
16struct bgPixmap_t { 16struct bgPixmap_t {
17 17
18 bgPixmap_t(); 18 bgPixmap_t();
19 ~bgPixmap_t();
19 20
20 enum { 21 enum {
21 geometrySet = (1UL<<0), 22 geometrySet = (1UL<<0),
22 propScale = (1UL<<1), 23 propScale = (1UL<<1),
23 geometryFlags = (geometrySet|propScale), 24 geometryFlags = (geometrySet|propScale),
110 bool render (); 111 bool render ();
111 void invalidate () { 112 void invalidate () {
112 if (!(flags & isInvalid)) 113 if (!(flags & isInvalid))
113 { 114 {
114 flags |= isInvalid; 115 flags |= isInvalid;
115 invalid_since = NOW; 116 invalid_since = ev::now ();
116 } 117 }
117 }; 118 };
118}; 119};
119#else 120#else
120# undef HAVE_BG_PIXMAP 121# undef HAVE_BG_PIXMAP
121#endif 122#endif
122 123
123 124
124 125
125#endif /* _BACKGROUND_H_ */ 126#endif /* _BACKGROUND_H_ */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines