diff options
Diffstat (limited to 'generic/Image.h')
-rw-r--r-- | generic/Image.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/generic/Image.h b/generic/Image.h index b98619b..66d73a7 100644 --- a/generic/Image.h +++ b/generic/Image.h @@ -30,8 +30,9 @@ #ifndef _Image_h #define _Image_h - +#ifdef LIBART #include <libart_lgpl/libart.h> +#endif #include "Types.h" @@ -51,7 +52,7 @@ typedef struct { int width; int height; struct _ImagePixmap *pixmaps; -#ifdef SHM +#ifdef LIBART ArtPixBuf *pixbuf; #endif } ImageBits; @@ -92,6 +93,7 @@ FontBitmap * GetFontBitmap(ZnWindow win, ZnFont font); +#ifdef LIBART void rgb_text(art_u8 *dst, int x0, int y0, int x1, int y1, int dst_rowstride, @@ -124,6 +126,7 @@ GetImagePixbuf(ZnWindow /* win */, char */* image_name */, ZnImage /* image */); #endif +#endif #endif /* _Image_h */ |