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.39 by sf-exg, Sun Jan 9 23:48:37 2011 UTC vs.
Revision 1.45 by sf-exg, Sun Jan 23 12:28:47 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 isValid = 1 << 17,
42 hasChanged = 1 << 19, 43 hasChanged = 1 << 19,
43 sizeSensitive = 1 << 20, 44 sizeSensitive = 1 << 20,
44 }; 45 };
45 46
46 unsigned int flags; 47 unsigned int flags;
106 bool tint_pixmap (Pixmap pixmap, Visual *visual, int width, int height); 107 bool tint_pixmap (Pixmap pixmap, Visual *visual, int width, int height);
107 void set_root_pixmap (); 108 void set_root_pixmap ();
108 109
109 unsigned long make_transparency_pixmap ();/* returns combination of the transpTransformations flags */ 110 unsigned long make_transparency_pixmap ();/* returns combination of the transpTransformations flags */
110# endif 111# endif
111 double invalid_since, valid_since; 112 double valid_since;
112 113
113 Pixmap pixmap; 114 Pixmap pixmap;
114 unsigned int pmap_width, pmap_height; 115 unsigned int pmap_width, pmap_height;
115 unsigned int pmap_depth;
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 bool need_client_side_rendering ();
124 void apply ();
125 bool render (); 123 bool render ();
126 void invalidate () 124 void invalidate ()
127 { 125 {
128 if (!(flags & isInvalid))
129 {
130 flags |= isInvalid; 126 flags &= ~isValid;
131 invalid_since = ev::now ();
132 }
133 } 127 }
134}; 128};
135#else 129#else
136# undef HAVE_BG_PIXMAP 130# undef HAVE_BG_PIXMAP
137#endif 131#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines