#include "render.h"
#include "utils.h"
-#ifdef HAVE_CAIRO
+//#ifdef HAVE_CAIRO
+#if 0
#include <cairo.h>
#else
typedef struct gvrender_job_s gvrender_job_t;
-#if !defined(X_DISPLAY_MISSING) && !defined(DISABLE_GVRENDER)
-#include <X11/Xlib.h>
-#endif
-
struct gvrender_job_s {
gvrender_job_t *next;
char *output_filename;
int layer;
int nLayers;
-#if !defined(X_DISPLAY_MISSING) && !defined(DISABLE_GVRENDER)
+ void *window; /* display-specific data for gvrender plugin */
+
+#if 0
Display *dpy;
int scr;
Window win;
gv_plugin_t *api[ APIS ]; /* array of current plugins per api */
#undef ELEM
- void *display; /* window display data for gvdisplay plugin */
+ void *display; /* display-specific data for gvdisplay plugin */
gvdisplay_engine_t *display_engine; /* current display engine */
gvtext_engine_t *text_engine; /* current text_layout engine */
extern void emit_graph(GVC_t * gvc, graph_t * g, int flags);
-#if !defined(X_DISPLAY_MISSING) && !defined(DISABLE_GVRENDER) && defined(HAVE_CAIRO)
+//#if !defined(X_DISPLAY_MISSING) && !defined(DISABLE_GVRENDER) && defined(HAVE_CAIRO)
+#if 0
#include <cairo.h>
job->flags = flags;
if (flags & GVRENDER_X11_EVENTS) {
-#ifdef CAIRO_HAS_XLIB_SURFACE
+//#ifdef CAIRO_HAS_XLIB_SURFACE
+#if 0
const char *display=NULL;
int argb=0;
#define ARRAY_SIZE(A) (sizeof(A)/sizeof(A[0]))
+#if 0
+
typedef int (*key_callback_t) (gvrender_job_t * job);
typedef struct key_binding {
}
return 0;
}
+
+#endif