aboutsummaryrefslogtreecommitdiff
path: root/generic/Item.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Item.h')
-rw-r--r--generic/Item.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/Item.h b/generic/Item.h
index 2bba924..85031f2 100644
--- a/generic/Item.h
+++ b/generic/Item.h
@@ -36,7 +36,9 @@
#include "List.h"
#include <X11/Xlib.h>
+#ifdef LIBART
#include <libart_lgpl/libart.h>
+#endif
#define DEFAULT_TRACK_PRIORITY 5
@@ -291,8 +293,10 @@ extern struct _ITEM_P {
void (*PopClip)(struct _WidgetInfo *wi, ZnBool set_gc);
ZnBool (*CurrentClip)(struct _WidgetInfo *wi, Region *reg, ZnBBox **clip_box,
ZnBool *simple);
+#ifdef LIBART
void (*RenderSVP)(struct _WidgetInfo *wi, ArtSVP *svp, int r, int g,
int b, int a, int tile_x, int tile_y, ArtPixBuf *tile);
+#endif
} ITEM_P;