aboutsummaryrefslogtreecommitdiff
path: root/generic/Image.h
diff options
context:
space:
mode:
authorlecoanet2001-01-04 10:48:21 +0000
committerlecoanet2001-01-04 10:48:21 +0000
commit4650e4ce6c3ff004249db6e684c783f74dc4820e (patch)
treeeb556faa71ccc8aa98d0564e257cb22a18266e98 /generic/Image.h
parente4e6cd076aacae005af8347e3199c75e1cfd42aa (diff)
downloadtkzinc-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.h7
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 */