X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal_draw.h;h=17258f38516e54daa7e8a22fe3a06bf90f9039a7;hb=13749d0de8a924f85187fa804ac8c15fe3b35402;hp=34e768f1567995d99332d73274a2bf81ee967815;hpb=d6768d8d4427959eb045aafb1d15bd189beaa5dd;p=libfirm diff --git a/ir/be/bechordal_draw.h b/ir/be/bechordal_draw.h index 34e768f15..17258f385 100644 --- a/ir/be/bechordal_draw.h +++ b/ir/be/bechordal_draw.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -29,21 +29,21 @@ #include "bechordal.h" -typedef struct _plotter_t plotter_t; -typedef struct _plotter_if_t plotter_if_t; -typedef struct _rect_t rect_t; -typedef struct _draw_chordal_opts_t draw_chordal_opts_t; -typedef struct _color_t color_t; +typedef struct plotter_t plotter_t; +typedef struct plotter_if_t plotter_if_t; +typedef struct rect_t rect_t; +typedef struct draw_chordal_opts_t draw_chordal_opts_t; +typedef struct color_t color_t; -struct _color_t { +struct color_t { double r, g, b; }; -struct _rect_t { +struct rect_t { int x, y, w, h; }; -struct _plotter_if_t { +struct plotter_if_t { void (*begin)(plotter_t *self, const rect_t *visible_area); void (*set_color)(plotter_t *self, const color_t * color); @@ -60,11 +60,11 @@ struct _plotter_if_t { extern void plotter_free(plotter_t *self); -struct _plotter_t { +struct plotter_t { const plotter_if_t *vtab; }; -struct _draw_chordal_opts_t { +struct draw_chordal_opts_t { int h_gap; int h_inter_gap; int v_gap;