#endif
#include "gvcommon.h"
+#include "color.h"
/* active plugin headers */
typedef struct gvplugin_active_layout_s {
GVCOMMON_t common;
char *config_path;
- bool config_found;
+ boolean config_found;
/* gvParseArgs */
char **input_filenames; /* null terminated array of input filenames */
point pb; /* page size - including margins (inches) */
boxf bb; /* graph bb in graph units, not including margins */
int rotation; /* rotation - 0 = portrait, 90 = landscape */
- bool graph_sets_margin, graph_sets_pageSize, graph_sets_rotation;
+ boolean graph_sets_margin, graph_sets_pageSize, graph_sets_rotation;
/* layers */
char *layerDelims; /* delimiters in layer names */
#endif
#include "gvcommon.h"
+#include "color.h"
#define ARRAY_SIZE(A) (sizeof(A)/sizeof(A[0]))
char *tooltip; /* if GVRENDER_DOES_TOOLTIPS */
char *tailtooltip;
char *headtooltip;
- bool explicit_tooltip;
- bool explicit_tailtooltip;
- bool explicit_headtooltip;
+ boolean explicit_tooltip;
+ boolean explicit_tailtooltip;
+ boolean explicit_headtooltip;
char *target; /* if GVRENDER_DOES_TARGETS */
char *tailtarget;
gvplugin_active_loadimage_t loadimage;
gvdevice_callbacks_t *callbacks;
pointf device_dpi;
- bool device_sets_dpi;
+ boolean device_sets_dpi;
void *display;
int screen;
void *surface; /* gd or cairo surface */
- bool external_surface; /* surface belongs to caller */
+ boolean external_surface; /* surface belongs to caller */
int flags; /* emit_graph flags */
pointf translation; /* composite translation */
pointf devscale; /* composite device to points: dpi, y_goes_down */
- bool fit_mode,
+ boolean fit_mode,
needs_refresh,
click,
has_grown,