![]() |
Ardour
9.0-pre0-844-g046623df59
|
#include <transform_dialog.h>
Classes | |
struct | Model |
struct | OperationChooser |
struct | OperatorCols |
struct | PropertyCols |
struct | SourceCols |
struct | ValueChooser |
Public Member Functions | |
TransformDialog () | |
ARDOUR::Transform::Program | get () |
![]() | |
ArdourDialog (const std::string &title, bool modal=false, bool use_separator=false) | |
ArdourDialog (Gtk::Window &parent, const std::string &title, bool modal=false, bool use_separator=false) | |
~ArdourDialog () | |
bool | on_focus_in_event (GdkEventFocus *) |
bool | on_focus_out_event (GdkEventFocus *) |
bool | on_delete_event (GdkEventAny *) |
void | on_unmap () |
void | on_show () |
virtual void | on_response (int) |
void | set_ui_sensitive (bool) |
void | disallow_idle () |
![]() | |
SessionHandlePtr (ARDOUR::Session *s) | |
SessionHandlePtr () | |
virtual | ~SessionHandlePtr () |
virtual void | set_session (ARDOUR::Session *) |
virtual ARDOUR::Session * | session () const |
Private Types | |
typedef ARDOUR::MidiModel::NoteDiffCommand::Property | Property |
typedef ARDOUR::Transform::Value | Value |
typedef ARDOUR::Transform::Value::Source | Source |
typedef ARDOUR::Transform::Operation::Operator | Operator |
typedef ARDOUR::Transform::Operation | Operation |
Private Member Functions | |
void | property_changed () |
void | add_clicked () |
Private Attributes | |
Model | _model |
Gtk::ComboBox | _property_combo |
ValueChooser * | _seed_chooser |
Gtk::VBox | _operations_box |
Gtk::Button | _add_button |
Additional Inherited Members | |
![]() | |
void | pop_splash () |
void | close_self () |
![]() | |
virtual void | session_going_away () |
![]() | |
bool | _sensitive |
![]() | |
ARDOUR::Session * | _session |
PBD::ScopedConnectionList | _session_connections |
Dialog for building a MIDI note transformation.
This can build transformations with any number of operations, but is limited in power and can't build arbitrary transformations since there is no way to do conceptually parenthetical things (i.e. push things to the stack).
With this, it is possible to build transformations that process a single value in a series of steps starting with a seed, like: "value = seed OP value OP value ..." where OP is +, -, *, or /, left associative with no precedence. This is simple and pretty clear to the user what's going to happen, though a bit limited. It would be nice if the GUI could build fancier transformations, but it's not obvious how to do this without making things more confusing.
Definition at line 49 of file transform_dialog.h.
|
private |
Definition at line 61 of file transform_dialog.h.
|
private |
Definition at line 60 of file transform_dialog.h.
Definition at line 57 of file transform_dialog.h.
|
private |
Definition at line 59 of file transform_dialog.h.
|
private |
Definition at line 58 of file transform_dialog.h.
TransformDialog::TransformDialog | ( | ) |
|
private |
ARDOUR::Transform::Program TransformDialog::get | ( | ) |
|
private |
|
private |
Definition at line 137 of file transform_dialog.h.
|
private |
Definition at line 133 of file transform_dialog.h.
|
private |
Definition at line 136 of file transform_dialog.h.
|
private |
Definition at line 134 of file transform_dialog.h.
|
private |
Definition at line 135 of file transform_dialog.h.