projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put some up/down buttons to the right of the summary. Might help with #3786.
[ardour.git]
/
gtk2_ardour
/
midi_list_editor.h
diff --git
a/gtk2_ardour/midi_list_editor.h
b/gtk2_ardour/midi_list_editor.h
index de7b2220bb8900c6488a329177f143f7e05926dd..67b2f9192365059bfa862a20ef128e86aca5b29d 100644
(file)
--- a/
gtk2_ardour/midi_list_editor.h
+++ b/
gtk2_ardour/midi_list_editor.h
@@
-54,7
+54,7
@@
class MidiListEditor : public ArdourDialog
add (start);
add (length);
add (end);
add (start);
add (length);
add (end);
- add (note);
+ add (
_
note);
};
Gtk::TreeModelColumn<uint8_t> channel;
Gtk::TreeModelColumn<uint8_t> note;
};
Gtk::TreeModelColumn<uint8_t> channel;
Gtk::TreeModelColumn<uint8_t> note;
@@
-70,11
+70,20
@@
class MidiListEditor : public ArdourDialog
Glib::RefPtr<Gtk::ListStore> model;
Gtk::TreeView view;
Gtk::ScrolledWindow scroller;
Glib::RefPtr<Gtk::ListStore> model;
Gtk::TreeView view;
Gtk::ScrolledWindow scroller;
+ std::string _current_edit;
boost::shared_ptr<ARDOUR::MidiRegion> region;
boost::shared_ptr<ARDOUR::MidiRegion> region;
- void edited (const Glib::ustring&, const Glib::ustring&);
+ void edited (const std::string&, const std::string&);
+ void editing_started (Gtk::CellEditable*, const std::string& path, int);
+ void editing_canceled ();
+
void redisplay_model ();
void redisplay_model ();
+
+ bool key_press (GdkEventKey* ev);
+ bool key_release (GdkEventKey* ev);
+
+ void delete_selected_note ();
};
#endif /* __ardour_gtk2_midi_list_editor_h_ */
};
#endif /* __ardour_gtk2_midi_list_editor_h_ */