X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_graph.h;h=8e28f63fec38544333b0e92e5b5596ab0d3116bb;hb=8be74deb0aa2a4ee0898642ba9df8a3e5f3f97d6;hp=c11ac2fea851dc921420c1f6a07d9d21578483f0;hpb=8926620824c302c358d7a71e41d29a9b6e8474b2;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index c11ac2f..8e28f63 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -5,15 +5,15 @@ #define y1 cairo_y1 #define index cairo_index +/* this may configure __EXTENSIONS__ without which pango will fail to compile + so load this early */ +#include "../rrd_config.h" + #include #include #include #include -/* without this will not compile on solaris */ -#ifndef __EXTENSIONS__ -#define __EXTENSIONS__ -#endif #include @@ -210,6 +210,7 @@ typedef struct image_desc_t { int draw_x_grid; /* no x-grid at all */ int draw_y_grid; /* no y-grid at all */ unsigned int draw_3d_border; /* size of border in pixels, 0 for off */ + unsigned int dynamic_labels; /* pick the label shape according to the line drawn */ double grid_dash_on, grid_dash_off; xlab_t xlab_user; /* user defined labeling for xaxis */ char xlab_form[210]; /* format for the label on the xaxis */