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.18 by sf-exg, Tue Aug 31 15:12:49 2010 UTC vs.
Revision 1.21 by sf-exg, Wed Sep 8 22:17:06 2010 UTC

7 7
8#ifdef HAVE_AFTERIMAGE 8#ifdef HAVE_AFTERIMAGE
9# include <afterimage.h> 9# include <afterimage.h>
10# undef min 10# undef min
11# undef max 11# undef max
12#endif
13
14#ifdef HAVE_PIXBUF
15#include <gdk-pixbuf-xlib/gdk-pixbuf-xlib.h>
12#endif 16#endif
13 17
14#if defined(BG_IMAGE_FROM_FILE) || defined(ENABLE_TRANSPARENCY) 18#if defined(BG_IMAGE_FROM_FILE) || defined(ENABLE_TRANSPARENCY)
15# define HAVE_BG_PIXMAP 1 /* to simplify further usage */ 19# define HAVE_BG_PIXMAP 1 /* to simplify further usage */
16struct bgPixmap_t 20struct bgPixmap_t
56 }; 60 };
57 61
58# ifdef BG_IMAGE_FROM_FILE 62# ifdef BG_IMAGE_FROM_FILE
59# ifdef HAVE_AFTERIMAGE 63# ifdef HAVE_AFTERIMAGE
60 ASImage *original_asim; 64 ASImage *original_asim;
61 bool render_asim (unsigned long background_flags);
62# endif 65# endif
63 66
67# ifdef HAVE_PIXBUF
68 GdkPixbuf *pixbuf;
69# endif
70
71 void get_image_geometry (int image_width, int image_height, int &w, int &h, int &x, int &y);
72 bool render_image (unsigned long background_flags);
64 bool have_image; 73 bool have_image;
65 74
66 enum { 75 enum {
67 noScale = 0, 76 noScale = 0,
68 windowScale = 100, 77 windowScale = 100,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines