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.28 by sf-exg, Wed Oct 13 23:04:57 2010 UTC vs.
Revision 1.29 by sf-exg, Fri Oct 22 18:03:10 2010 UTC

37 blurNeeded = 1 << 12, 37 blurNeeded = 1 << 12,
38 blurServerSide = 1 << 13, 38 blurServerSide = 1 << 13,
39 39
40 isTransparent = 1 << 16, 40 isTransparent = 1 << 16,
41 isInvalid = 1 << 17, 41 isInvalid = 1 << 17,
42 isVtOrigin = 1 << 18, /* if set pixmap has origin at corner of
43 vt window instead of parent[0]! */
44 hasChanged = 1 << 19, 42 hasChanged = 1 << 19,
45 sizeSensitive = 1 << 20, 43 sizeSensitive = 1 << 20,
46 }; 44 };
47 45
48 unsigned int flags; 46 unsigned int flags;
51 transpPmapTiled = 1 << 0, 49 transpPmapTiled = 1 << 0,
52 transpPmapTinted = tintNeeded, 50 transpPmapTinted = tintNeeded,
53 transpPmapBlurred = blurNeeded, 51 transpPmapBlurred = blurNeeded,
54 transpTransformations = tintNeeded | blurNeeded, 52 transpTransformations = tintNeeded | blurNeeded,
55 }; /* these flags are returned by make_transparency_pixmap if called */ 53 }; /* these flags are returned by make_transparency_pixmap if called */
56
57 bool check_clearChanged ()
58 {
59 bool r = flags & hasChanged;
60 flags &= ~hasChanged;
61 return r;
62 };
63 54
64# ifdef BG_IMAGE_FROM_FILE 55# ifdef BG_IMAGE_FROM_FILE
65# ifdef HAVE_AFTERIMAGE 56# ifdef HAVE_AFTERIMAGE
66 ASImage *original_asim; 57 ASImage *original_asim;
67# endif 58# endif
128 unsigned int pmap_depth; 119 unsigned int pmap_depth;
129 120
130 bool window_size_sensitive (); 121 bool window_size_sensitive ();
131 bool window_position_sensitive (); 122 bool window_position_sensitive ();
132 123
133 bool is_parentOrigin ()
134 {
135 return !(flags & isVtOrigin);
136 };
137
138 bool need_client_side_rendering (); 124 bool need_client_side_rendering ();
139 void apply (); 125 void apply ();
140 bool render (); 126 bool render ();
141 void invalidate () 127 void invalidate ()
142 { 128 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines