diff options
author | lecoanet | 2001-01-04 10:48:21 +0000 |
---|---|---|
committer | lecoanet | 2001-01-04 10:48:21 +0000 |
commit | 4650e4ce6c3ff004249db6e684c783f74dc4820e (patch) | |
tree | eb556faa71ccc8aa98d0564e257cb22a18266e98 /generic/Image.h | |
parent | e4e6cd076aacae005af8347e3199c75e1cfd42aa (diff) | |
download | tkzinc-4650e4ce6c3ff004249db6e684c783f74dc4820e.zip tkzinc-4650e4ce6c3ff004249db6e684c783f74dc4820e.tar.gz tkzinc-4650e4ce6c3ff004249db6e684c783f74dc4820e.tar.bz2 tkzinc-4650e4ce6c3ff004249db6e684c783f74dc4820e.tar.xz |
Ajout de la compilation conditionnelle de libart
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 */ |