line-visualizer-row: add color parameter for counter

Allow specifying a color for a counter that is added to the
visualizer.
This commit is contained in:
Christian Hergert
2016-09-27 19:18:29 -07:00
parent e7e8e913b5
commit f3cec0f8c1
2 changed files with 14 additions and 3 deletions

View File

@ -55,7 +55,8 @@ struct _SpLineVisualizerRowClass
GtkWidget *sp_line_visualizer_row_new (void);
void sp_line_visualizer_row_clear (SpLineVisualizerRow *self);
void sp_line_visualizer_row_add_counter (SpLineVisualizerRow *self,
guint counter_id);
guint counter_id,
const GdkRGBA *color);
G_END_DECLS