remove unused methods related to channel changing for MIDI notes
This commit is contained in:
@@ -3862,18 +3862,6 @@ MidiView::nudge_notes (bool forward, bool fine)
|
||||
apply_note_diff ();
|
||||
}
|
||||
|
||||
void
|
||||
MidiView::change_channel(uint8_t channel)
|
||||
{
|
||||
start_note_diff_command(_("change channel"));
|
||||
for (Selection::iterator i = _selection.begin(); i != _selection.end(); ++i) {
|
||||
note_diff_add_change (*i, MidiModel::NoteDiffCommand::Channel, channel);
|
||||
}
|
||||
|
||||
apply_note_diff();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
MidiView::note_entered (NoteBase* ev)
|
||||
{
|
||||
|
||||
@@ -276,11 +276,6 @@ class MidiView : public virtual sigc::trackable, public LineMerger
|
||||
void finish_resizing (NoteBase* primary, bool at_front, double delat_x, bool relative, double snap_delta, bool with_snap);
|
||||
void abort_resizing ();
|
||||
|
||||
/** Change the channel of the selection.
|
||||
* @param channel - the channel number of the new channel, zero-based
|
||||
*/
|
||||
void change_channel(uint8_t channel);
|
||||
|
||||
struct NoteResizeData {
|
||||
::Note *note;
|
||||
ArdourCanvas::Rectangle *resize_rect;
|
||||
|
||||
@@ -157,13 +157,6 @@ NoteBase::on_channel_selection_change(uint16_t selection)
|
||||
_item->show();
|
||||
}
|
||||
|
||||
void
|
||||
NoteBase::on_channel_change(uint8_t channel)
|
||||
{
|
||||
_region.note_selected(this, true);
|
||||
_region.change_channel(channel);
|
||||
}
|
||||
|
||||
void
|
||||
NoteBase::set_selected(bool selected)
|
||||
{
|
||||
|
||||
@@ -91,9 +91,6 @@ class NoteBase : public sigc::trackable
|
||||
void show_velocity();
|
||||
void hide_velocity();
|
||||
|
||||
/** Channel changed for this specific event */
|
||||
void on_channel_change(uint8_t channel);
|
||||
|
||||
/** Channel selection changed */
|
||||
void on_channel_selection_change(uint16_t selection);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user