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.17 by sf-exg, Sun Aug 29 16:10:42 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
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);
73 bool have_image;
63 74
64 enum { 75 enum {
65 noScale = 0, 76 noScale = 0,
66 windowScale = 100, 77 windowScale = 100,
67 defaultScale = windowScale, 78 defaultScale = windowScale,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines