Ardour
9.0-pre0-582-g084a23a80d
|
#include <step_editor.h>
Private Member Functions | |
void | region_removed (std::weak_ptr< ARDOUR::Region >) |
void | playlist_changed () |
bool | step_entry_hidden (GdkEventAny *) |
void | resync_step_edit_position () |
void | prepare_step_edit_region () |
Private Attributes | |
Temporal::timepos_t | step_edit_insert_position |
Temporal::Beats | step_edit_beat_pos |
std::shared_ptr< ARDOUR::MidiRegion > | step_edit_region |
MidiRegionView * | step_edit_region_view |
uint8_t | _step_edit_triplet_countdown |
bool | _step_edit_within_chord |
Temporal::Beats | _step_edit_chord_duration |
PBD::ScopedConnection | step_edit_region_connection |
PublicEditor & | _editor |
std::shared_ptr< ARDOUR::MidiTrack > | _track |
MidiTimeAxisView & | _mtv |
int8_t | last_added_pitch |
Temporal::Beats | last_added_end |
sigc::connection | delete_connection |
sigc::connection | hide_connection |
A StepEditor is an object which understands how to interact with the MidiTrack and MidiTimeAxisView APIs to make the changes required during step editing. However, it defers all GUI matters to the StepEntry class, which presents an interface to the user, and then calls StepEditor methods to make changes.
The StepEntry is a singleton, used over and over each time the user wants to step edit; the StepEditor is owned by a MidiTimeAxisView and re-used for any step editing in the MidiTrack for which the MidiTimeAxisView is a view.
Definition at line 55 of file step_editor.h.
StepEditor::StepEditor | ( | PublicEditor & | , |
std::shared_ptr< ARDOUR::MidiTrack > | , | ||
MidiTimeAxisView & | |||
) |
|
virtual |
void StepEditor::check_step_edit | ( | ) |
void StepEditor::move_step_edit_beat_pos | ( | Temporal::Beats | beats | ) |
std::string StepEditor::name | ( | ) | const |
|
private |
|
private |
|
private |
void StepEditor::reset_step_edit_beat_pos | ( | ) |
|
private |
void StepEditor::resync_step_edit_to_edit_point | ( | ) |
void StepEditor::set_step_edit_cursor_width | ( | Temporal::Beats | beats | ) |
void StepEditor::start_step_editing | ( | ) |
int StepEditor::step_add_bank_change | ( | uint8_t | channel, |
uint8_t | bank | ||
) |
int StepEditor::step_add_note | ( | uint8_t | channel, |
uint8_t | pitch, | ||
uint8_t | velocity, | ||
Temporal::Beats | beat_duration | ||
) |
int StepEditor::step_add_program_change | ( | uint8_t | channel, |
uint8_t | program | ||
) |
void StepEditor::step_edit_bar_sync | ( | ) |
void StepEditor::step_edit_beat_sync | ( | ) |
void StepEditor::step_edit_rest | ( | Temporal::Beats | beats | ) |
void StepEditor::step_edit_sustain | ( | Temporal::Beats | beats | ) |
void StepEditor::step_edit_toggle_chord | ( | ) |
void StepEditor::step_edit_toggle_triplet | ( | ) |
bool StepEditor::step_edit_within_chord | ( | ) | const |
bool StepEditor::step_edit_within_triplet | ( | ) | const |
void StepEditor::step_entry_done | ( | ) |
|
private |
void StepEditor::stop_step_editing | ( | ) |
|
private |
Definition at line 95 of file step_editor.h.
|
private |
Definition at line 97 of file step_editor.h.
|
private |
Definition at line 93 of file step_editor.h.
|
private |
Definition at line 91 of file step_editor.h.
|
private |
Definition at line 92 of file step_editor.h.
|
private |
Definition at line 96 of file step_editor.h.
|
private |
Definition at line 101 of file step_editor.h.
|
private |
Definition at line 102 of file step_editor.h.
|
private |
Definition at line 99 of file step_editor.h.
|
private |
Definition at line 98 of file step_editor.h.
|
private |
Definition at line 88 of file step_editor.h.
|
private |
Definition at line 87 of file step_editor.h.
|
private |
Definition at line 89 of file step_editor.h.
|
private |
Definition at line 94 of file step_editor.h.
|
private |
Definition at line 90 of file step_editor.h.