ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/background.C
(Generate patch)

Comparing rxvt-unicode/src/background.C (file contents):
Revision 1.13 by sasha, Thu Nov 15 18:40:10 2007 UTC vs.
Revision 1.14 by root, Mon Nov 19 15:33:34 2007 UTC

87 * scale Scale both up and down 87 * scale Scale both up and down
88 * auto Same as 100x100+50+50 88 * auto Same as 100x100+50+50
89 */ 89 */
90 90
91#ifdef HAVE_BG_PIXMAP 91#ifdef HAVE_BG_PIXMAP
92bgPixmap_t::bgPixmap_t() 92bgPixmap_t::bgPixmap_t ()
93{ 93{
94#ifdef HAVE_AFTERIMAGE 94#ifdef HAVE_AFTERIMAGE
95 original_asim = NULL; 95 original_asim = NULL;
96#endif 96#endif
97#ifdef BG_IMAGE_FROM_FILE 97#ifdef BG_IMAGE_FROM_FILE
100#endif 100#endif
101 flags = 0; 101 flags = 0;
102 pixmap = None; 102 pixmap = None;
103} 103}
104 104
105bgPixmap_t::~bgPixmap_t() 105void
106bgPixmap_t::destroy ()
106{ 107{
107#ifdef HAVE_AFTERIMAGE 108#ifdef HAVE_AFTERIMAGE
108 if (original_asim) 109 if (original_asim)
109 safe_asimage_destroy (original_asim); 110 safe_asimage_destroy (original_asim);
110#endif 111#endif
112
111 if (pixmap && target) 113 if (pixmap && target)
112 XFreePixmap (target->dpy, pixmap); 114 XFreePixmap (target->dpy, pixmap);
113} 115}
114 116
115bool 117bool

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines