20 #ifndef __ardour_gtk2_midi_list_editor_h_
21 #define __ardour_gtk2_midi_list_editor_h_
36 template <
typename Time>
class Note;
52 std::shared_ptr<ARDOUR::MidiTrack>);
87 Glib::RefPtr<Gtk::ListStore>
model;
100 std::shared_ptr<ARDOUR::MidiRegion>
region;
101 std::shared_ptr<ARDOUR::MidiTrack>
track;
106 void edited (
const std::string&,
const std::string&);
void add(TreeModelColumnBase &column)
void stop_editing(bool cancelled=false)
Gtk::TreeModel::Path edit_path
bool scroll_event(GdkEventScroll *)
std::shared_ptr< ARDOUR::MidiTrack > track
void editing_started(Gtk::CellEditable *, const std::string &path, int)
PBD::ScopedConnectionList content_connections
std::shared_ptr< ARDOUR::MidiRegion > region
MidiListEditor(ARDOUR::Session *, std::shared_ptr< ARDOUR::MidiRegion >, std::shared_ptr< ARDOUR::MidiTrack >)
MidiListModelColumns columns
bool key_release(GdkEventKey *ev)
Glib::RefPtr< Gtk::ListStore > model
bool key_press(GdkEventKey *ev)
Glib::RefPtr< Gtk::ListStore > note_length_model
Gtk::ScrolledWindow scroller
Gtk::CellEditable * editing_editable
Evoral::Note< Temporal::Beats > NoteType
NoteLengthColumns note_length_columns
void delete_selected_note()
Gtk::CellRendererText * editing_renderer
Gtk::ToggleButton sound_notes_button
void edited(const std::string &, const std::string &)
Gtk::TreeModelColumn< uint8_t > channel
Gtk::TreeModelColumn< std::string > start
Gtk::TreeModelColumn< std::string > length
Gtk::TreeModelColumn< uint8_t > velocity
Gtk::TreeModelColumn< std::string > note_name
Gtk::TreeModelColumn< std::shared_ptr< NoteType > > _note
Gtk::TreeModelColumn< uint8_t > note
Gtk::TreeModelColumn< int > ticks
Gtk::TreeModelColumn< std::string > name