summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyeditor.h
diff options
context:
space:
mode:
authorMathias Buhr <napcode@apparatus.de>2016-02-28 00:53:39 +0100
committerRobin Gareus <robin@gareus.org>2016-03-05 16:27:48 +0100
commit0a8b99fe6cd840c0daa71ec0ef48f4e958f2f356 (patch)
tree238a8559541a5e299e5f273713a1380f454e87dd /gtk2_ardour/keyeditor.h
parentba31e9c83afe642aa2d940e981388fedc8e7aac4 (diff)
Adds sorting the toe keyeditor
Diffstat (limited to 'gtk2_ardour/keyeditor.h')
-rw-r--r--gtk2_ardour/keyeditor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/keyeditor.h b/gtk2_ardour/keyeditor.h
index 9ded5d33be..b04b973009 100644
--- a/gtk2_ardour/keyeditor.h
+++ b/gtk2_ardour/keyeditor.h
@@ -55,6 +55,8 @@ class KeyEditor : public ArdourWindow
void unbind ();
void bind (GdkEventKey* release_event, guint pressed_key);
void action_selected ();
+ void sort_column_changed ();
+ void tab_mapped ();
struct KeyEditorColumns : public Gtk::TreeModel::ColumnRecord {
KeyEditorColumns () {
@@ -104,6 +106,10 @@ class KeyEditor : public ArdourWindow
void unbind ();
void reset ();
void page_change (GtkNotebookPage*, guint);
+
+ unsigned int sort_column;
+ Gtk::SortType sort_type;
+ void toggle_sort_type ();
};
#endif /* __ardour_gtk_key_editor_h__ */