X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fgtksheet%2Fgtksheet.h;h=b61883689025044a86c079480e86afeccffc7dd1;hb=b32591022aa3ce9b7f74e154d68577d31ae2967f;hp=6aaa49a99c6ca388cf7d3776fa07a5c9ee100280;hpb=c3ac5a8af9c449072c7e872ca70a78c1755ae309;p=pspp diff --git a/lib/gtksheet/gtksheet.h b/lib/gtksheet/gtksheet.h index 6aaa49a99c..b618836890 100644 --- a/lib/gtksheet/gtksheet.h +++ b/lib/gtksheet/gtksheet.h @@ -105,6 +105,13 @@ struct _GtkSheetHoverTitle gint row, column; }; +enum + { + BG_COLOR, + GRID_COLOR, + n_COLORS + }; + struct _GtkSheet { GtkBin parent; @@ -122,9 +129,8 @@ struct _GtkSheet gboolean autoscroll; gboolean justify_entry; - /* Background colors */ - GdkColor bg_color; - GdkColor grid_color; + /* Component colors */ + GdkColor color[n_COLORS]; gboolean show_grid; /* allocation rectangle after the container_border_width @@ -299,13 +305,6 @@ void gtk_sheet_set_justify_entry (GtkSheet *sheet, gboolean justify); gboolean gtk_sheet_justify_entry (GtkSheet *sheet); -/* Background colors */ -void gtk_sheet_set_background (GtkSheet *sheet, - GdkColor *bg_color); - -void gtk_sheet_set_grid (GtkSheet *sheet, - GdkColor *grid_color); - void gtk_sheet_show_grid (GtkSheet *sheet, gboolean show);