X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_graph.h;h=dd036151712abf26e849c2a322803424f1f14e9a;hb=2815c8a96b82730e41cebf8a5065e00666c560b8;hp=2c9309beef93057ae9d79f5652ba05a752fe4e19;hpb=dd86fdf1b4d99437b9aa19934e02230c090cc1d5;p=rrdtool.git diff --git a/src/rrd_graph.h b/src/rrd_graph.h index 2c9309b..dd03615 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -101,7 +101,6 @@ typedef struct ylab_t { int lfac[4]; /* associated label spacing */ } ylab_t; - /* this structure describes the elements which can make up a graph. because they are quite diverse, not all elements will use all the possible parts of the structure. */ @@ -122,7 +121,7 @@ typedef struct graph_desc_t { long ds; /* data source number */ enum cf_en cf; /* consolidation function */ enum cf_en cf_reduce; /* consolidation function for reduce_data() */ - gfx_color_t col; /* graph color */ + struct gfx_color_t col; /* graph color */ char format[FMT_LEG_LEN + 5]; /* format for PRINT AND GPRINT */ char legend[FMT_LEG_LEN + 5]; /* legend */ int strftm; /* should the VDEF legend be formated with strftime */ @@ -160,7 +159,7 @@ typedef struct image_desc_t { #ifdef WITH_PIECHART long piesize; /* size of the piechart */ #endif - gfx_color_t graph_col[__GRC_END__]; /* real colors for the graph */ + struct gfx_color_t graph_col[__GRC_END__]; /* real colors for the graph */ text_prop_t text_prop[TEXT_PROP_LAST]; /* text properties */ char ylegend[210]; /* legend along the yaxis */ char title[210]; /* title for graph */ @@ -184,6 +183,7 @@ typedef struct image_desc_t { grindlines falls in integer pixel values */ char *imginfo; /* construct an