diff options
author | 2013-10-15 22:47:02 +0200 | |
---|---|---|
committer | 2013-10-15 22:47:02 +0200 | |
commit | 2998a975705dad0f4b33b794263fcf11293bc46f (patch) | |
tree | f272837480dc6f7502d1077de7059f45abf2c03e /plugins/gtkui/ddblistview.h | |
parent | 226bd9637fdd4e2f7b40fd8919bde892b42f0065 (diff) |
gtkui: group pinning by Christian Boxdörfer
Diffstat (limited to 'plugins/gtkui/ddblistview.h')
-rw-r--r-- | plugins/gtkui/ddblistview.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/gtkui/ddblistview.h b/plugins/gtkui/ddblistview.h index 3e54bc07..26822d04 100644 --- a/plugins/gtkui/ddblistview.h +++ b/plugins/gtkui/ddblistview.h @@ -48,6 +48,7 @@ struct _DdbListviewGroup { DdbListviewIter head; int32_t height; int32_t num_items; + int pinned; struct _DdbListviewGroup *next; }; @@ -84,7 +85,7 @@ typedef struct { // callbacks void (*draw_group_title) (DdbListview *listview, cairo_t *drawable, DdbListviewIter iter, int x, int y, int width, int height); - void (*draw_column_data) (DdbListview *listview, cairo_t *drawable, DdbListviewIter iter, DdbListviewIter group_iter, int column, int group_y, int x, int y, int width, int height); + void (*draw_column_data) (DdbListview *listview, cairo_t *drawable, DdbListviewIter iter, DdbListviewIter group_iter, int column, int group_y, int group_height, int group_pinned, int grp_next_y, int x, int y, int width, int height); void (*list_context_menu) (DdbListview *listview, DdbListviewIter iter, int idx); void (*header_context_menu) (DdbListview *listview, int col); void (*handle_doubleclick) (DdbListview *listview, DdbListviewIter iter, int idx); |