libsysprof-gtk: add intermediate chart item

This will give us a place to deal with filtering as well as caching
points based on the selected time range.
This commit is contained in:
Christian Hergert
2023-06-16 10:54:43 -07:00
parent a3e08b441f
commit aa3aacc721
3 changed files with 42 additions and 35 deletions

View File

@ -22,14 +22,16 @@
#include <gtk/gtk.h>
#include "sysprof-mark-chart-item-private.h"
G_BEGIN_DECLS
#define SYSPROF_TYPE_MARK_CHART_ROW (sysprof_mark_chart_row_get_type())
G_DECLARE_FINAL_TYPE (SysprofMarkChartRow, sysprof_mark_chart_row, SYSPROF, MARK_CHART_ROW, GtkWidget)
GListModel *sysprof_mark_chart_row_get_model (SysprofMarkChartRow *self);
void sysprof_mark_chart_row_set_model (SysprofMarkChartRow *self,
GListModel *model);
SysprofMarkChartItem *sysprof_mark_chart_row_get_item (SysprofMarkChartRow *self);
void sysprof_mark_chart_row_set_item (SysprofMarkChartRow *self,
SysprofMarkChartItem *item);
G_END_DECLS