aboutsummaryrefslogtreecommitdiff
path: root/generic/WidgetInfo.h
diff options
context:
space:
mode:
authorlecoanet2001-01-04 10:48:21 +0000
committerlecoanet2001-01-04 10:48:21 +0000
commit4650e4ce6c3ff004249db6e684c783f74dc4820e (patch)
treeeb556faa71ccc8aa98d0564e257cb22a18266e98 /generic/WidgetInfo.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/WidgetInfo.h')
-rw-r--r--generic/WidgetInfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/WidgetInfo.h b/generic/WidgetInfo.h
index 0cbbfdd..16e27c8 100644
--- a/generic/WidgetInfo.h
+++ b/generic/WidgetInfo.h
@@ -188,21 +188,25 @@ typedef struct _WidgetInfo {
Screen *screen;
ZnWindow win; /* The window of the widget. */
ZnBool realized;
+#ifdef LIBART
#ifdef SHM
XImage *draw_buffer_im; /* Image for double buffering */
RenderBuf buf;
#endif
+#endif
Pixmap draw_buffer; /* Pixmap for double buffering */
ZnBBox damaged_area; /* The current damaged rectangle */
GC gc;
ZnBool has_x_shm; /* Tell if the SHM X11 ext is avail. */
ZnBool has_x_shape; /* Tell if the X shape ext. is avail. */
ZnBool has_x_input; /* Tell if the X input ext. is avail. */
- ZnBool local_render; /* Instruct to render to a local image,
+ ZnBool render; /* Instruct to render to a local image,
* using libart. */
+#ifdef LIBART
#ifdef SHM
XShmSegmentInfo x_shm_info;
#endif
+#endif
int events_flags; /* NEED_REPICK et al */
Window real_top;
Item top_group;