Zrythm
a highly automated and intuitive digital audio workstation
|
User action implementations. More...
Data Structures | |
struct | ArrangerSelectionsAction |
The action. More... | |
struct | ChannelSendAction |
Action for channel send changes. More... | |
struct | ChordAction |
Action for chord pad changes. More... | |
struct | MidiMappingAction |
MIDI mapping action. More... | |
struct | PortAction |
struct | PortConnectionAction |
struct | RangeAction |
struct | TracklistSelectionsAction |
Tracklist selections (tracks) action. More... | |
struct | TransportAction |
Transport action. More... | |
struct | UndoManager |
Undo manager. More... | |
struct | UndoStack |
Serializable stack for undoable actions. More... | |
struct | UndoableAction |
Base struct to be inherited by implementing undoable actions. More... | |
Macros | |
#define | arranger_selections_action_new_create(sel, error) |
#define | arranger_selections_action_new_delete(sel, error) |
#define | arranger_selections_action_new_move(sel, ticks, chords, pitch, tracks, lanes, norm_amt, port_id, already_moved, error) |
#define | arranger_selections_action_new_duplicate(sel, ticks, chords, pitch, tracks, lanes, norm_amt, port_id, already_moved, error) |
#define | arranger_selections_action_new_move_timeline(sel, ticks, delta_tracks, delta_lanes, port_id, already_moved, error) |
#define | arranger_selections_action_new_duplicate_timeline(sel, ticks, delta_tracks, delta_lanes, port_id, already_moved, error) |
#define | arranger_selections_action_new_move_midi(sel, ticks, delta_pitch, already_moved, error) |
#define | arranger_selections_action_new_duplicate_midi(sel, ticks, delta_pitch, already_moved, error) |
#define | arranger_selections_action_new_move_chord(sel, ticks, delta_chords, already_moved, error) |
#define | arranger_selections_action_new_duplicate_chord(sel, ticks, delta_chords, already_moved, error) |
#define | arranger_selections_action_new_move_automation(sel, ticks, norm_amt, already_moved, error) |
#define | arranger_selections_action_new_duplicate_automation(sel, ticks, norm_amt, already_moved, error) |
#define | arranger_selections_action_perform_create(sel, error) |
#define | arranger_selections_action_perform_delete(sel, error) |
#define | arranger_selections_action_perform_move(sel, ticks, chords, pitch, tracks, lanes, norm_amt, port_id, already_moved, error) |
#define | arranger_selections_action_perform_duplicate(sel, ticks, chords, pitch, tracks, lanes, norm_amt, port_id, already_moved, error) |
#define | arranger_selections_action_perform_move_timeline(sel, ticks, delta_tracks, delta_lanes, port_id, already_moved, error) |
#define | arranger_selections_action_perform_duplicate_timeline(sel, ticks, delta_tracks, delta_lanes, port_id, already_moved, error) |
#define | arranger_selections_action_perform_move_midi(sel, ticks, delta_pitch, already_moved, error) |
#define | arranger_selections_action_perform_duplicate_midi(sel, ticks, delta_pitch, already_moved, error) |
#define | arranger_selections_action_perform_move_chord(sel, ticks, delta_chords, already_moved, error) |
#define | arranger_selections_action_perform_duplicate_chord(sel, ticks, delta_chords, already_moved, error) |
#define | arranger_selections_action_perform_move_automation(sel, ticks, norm_amt, already_moved, error) |
#define | arranger_selections_action_perform_duplicate_automation(sel, ticks, norm_amt, already_moved, error) |
#define | channel_send_action_new_disconnect(send, error) |
#define | channel_send_action_new_connect_midi(send, midi, error) |
#define | channel_send_action_new_connect_audio(send, stereo, error) |
#define | channel_send_action_new_connect_sidechain(send, stereo, error) |
#define | channel_send_action_new_change_amount(send, amt, error) |
#define | channel_send_action_perform_disconnect(send, error) |
#define | channel_send_action_perform_connect_midi(send, midi, error) |
#define | channel_send_action_perform_connect_audio(send, stereo, error) |
#define | channel_send_action_perform_connect_sidechain(send, stereo, error) |
#define | channel_send_action_perform_change_amount(send, amt, error) |
#define | port_connection_action_new_connect(src_id, dest_id, error) |
#define | port_connection_action_new_disconnect(src_id, dest_id, error) |
#define | port_connection_action_new_enable(src_id, dest_id, enable, error) |
#define | port_connection_action_new_change_multiplier(src_id, dest_id, new_multiplier, error) |
#define | port_connection_action_perform_connect(src_id, dest_id, error) |
#define | port_connection_action_perform_disconnect(src_id, dest_id, error) |
#define | port_connection_action_perform_enable(src_id, dest_id, enable, error) |
#define | port_connection_action_perform_change_multiplier(src_id, dest_id, new_multiplier, error) |
#define | range_action_new_insert_silence(start, end, error) |
#define | range_action_new_remove(start, end, error) range_action_new (RangeActionType::RANGE_ACTION_REMOVE, start, end, error) |
#define | range_action_perform_insert_silence(start, end, error) |
#define | range_action_perform_remove(start, end, error) range_action_perform (RangeActionType::RANGE_ACTION_REMOVE, start, end, error) |
#define | tracklist_selections_action_new_create(track_type, pl_setting, file_descr, track_pos, pos, num_tracks, disable_track_pos, err) |
#define | tracklist_selections_action_new_create_audio_fx(pl_setting, track_pos, num_tracks, err) |
Creates a new TracklistSelectionsAction for an audio FX track. | |
#define | tracklist_selections_action_new_create_midi_fx(pl_setting, track_pos, num_tracks, err) |
Creates a new TracklistSelectionsAction for a MIDI FX track. | |
#define | tracklist_selections_action_new_create_instrument(pl_setting, track_pos, num_tracks, err) |
Creates a new TracklistSelectionsAction for an instrument track. | |
#define | tracklist_selections_action_new_create_audio_group(track_pos, num_tracks, err) |
Creates a new TracklistSelectionsAction for an audio group track. | |
#define | tracklist_selections_action_new_create_midi_group(track_pos, num_tracks, err) |
Creates a new TracklistSelectionsAction for a MIDI group track. | |
#define | tracklist_selections_action_new_create_midi(track_pos, num_tracks, err) |
Creates a new TracklistSelectionsAction for a MIDI track. | |
#define | tracklist_selections_action_new_create_folder(track_pos, num_tracks, err) |
Creates a new TracklistSelectionsAction for a folder track. | |
#define | tracklist_selections_action_new_edit_generic(type, tls_before, tls_after, already_edited, err) |
Generic edit action. | |
#define | tracklist_selections_action_new_edit_single_float(type, track, val_before, val_after, already_edited, err) |
Convenience wrapper over tracklist_selections_action_new() for single-track float edit changes. | |
#define | tracklist_selections_action_new_edit_single_int(type, track, val_after, already_edited, err) |
Convenience wrapper over tracklist_selections_action_new() for single-track int edit changes. | |
#define | tracklist_selections_action_new_edit_mute(tls_before, mute_new, err) |
#define | tracklist_selections_action_new_edit_mute_lane(track_lane, mute_new, err) |
#define | tracklist_selections_action_new_edit_solo(tls_before, solo_new, err) |
#define | tracklist_selections_action_new_edit_solo_lane(track_lane, solo_new, err) |
#define | tracklist_selections_action_new_edit_listen(tls_before, solo_new, err) |
#define | tracklist_selections_action_new_edit_enable(tls_before, enable_new, err) |
#define | tracklist_selections_action_new_edit_fold(tls_before, fold_new, err) |
#define | tracklist_selections_action_new_edit_direct_out(tls, port_connections_mgr, direct_out, err) |
#define | tracklist_selections_action_new_edit_remove_direct_out(tls, port_connections_mgr, err) |
#define | tracklist_selections_action_new_edit_color(tls, color, err) |
#define | tracklist_selections_action_new_edit_icon(tls, icon, err) |
#define | tracklist_selections_action_new_edit_comment(tls, comment, err) |
#define | tracklist_selections_action_new_edit_rename(track, port_connections_mgr, name, err) |
#define | tracklist_selections_action_new_edit_rename_lane(track_lane, name, err) |
#define | tracklist_selections_action_new_move(tls, port_connections_mgr, track_pos, err) |
Move tls to track_pos. | |
#define | tracklist_selections_action_new_copy(tls, port_connections_mgr, track_pos, err) |
#define | tracklist_selections_action_new_move_inside(tls, port_connections_mgr, track_pos, err) |
Move inside a foldable track. | |
#define | tracklist_selections_action_new_copy_inside(tls, port_connections_mgr, track_pos, err) |
#define | tracklist_selections_action_new_delete(tls, port_connections_mgr, err) |
#define | tracklist_selections_action_new_pin(tls, port_connections_mgr, err) |
Toggle the current pin status of the track. | |
#define | tracklist_selections_action_new_unpin(tls, port_connections_mgr, err) |
Toggle the current pin status of the track. | |
#define | tracklist_selections_action_perform_create(track_type, pl_setting, file_descr, track_pos, pos, num_tracks, disable_track_pos, err) |
#define | tracklist_selections_action_perform_create_audio_fx(pl_setting, track_pos, num_tracks, err) |
Creates a perform TracklistSelectionsAction for an audio FX track. | |
#define | tracklist_selections_action_perform_create_midi_fx(pl_setting, track_pos, num_tracks, err) |
Creates a perform TracklistSelectionsAction for a MIDI FX track. | |
#define | tracklist_selections_action_perform_create_instrument(pl_setting, track_pos, num_tracks, err) |
Creates a perform TracklistSelectionsAction for an instrument track. | |
#define | tracklist_selections_action_perform_create_audio_group(track_pos, num_tracks, err) |
Creates a perform TracklistSelectionsAction for an audio group track. | |
#define | tracklist_selections_action_perform_create_midi_group(track_pos, num_tracks, err) |
Creates a perform TracklistSelectionsAction for a MIDI group track. | |
#define | tracklist_selections_action_perform_create_midi(track_pos, num_tracks, err) |
Creates a perform TracklistSelectionsAction for a MIDI track. | |
#define | tracklist_selections_action_perform_create_folder(track_pos, num_tracks, err) |
Creates a perform TracklistSelectionsAction for a folder track. | |
#define | tracklist_selections_action_perform_edit_generic(type, tls_before, tls_after, already_edited, err) |
Generic edit action. | |
#define | tracklist_selections_action_perform_edit_single_float(type, track, val_before, val_after, already_edited, err) |
Convenience wrapper over tracklist_selections_action_perform() for single-track float edit changes. | |
#define | tracklist_selections_action_perform_edit_single_int(type, track, val_after, already_edited, err) |
Convenience wrapper over tracklist_selections_action_perform() for single-track int edit changes. | |
#define | tracklist_selections_action_perform_edit_mute(tls_before, mute_new, err) |
#define | tracklist_selections_action_perform_edit_mute_lane(track_lane, mute_new, err) |
#define | tracklist_selections_action_perform_edit_solo(tls_before, solo_new, err) |
#define | tracklist_selections_action_perform_edit_solo_lane(track_lane, solo_new, err) |
#define | tracklist_selections_action_perform_edit_listen(tls_before, solo_new, err) |
#define | tracklist_selections_action_perform_edit_enable(tls_before, enable_new, err) |
#define | tracklist_selections_action_perform_edit_fold(tls_before, fold_new, err) |
#define | tracklist_selections_action_perform_edit_direct_out(tls, port_connections_mgr, direct_out, err) |
#define | tracklist_selections_action_perform_edit_remove_direct_out(tls, port_connections_mgr, err) |
#define | tracklist_selections_action_perform_edit_color(tls, color, err) |
#define | tracklist_selections_action_perform_edit_icon(tls, icon, err) |
#define | tracklist_selections_action_perform_edit_comment(tls, comment, err) |
#define | tracklist_selections_action_perform_edit_rename(track, port_connections_mgr, name, err) |
#define | tracklist_selections_action_perform_edit_rename_lane(track_lane, name, err) |
#define | tracklist_selections_action_perform_move(tls, port_connections_mgr, track_pos, err) |
Move tls to track_pos. | |
#define | tracklist_selections_action_perform_copy(tls, port_connections_mgr, track_pos, err) |
#define | tracklist_selections_action_perform_move_inside(tls, port_connections_mgr, track_pos, err) |
Move inside a foldable track. | |
#define | tracklist_selections_action_perform_copy_inside(tls, port_connections_mgr, track_pos, err) |
#define | tracklist_selections_action_perform_delete(tls, port_connections_mgr, err) |
#define | tracklist_selections_action_perform_pin(tls, port_connections_mgr, err) |
Toggle the current pin status of the track. | |
#define | tracklist_selections_action_perform_unpin(tls, port_connections_mgr, err) |
Toggle the current pin status of the track. | |
#define | UNDO_MANAGER (PROJECT->undo_manager) |
#define | UNDO_MANAGER_PERFORM_AND_PROPAGATE_ERR(action, err, ...) |
Second and last argument given must be a GError **. | |
#define | undo_stack_size(x) (stack_size ((x)->stack)) |
#define | undo_stack_is_empty(x) (stack_is_empty ((x)->stack)) |
#define | undo_stack_is_full(x) (stack_is_full ((x)->stack)) |
#define | undo_stack_peek(x) ((UndoableAction *) stack_peek ((x)->stack)) |
#define | undo_stack_peek_last(x) ((UndoableAction *) stack_peek_last ((x)->stack)) |
Enumerations | |
enum class | ArrangerSelectionsActionType { AS_ACTION_AUTOMATION_FILL , AS_ACTION_CREATE , AS_ACTION_DELETE , AS_ACTION_DUPLICATE , AS_ACTION_EDIT , AS_ACTION_LINK , AS_ACTION_MERGE , AS_ACTION_MOVE , AS_ACTION_QUANTIZE , AS_ACTION_RECORD , AS_ACTION_RESIZE , AS_ACTION_SPLIT } |
enum class | ArrangerSelectionsActionResizeType { ARRANGER_SELECTIONS_ACTION_RESIZE_L , ARRANGER_SELECTIONS_ACTION_RESIZE_R , ARRANGER_SELECTIONS_ACTION_RESIZE_L_LOOP , ARRANGER_SELECTIONS_ACTION_RESIZE_R_LOOP , ARRANGER_SELECTIONS_ACTION_RESIZE_L_FADE , ARRANGER_SELECTIONS_ACTION_RESIZE_R_FADE , ARRANGER_SELECTIONS_ACTION_STRETCH_L , ARRANGER_SELECTIONS_ACTION_STRETCH_R } |
Type used when the action is a RESIZE action. More... | |
enum class | ArrangerSelectionsActionEditType { ArrangerSelectionsActionEditType::ARRANGER_SELECTIONS_ACTION_EDIT_NAME , ArrangerSelectionsActionEditType::ARRANGER_SELECTIONS_ACTION_EDIT_POS , ArrangerSelectionsActionEditType::ARRANGER_SELECTIONS_ACTION_EDIT_PRIMITIVE , ArrangerSelectionsActionEditType::ARRANGER_SELECTIONS_ACTION_EDIT_SCALE , ArrangerSelectionsActionEditType::ARRANGER_SELECTIONS_ACTION_EDIT_FADES , ArrangerSelectionsActionEditType::ARRANGER_SELECTIONS_ACTION_EDIT_MUTE , ArrangerSelectionsActionEditType::ARRANGER_SELECTIONS_ACTION_EDIT_EDITOR_FUNCTION } |
Type used when the action is an EDIT action. More... | |
enum class | ChannelSendActionType { CHANNEL_SEND_ACTION_CONNECT_STEREO , CHANNEL_SEND_ACTION_CONNECT_MIDI , CHANNEL_SEND_ACTION_CONNECT_SIDECHAIN , CHANNEL_SEND_ACTION_CHANGE_AMOUNT , CHANNEL_SEND_ACTION_CHANGE_PORTS , CHANNEL_SEND_ACTION_DISCONNECT } |
enum class | ChordActionType { ChordActionType::CHORD_ACTION_SINGLE , ChordActionType::CHORD_ACTION_ALL } |
Type of chord action. More... | |
enum class | MidiMappingActionType { MIDI_MAPPING_ACTION_BIND , MIDI_MAPPING_ACTION_UNBIND , MIDI_MAPPING_ACTION_ENABLE , MIDI_MAPPING_ACTION_DISABLE } |
enum class | PortActionType { PortActionType::PORT_ACTION_SET_CONTROL_VAL } |
enum class | PortConnectionActionType { PORT_CONNECTION_CONNECT , PORT_CONNECTION_DISCONNECT , PORT_CONNECTION_ENABLE , PORT_CONNECTION_DISABLE , PORT_CONNECTION_CHANGE_MULTIPLIER } |
enum class | RangeActionType { RANGE_ACTION_INSERT_SILENCE , RANGE_ACTION_REMOVE } |
enum class | TracklistSelectionsActionType { TRACKLIST_SELECTIONS_ACTION_COPY , TRACKLIST_SELECTIONS_ACTION_COPY_INSIDE , TRACKLIST_SELECTIONS_ACTION_CREATE , TRACKLIST_SELECTIONS_ACTION_DELETE , TRACKLIST_SELECTIONS_ACTION_EDIT , TRACKLIST_SELECTIONS_ACTION_MOVE , TRACKLIST_SELECTIONS_ACTION_MOVE_INSIDE , TRACKLIST_SELECTIONS_ACTION_PIN , TRACKLIST_SELECTIONS_ACTION_UNPIN } |
enum class | EditTrackActionType { EDIT_TRACK_ACTION_TYPE_SOLO , EDIT_TRACK_ACTION_TYPE_SOLO_LANE , EDIT_TRACK_ACTION_TYPE_MUTE , EDIT_TRACK_ACTION_TYPE_MUTE_LANE , EDIT_TRACK_ACTION_TYPE_LISTEN , EDIT_TRACK_ACTION_TYPE_ENABLE , EDIT_TRACK_ACTION_TYPE_FOLD , EDIT_TRACK_ACTION_TYPE_VOLUME , EDIT_TRACK_ACTION_TYPE_PAN , EditTrackActionType::EDIT_TRACK_ACTION_TYPE_DIRECT_OUT , EditTrackActionType::EDIT_TRACK_ACTION_TYPE_RENAME , EditTrackActionType::EDIT_TRACK_ACTION_TYPE_RENAME_LANE , EDIT_TRACK_ACTION_TYPE_COLOR , EDIT_TRACK_ACTION_TYPE_COMMENT , EDIT_TRACK_ACTION_TYPE_ICON , EDIT_TRACK_ACTION_TYPE_MIDI_FADER_MODE } |
Action type. More... | |
enum class | TransportActionType { TRANSPORT_ACTION_BPM_CHANGE , TRANSPORT_ACTION_BEATS_PER_BAR_CHANGE , TRANSPORT_ACTION_BEAT_UNIT_CHANGE } |
enum class | UndoableActionType { UA_TRACKLIST_SELECTIONS , UA_CHANNEL_SEND , UA_MIXER_SELECTIONS , UA_ARRANGER_SELECTIONS , UA_MIDI_MAPPING , UA_PORT_CONNECTION , UA_PORT , UA_RANGE , UA_TRANSPORT , UA_CHORD } |
Type of UndoableAction. More... | |
Functions | |
void | actions_set_app_action_enabled (const char *action_name, const bool enabled) |
void | activate_about (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_preferences (GSimpleAction *action, GVariant *variant, gpointer user_data) |
Show preferences window. | |
void | activate_log (GSimpleAction *action, GVariant *variant, gpointer user_data) |
Show preferences window. | |
DECLARE_SIMPLE (activate_audition_mode) | |
DECLARE_SIMPLE (activate_select_mode) | |
DECLARE_SIMPLE (activate_edit_mode) | |
DECLARE_SIMPLE (activate_cut_mode) | |
DECLARE_SIMPLE (activate_eraser_mode) | |
DECLARE_SIMPLE (activate_ramp_mode) | |
DECLARE_SIMPLE (activate_quit) | |
DECLARE_SIMPLE (activate_zoom_in) | |
DECLARE_SIMPLE (activate_zoom_out) | |
DECLARE_SIMPLE (activate_cycle_focus) | |
DECLARE_SIMPLE (activate_cycle_focus_backwards) | |
DECLARE_SIMPLE (activate_focus_first_widget) | |
COLD | DECLARE_SIMPLE (activate_new) |
COLD | DECLARE_SIMPLE (activate_minimize) |
COLD | DECLARE_SIMPLE (activate_open) |
COLD void | activate_save (GSimpleAction *action, GVariant *variant, gpointer user_data) |
COLD | DECLARE_SIMPLE (activate_save_as) |
COLD | DECLARE_SIMPLE (activate_export_as) |
COLD | DECLARE_SIMPLE (activate_export_graph) |
void | activate_properties (GSimpleAction *action, GVariant *variant, gpointer user_data) |
DECLARE_SIMPLE (activate_undo) | |
DECLARE_SIMPLE (activate_redo) | |
DECLARE_SIMPLE (activate_undo_n) | |
DECLARE_SIMPLE (activate_redo_n) | |
DECLARE_SIMPLE (activate_cut) | |
DECLARE_SIMPLE (activate_copy) | |
DECLARE_SIMPLE (activate_paste) | |
DECLARE_SIMPLE (activate_delete) | |
DECLARE_SIMPLE (activate_duplicate) | |
DECLARE_SIMPLE (activate_clear_selection) | |
DECLARE_SIMPLE (activate_select_all) | |
void | activate_toggle_left_panel (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_toggle_right_panel (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_toggle_bot_panel (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_toggle_top_panel (GSimpleAction *action, GVariant *variant, gpointer user_data) |
Toggle timeline visibility. | |
DECLARE_SIMPLE (activate_toggle_drum_mode) | |
void | change_state_show_automation_values (GSimpleAction *action, GVariant *value, gpointer user_data) |
void | activate_toggle_status_bar (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_fullscreen (GSimpleAction *action, GVariant *variant, gpointer user_data) |
COLD | DECLARE_SIMPLE (activate_news) |
COLD | DECLARE_SIMPLE (activate_manual) |
COLD | DECLARE_SIMPLE (activate_chat) |
COLD | DECLARE_SIMPLE (activate_bugreport) |
COLD | DECLARE_SIMPLE (activate_donate) |
void | activate_loop_selection (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_best_fit (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_original_size (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_snap_to_grid (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_snap_keep_offset (GSimpleAction *action, GVariant *variant, gpointer user_data) |
DECLARE_SIMPLE (activate_import_file) | |
DECLARE_SIMPLE (activate_create_audio_track) | |
DECLARE_SIMPLE (activate_create_midi_track) | |
DECLARE_SIMPLE (activate_create_audio_bus_track) | |
DECLARE_SIMPLE (activate_create_midi_bus_track) | |
DECLARE_SIMPLE (activate_create_audio_group_track) | |
DECLARE_SIMPLE (activate_create_midi_group_track) | |
DECLARE_SIMPLE (activate_create_folder_track) | |
DECLARE_SIMPLE (activate_duplicate_selected_tracks) | |
DECLARE_SIMPLE (activate_delete_selected_tracks) | |
DECLARE_SIMPLE (activate_hide_selected_tracks) | |
DECLARE_SIMPLE (activate_pin_selected_tracks) | |
DECLARE_SIMPLE (activate_solo_selected_tracks) | |
DECLARE_SIMPLE (activate_unsolo_selected_tracks) | |
DECLARE_SIMPLE (activate_mute_selected_tracks) | |
DECLARE_SIMPLE (activate_unmute_selected_tracks) | |
DECLARE_SIMPLE (activate_listen_selected_tracks) | |
DECLARE_SIMPLE (activate_unlisten_selected_tracks) | |
DECLARE_SIMPLE (activate_enable_selected_tracks) | |
DECLARE_SIMPLE (activate_disable_selected_tracks) | |
DECLARE_SIMPLE (activate_change_track_color) | |
DECLARE_SIMPLE (activate_track_set_midi_channel) | |
DECLARE_SIMPLE (activate_quick_bounce_selected_tracks) | |
DECLARE_SIMPLE (activate_bounce_selected_tracks) | |
DECLARE_SIMPLE (activate_selected_tracks_direct_out_to) | |
DECLARE_SIMPLE (activate_selected_tracks_direct_out_new) | |
DECLARE_SIMPLE (activate_toggle_track_passthrough_input) | |
DECLARE_SIMPLE (activate_show_used_automation_lanes_on_selected_tracks) | |
DECLARE_SIMPLE (activate_hide_unused_automation_lanes_on_selected_tracks) | |
DECLARE_SIMPLE (activate_append_track_objects_to_selection) | |
DECLARE_SIMPLE (activate_append_lane_objects_to_selection) | |
DECLARE_SIMPLE (activate_append_lane_automation_regions_to_selection) | |
void | activate_snap_events (GSimpleAction *action, GVariant *variant, gpointer user_data) |
DECLARE_SIMPLE (activate_goto_start_marker) | |
DECLARE_SIMPLE (activate_goto_end_marker) | |
DECLARE_SIMPLE (activate_goto_prev_marker) | |
DECLARE_SIMPLE (activate_goto_next_marker) | |
DECLARE_SIMPLE (activate_play_pause) | |
DECLARE_SIMPLE (activate_record_play) | |
void | change_state_dim_output (GSimpleAction *action, GVariant *value, gpointer user_data) |
void | change_state_loop (GSimpleAction *action, GVariant *value, gpointer user_data) |
void | change_state_metronome (GSimpleAction *action, GVariant *value, gpointer user_data) |
void | change_state_musical_mode (GSimpleAction *action, GVariant *value, gpointer user_data) |
void | change_state_listen_notes (GSimpleAction *action, GVariant *value, gpointer user_data) |
void | change_state_ghost_notes (GSimpleAction *action, GVariant *value, gpointer user_data) |
void | activate_quick_quantize (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_quantize_options (GSimpleAction *action, GVariant *variant, gpointer user_data) |
DECLARE_SIMPLE (activate_mute_selection) | |
DECLARE_SIMPLE (activate_merge_selection) | |
void | activate_set_timebase_master (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_set_transport_client (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_unlink_jack_transport (GSimpleAction *action, GVariant *variant, gpointer user_data) |
void | activate_bind_midi_cc (GSimpleAction *action, GVariant *_variant, gpointer user_data) |
All purpose menuitem callback for binding MIDI CC to a port. | |
DECLARE_SIMPLE (activate_delete_midi_cc_bindings) | |
DECLARE_SIMPLE (activate_toggle_timeline_event_viewer) | |
DECLARE_SIMPLE (activate_toggle_editor_event_viewer) | |
DECLARE_SIMPLE (activate_insert_silence) | |
DECLARE_SIMPLE (activate_remove_range) | |
DECLARE_SIMPLE (change_state_timeline_playhead_scroll_edges) | |
DECLARE_SIMPLE (change_state_timeline_playhead_follow) | |
DECLARE_SIMPLE (change_state_editor_playhead_scroll_edges) | |
DECLARE_SIMPLE (change_state_editor_playhead_follow) | |
DECLARE_SIMPLE (activate_editor_function) | |
DECLARE_SIMPLE (activate_editor_function_lv2) | |
COLD | DECLARE_SIMPLE (activate_midi_editor_highlighting) |
DECLARE_SIMPLE (activate_rename_track) | |
DECLARE_SIMPLE (activate_rename_arranger_object) | |
DECLARE_SIMPLE (activate_create_arranger_object) | |
DECLARE_SIMPLE (activate_change_region_color) | |
DECLARE_SIMPLE (activate_reset_region_color) | |
DECLARE_SIMPLE (activate_move_automation_regions) | |
DECLARE_SIMPLE (activate_add_region) | |
DECLARE_SIMPLE (activate_go_to_start) | |
DECLARE_SIMPLE (activate_input_bpm) | |
DECLARE_SIMPLE (activate_tap_bpm) | |
DECLARE_SIMPLE (activate_nudge_selection) | |
DECLARE_SIMPLE (activate_detect_bpm) | |
DECLARE_SIMPLE (activate_timeline_function) | |
DECLARE_SIMPLE (activate_export_midi_regions) | |
DECLARE_SIMPLE (activate_quick_bounce_selections) | |
DECLARE_SIMPLE (activate_bounce_selections) | |
DECLARE_SIMPLE (activate_set_curve_algorithm) | |
DECLARE_SIMPLE (activate_set_region_fade_in_algorithm_preset) | |
DECLARE_SIMPLE (activate_set_region_fade_out_algorithm_preset) | |
DECLARE_SIMPLE (activate_arranger_object_view_info) | |
DECLARE_SIMPLE (activate_save_chord_preset) | |
DECLARE_SIMPLE (activate_load_chord_preset) | |
DECLARE_SIMPLE (activate_load_chord_preset_from_scale) | |
DECLARE_SIMPLE (activate_transpose_chord_pad) | |
DECLARE_SIMPLE (activate_add_chord_preset_pack) | |
DECLARE_SIMPLE (activate_delete_chord_preset_pack) | |
DECLARE_SIMPLE (activate_rename_chord_preset_pack) | |
DECLARE_SIMPLE (activate_delete_chord_preset) | |
DECLARE_SIMPLE (activate_rename_chord_preset) | |
DECLARE_SIMPLE (activate_reset_stereo_balance) | |
DECLARE_SIMPLE (activate_reset_fader) | |
DECLARE_SIMPLE (activate_reset_control) | |
DECLARE_SIMPLE (activate_port_view_info) | |
DECLARE_SIMPLE (activate_port_connection_remove) | |
DECLARE_SIMPLE (activate_plugin_toggle_enabled) | |
DECLARE_SIMPLE (activate_plugin_inspect) | |
DECLARE_SIMPLE (activate_mixer_selections_delete) | |
DECLARE_SIMPLE (activate_plugin_change_load_behavior) | |
DECLARE_SIMPLE (activate_panel_file_browser_add_bookmark) | |
DECLARE_SIMPLE (activate_panel_file_browser_delete_bookmark) | |
DECLARE_SIMPLE (activate_plugin_browser_add_to_project) | |
DECLARE_SIMPLE (activate_plugin_browser_add_to_project_carla) | |
DECLARE_SIMPLE (activate_plugin_browser_add_to_project_bridged_ui) | |
DECLARE_SIMPLE (activate_plugin_browser_add_to_project_bridged_full) | |
DECLARE_SIMPLE (change_state_plugin_browser_toggle_generic_ui) | |
DECLARE_SIMPLE (activate_plugin_browser_add_to_collection) | |
DECLARE_SIMPLE (activate_plugin_browser_remove_from_collection) | |
DECLARE_SIMPLE (activate_plugin_browser_reset) | |
DECLARE_SIMPLE (activate_plugin_collection_add) | |
DECLARE_SIMPLE (activate_plugin_collection_rename) | |
DECLARE_SIMPLE (activate_plugin_collection_remove) | |
DECLARE_SIMPLE (activate_app_action_wrapper) | |
Used as a workaround for GTK bug 4422. | |
void | arranger_selections_action_init_loaded (ArrangerSelectionsAction *self) |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_create_or_delete (ArrangerSelections *sel, const bool create, GError **error) |
Creates a new action for creating/deleting objects. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_record (ArrangerSelections *sel_before, ArrangerSelections *sel_after, const bool already_recorded, GError **error) |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_move_or_duplicate (ArrangerSelections *sel, const bool move, const double ticks, const int delta_chords, const int delta_pitch, const int delta_tracks, const int delta_lanes, const double delta_normalized_amount, const PortIdentifier *tgt_port_id, const bool already_moved, GError **error) |
Creates a new action for moving or duplicating objects. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_link (ArrangerSelections *sel_before, ArrangerSelections *sel_after, const double ticks, const int delta_tracks, const int delta_lanes, const bool already_moved, GError **error) |
Creates a new action for linking regions. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_edit (ArrangerSelections *sel_before, ArrangerSelections *sel_after, ArrangerSelectionsActionEditType type, bool already_edited, GError **error) |
Creates a new action for editing properties of an object. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_edit_single_obj (const ArrangerObject *obj_before, const ArrangerObject *obj_after, ArrangerSelectionsActionEditType type, bool already_edited, GError **error) |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_edit_midi_function (ArrangerSelections *sel_before, MidiFunctionType midi_func_type, MidiFunctionOpts opts, GError **error) |
Wrapper over arranger_selections_action_new_edit() for MIDI functions. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_edit_automation_function (ArrangerSelections *sel_before, AutomationFunctionType automation_func_type, GError **error) |
Wrapper over arranger_selections_action_new_edit() for automation functions. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_edit_audio_function (ArrangerSelections *sel_before, AudioFunctionType audio_func_type, AudioFunctionOpts opts, const char *uri, GError **error) |
Wrapper over arranger_selections_action_new_edit() for automation functions. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_automation_fill (Region *region_before, Region *region_after, bool already_changed, GError **error) |
Creates a new action for automation autofill. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_split (ArrangerSelections *sel, const Position *pos, GError **error) |
Creates a new action for splitting ArrangerObject's. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_merge (ArrangerSelections *sel, GError **error) |
Creates a new action for merging ArrangerObject's. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_resize (ArrangerSelections *sel_before, ArrangerSelections *sel_after, ArrangerSelectionsActionResizeType type, const double ticks, GError **error) |
Creates a new action for resizing ArrangerObject's. | |
WARN_UNUSED_RESULT UndoableAction * | arranger_selections_action_new_quantize (ArrangerSelections *sel, QuantizeOptions *opts, GError **error) |
Creates a new action for quantizing ArrangerObject's. | |
NONNULL ArrangerSelectionsAction * | arranger_selections_action_clone (const ArrangerSelectionsAction *src) |
bool | arranger_selections_action_perform_create_or_delete (ArrangerSelections *sel, const bool create, GError **error) |
bool | arranger_selections_action_perform_record (ArrangerSelections *sel_before, ArrangerSelections *sel_after, const bool already_recorded, GError **error) |
bool | arranger_selections_action_perform_move_or_duplicate (ArrangerSelections *sel, const bool move, const double ticks, const int delta_chords, const int delta_pitch, const int delta_tracks, const int delta_lanes, const double delta_normalized_amount, const PortIdentifier *port_id, const bool already_moved, GError **error) |
bool | arranger_selections_action_perform_link (ArrangerSelections *sel_before, ArrangerSelections *sel_after, const double ticks, const int delta_tracks, const int delta_lanes, const bool already_moved, GError **error) |
bool | arranger_selections_action_perform_edit (ArrangerSelections *sel_before, ArrangerSelections *sel_after, ArrangerSelectionsActionEditType type, bool already_edited, GError **error) |
bool | arranger_selections_action_perform_edit_single_obj (const ArrangerObject *obj_before, const ArrangerObject *obj_after, ArrangerSelectionsActionEditType type, bool already_edited, GError **error) |
bool | arranger_selections_action_perform_edit_midi_function (ArrangerSelections *sel_before, MidiFunctionType midi_func_type, MidiFunctionOpts opts, GError **error) |
bool | arranger_selections_action_perform_edit_automation_function (ArrangerSelections *sel_before, AutomationFunctionType automation_func_type, GError **error) |
bool | arranger_selections_action_perform_edit_audio_function (ArrangerSelections *sel_before, AudioFunctionType audio_func_type, AudioFunctionOpts opts, const char *uri, GError **error) |
bool | arranger_selections_action_perform_automation_fill (Region *region_before, Region *region_after, bool already_changed, GError **error) |
bool | arranger_selections_action_perform_split (ArrangerSelections *sel, const Position *pos, GError **error) |
bool | arranger_selections_action_perform_merge (ArrangerSelections *sel, GError **error) |
bool | arranger_selections_action_perform_resize (ArrangerSelections *sel_before, ArrangerSelections *sel_after, ArrangerSelectionsActionResizeType type, const double ticks, GError **error) |
bool | arranger_selections_action_perform_quantize (ArrangerSelections *sel, QuantizeOptions *opts, GError **error) |
int | arranger_selections_action_do (ArrangerSelectionsAction *self, GError **error) |
int | arranger_selections_action_undo (ArrangerSelectionsAction *self, GError **error) |
char * | arranger_selections_action_stringize (ArrangerSelectionsAction *self) |
bool | arranger_selections_action_contains_clip (ArrangerSelectionsAction *self, AudioClip *clip) |
void | arranger_selections_action_free (ArrangerSelectionsAction *self) |
void | channel_send_action_init_loaded (ChannelSendAction *self) |
WARN_UNUSED_RESULT UndoableAction * | channel_send_action_new (ChannelSend *send, ChannelSendActionType type, Port *port, StereoPorts *stereo, float amount, const PortConnectionsManager *port_connections_mgr, GError **error) |
Creates a new action. | |
NONNULL ChannelSendAction * | channel_send_action_clone (const ChannelSendAction *src) |
bool | channel_send_action_perform (ChannelSend *send, ChannelSendActionType type, Port *port, StereoPorts *stereo, float amount, const PortConnectionsManager *port_connections_mgr, GError **error) |
Wrapper to create action and perform it. | |
int | channel_send_action_do (ChannelSendAction *self, GError **error) |
int | channel_send_action_undo (ChannelSendAction *self, GError **error) |
char * | channel_send_action_stringize (ChannelSendAction *self) |
void | channel_send_action_free (ChannelSendAction *self) |
void | chord_action_init_loaded (ChordAction *self) |
WARN_UNUSED_RESULT UndoableAction * | chord_action_new (const ChordDescriptor **chords_before, const ChordDescriptor **chords_after, const ChordDescriptor *chord, const int chord_idx, GError **error) |
Creates a new action. | |
NONNULL ChordAction * | chord_action_clone (const ChordAction *src) |
bool | chord_action_perform (const ChordDescriptor **chords_before, const ChordDescriptor **chords_after, const ChordDescriptor *chord, const int chord_idx, GError **error) |
Wrapper to create action and perform it. | |
int | chord_action_do (ChordAction *self, GError **error) |
int | chord_action_undo (ChordAction *self, GError **error) |
char * | chord_action_stringize (ChordAction *self) |
void | chord_action_free (ChordAction *self) |
void | midi_mapping_action_init_loaded (MidiMappingAction *self) |
WARN_UNUSED_RESULT UndoableAction * | midi_mapping_action_new_enable (int idx, bool enable, GError **error) |
Creates a new action. | |
WARN_UNUSED_RESULT UndoableAction * | midi_mapping_action_new_bind (midi_byte_t *buf, ExtPort *device_port, Port *dest_port, GError **error) |
Creates a new action. | |
WARN_UNUSED_RESULT UndoableAction * | midi_mapping_action_new_unbind (int idx, GError **error) |
Creates a new action. | |
NONNULL MidiMappingAction * | midi_mapping_action_clone (const MidiMappingAction *src) |
bool | midi_mapping_action_perform_enable (int idx, bool enable, GError **error) |
Wrapper of midi_mapping_action_new_enable(). | |
bool | midi_mapping_action_perform_bind (midi_byte_t *buf, ExtPort *device_port, Port *dest_port, GError **error) |
Wrapper of midi_mapping_action_new_bind(). | |
bool | midi_mapping_action_perform_unbind (int idx, GError **error) |
Wrapper of midi_mapping_action_new_unbind(). | |
int | midi_mapping_action_do (MidiMappingAction *self, GError **error) |
int | midi_mapping_action_undo (MidiMappingAction *self, GError **error) |
char * | midi_mapping_action_stringize (MidiMappingAction *self) |
void | midi_mapping_action_free (MidiMappingAction *self) |
void | port_action_init_loaded (PortAction *self) |
WARN_UNUSED_RESULT UndoableAction * | port_action_new (PortActionType type, PortIdentifier *port_id, float val, bool is_normalized, GError **error) |
Create a new action. | |
WARN_UNUSED_RESULT UndoableAction * | port_action_new_reset_control (PortIdentifier *port_id, GError **error) |
Create a new action. | |
NONNULL PortAction * | port_action_clone (const PortAction *src) |
bool | port_action_perform (PortActionType type, PortIdentifier *port_id, float val, bool is_normalized, GError **error) |
bool | port_action_perform_reset_control (PortIdentifier *port_id, GError **error) |
int | port_action_do (PortAction *self, GError **error) |
int | port_action_undo (PortAction *self, GError **error) |
char * | port_action_stringize (PortAction *self) |
void | port_action_free (PortAction *self) |
void | port_connection_action_init_loaded (PortConnectionAction *self) |
WARN_UNUSED_RESULT UndoableAction * | port_connection_action_new (PortConnectionActionType type, PortIdentifier *src_id, PortIdentifier *dest_id, float new_val, GError **error) |
Create a new action. | |
NONNULL PortConnectionAction * | port_connection_action_clone (const PortConnectionAction *src) |
bool | port_connection_action_perform (PortConnectionActionType type, PortIdentifier *src_id, PortIdentifier *dest_id, float new_val, GError **error) |
int | port_connection_action_do (PortConnectionAction *self, GError **error) |
int | port_connection_action_undo (PortConnectionAction *self, GError **error) |
char * | port_connection_action_stringize (PortConnectionAction *self) |
void | port_connection_action_free (PortConnectionAction *self) |
void | range_action_init_loaded (RangeAction *self) |
WARN_UNUSED_RESULT UndoableAction * | range_action_new (RangeActionType type, Position *start_pos, Position *end_pos, GError **error) |
Creates a new action. | |
NONNULL RangeAction * | range_action_clone (const RangeAction *src) |
bool | range_action_perform (RangeActionType type, Position *start_pos, Position *end_pos, GError **error) |
int | range_action_do (RangeAction *self, GError **error) |
int | range_action_undo (RangeAction *self, GError **error) |
char * | range_action_stringize (RangeAction *self) |
void | range_action_free (RangeAction *self) |
void | tracklist_selections_action_init_loaded (TracklistSelectionsAction *self) |
WARN_UNUSED_RESULT UndoableAction * | tracklist_selections_action_new (TracklistSelectionsActionType type, TracklistSelections *tls_before, TracklistSelections *tls_after, const PortConnectionsManager *port_connections_mgr, Track *track, TrackType track_type, const PluginSetting *pl_setting, const SupportedFile *file_descr, int track_pos, int lane_pos, const Position *pos, int num_tracks, EditTrackActionType edit_type, int ival_after, const GdkRGBA *color_new, float val_before, float val_after, const char *new_txt, bool already_edited, GError **error) |
Creates a new TracklistSelectionsAction. | |
NONNULL TracklistSelectionsAction * | tracklist_selections_action_clone (const TracklistSelectionsAction *src) |
bool | tracklist_selections_action_perform (TracklistSelectionsActionType type, TracklistSelections *tls_before, TracklistSelections *tls_after, const PortConnectionsManager *port_connections_mgr, Track *track, TrackType track_type, const PluginSetting *pl_setting, const SupportedFile *file_descr, int track_pos, int lane_pos, const Position *pos, int num_tracks, EditTrackActionType edit_type, int ival_after, const GdkRGBA *color_new, float val_before, float val_after, const char *new_txt, bool already_edited, GError **error) |
bool | tracklist_selections_action_perform_set_direct_out (TracklistSelections *self, PortConnectionsManager *port_connections_mgr, Track *direct_out, GError **error) |
Edit or remove direct out. | |
int | tracklist_selections_action_do (TracklistSelectionsAction *self, GError **error) |
int | tracklist_selections_action_undo (TracklistSelectionsAction *self, GError **error) |
char * | tracklist_selections_action_stringize (TracklistSelectionsAction *self) |
void | tracklist_selections_action_free (TracklistSelectionsAction *self) |
void | transport_action_init_loaded (TransportAction *self) |
WARN_UNUSED_RESULT UndoableAction * | transport_action_new_bpm_change (bpm_t bpm_before, bpm_t bpm_after, bool already_done, GError **error) |
WARN_UNUSED_RESULT UndoableAction * | transport_action_new_time_sig_change (TransportActionType type, int before, int after, bool already_done, GError **error) |
NONNULL TransportAction * | transport_action_clone (const TransportAction *src) |
bool | transport_action_perform_bpm_change (bpm_t bpm_before, bpm_t bpm_after, bool already_done, GError **error) |
bool | transport_action_perform_time_sig_change (TransportActionType type, int before, int after, bool already_done, GError **error) |
int | transport_action_do (TransportAction *self, GError **error) |
int | transport_action_undo (TransportAction *self, GError **error) |
char * | transport_action_stringize (TransportAction *self) |
void | transport_action_free (TransportAction *self) |
NONNULL void | undo_manager_init_loaded (UndoManager *self) |
Inits the undo manager by populating the undo/redo stacks. | |
WARN_UNUSED_RESULT UndoManager * | undo_manager_new (void) |
Inits the undo manager by creating the undo/redo stacks. | |
NONNULL_ARGS (1) int undo_manager_undo(UndoManager *self | |
Undo last action. | |
int | undo_manager_perform (UndoManager *self, UndoableAction *action, GError **error) |
Performs the action and pushes it to the undo stack. | |
NONNULL bool | undo_manager_contains_clip (UndoManager *self, AudioClip *clip) |
Returns whether the given clip is used by any stack. | |
NONNULL void | undo_manager_get_plugins (UndoManager *self, GPtrArray *arr) |
Returns all plugins in the undo stacks. | |
NONNULL UndoableAction * | undo_manager_get_last_action (UndoManager *self) |
Returns the last performed action, or NULL if the stack is empty. | |
NONNULL void | undo_manager_clear_stacks (UndoManager *self, bool free) |
Clears the undo and redo stacks. | |
NONNULL UndoManager * | undo_manager_clone (const UndoManager *src) |
NONNULL void | undo_manager_free (UndoManager *self) |
void | undo_stack_init_loaded (UndoStack *self) |
UndoStack * | undo_stack_new (void) |
Creates a new stack for undoable actions. | |
NONNULL UndoStack * | undo_stack_clone (const UndoStack *src) |
char * | undo_stack_get_as_string (UndoStack *self, int limit) |
Gets the list of actions as a string. | |
NONNULL size_t | undo_stack_get_total_cached_actions (UndoStack *self) |
Returns the total cached actions. | |
void | undo_stack_push (UndoStack *self, UndoableAction *action) |
UndoableAction * | undo_stack_pop (UndoStack *self) |
UndoableAction * | undo_stack_pop_last (UndoStack *self) |
Pops the last element and moves everything back. | |
bool | undo_stack_contains_clip (UndoStack *self, AudioClip *clip) |
bool | undo_stack_contains_action (UndoStack *self, UndoableAction *ua) |
Checks if the undo stack contains the given action pointer. | |
NONNULL void | undo_stack_get_plugins (UndoStack *self, GPtrArray *arr) |
Returns the plugins referred to in the undo stack. | |
void | undo_stack_clear (UndoStack *self, bool free) |
Clears the stack, optionally freeing all the elements. | |
void | undo_stack_free (UndoStack *self) |
NONNULL void | undoable_action_init_loaded (UndoableAction *self) |
NONNULL void | undoable_action_init (UndoableAction *self, UndoableActionType type) |
Initializer to be used by implementing actions. | |
NONNULL bool | undoable_action_needs_pause (UndoableAction *self) |
Returns whether the action requires pausing the engine. | |
NONNULL bool | undoable_action_can_contain_clip (UndoableAction *self) |
Checks whether the action can contain an audio clip. | |
NONNULL bool | undoable_action_contains_clip (UndoableAction *self, AudioClip *clip) |
Checks whether the action actually contains or refers to the given audio clip. | |
NONNULL void | undoable_action_get_plugins (UndoableAction *self, GPtrArray *arr) |
NONNULL void | undoable_action_set_num_actions (UndoableAction *self, int num_actions) |
Sets the number of actions for this action. | |
void | undoable_action_save_or_load_port_connections (UndoableAction *self, bool _do, PortConnectionsManager **before, PortConnectionsManager **after) |
To be used by actions that save/load port connections. | |
int | undoable_action_do (UndoableAction *self, GError **error) |
Performs the action. | |
int | undoable_action_undo (UndoableAction *self, GError **error) |
Undoes the action. | |
void | undoable_action_free (UndoableAction *self) |
NONNULL char * | undoable_action_to_string (UndoableAction *ua) |
Stringizes the action to be used in Undo/Redo buttons. | |
Variables | |
GError ** | error |
User action implementations.
#define arranger_selections_action_new_create | ( | sel, | |
error ) |
Definition at line 227 of file arranger_selections.h.
#define arranger_selections_action_new_delete | ( | sel, | |
error ) |
Definition at line 231 of file arranger_selections.h.
#define arranger_selections_action_new_duplicate | ( | sel, | |
ticks, | |||
chords, | |||
pitch, | |||
tracks, | |||
lanes, | |||
norm_amt, | |||
port_id, | |||
already_moved, | |||
error ) |
Definition at line 273 of file arranger_selections.h.
#define arranger_selections_action_new_duplicate_automation | ( | sel, | |
ticks, | |||
norm_amt, | |||
already_moved, | |||
error ) |
Definition at line 312 of file arranger_selections.h.
#define arranger_selections_action_new_duplicate_chord | ( | sel, | |
ticks, | |||
delta_chords, | |||
already_moved, | |||
error ) |
Definition at line 303 of file arranger_selections.h.
#define arranger_selections_action_new_duplicate_midi | ( | sel, | |
ticks, | |||
delta_pitch, | |||
already_moved, | |||
error ) |
Definition at line 295 of file arranger_selections.h.
#define arranger_selections_action_new_duplicate_timeline | ( | sel, | |
ticks, | |||
delta_tracks, | |||
delta_lanes, | |||
port_id, | |||
already_moved, | |||
error ) |
Definition at line 285 of file arranger_selections.h.
#define arranger_selections_action_new_move | ( | sel, | |
ticks, | |||
chords, | |||
pitch, | |||
tracks, | |||
lanes, | |||
norm_amt, | |||
port_id, | |||
already_moved, | |||
error ) |
Definition at line 267 of file arranger_selections.h.
#define arranger_selections_action_new_move_automation | ( | sel, | |
ticks, | |||
norm_amt, | |||
already_moved, | |||
error ) |
Definition at line 308 of file arranger_selections.h.
#define arranger_selections_action_new_move_chord | ( | sel, | |
ticks, | |||
delta_chords, | |||
already_moved, | |||
error ) |
Definition at line 299 of file arranger_selections.h.
#define arranger_selections_action_new_move_midi | ( | sel, | |
ticks, | |||
delta_pitch, | |||
already_moved, | |||
error ) |
Definition at line 291 of file arranger_selections.h.
#define arranger_selections_action_new_move_timeline | ( | sel, | |
ticks, | |||
delta_tracks, | |||
delta_lanes, | |||
port_id, | |||
already_moved, | |||
error ) |
Definition at line 280 of file arranger_selections.h.
#define arranger_selections_action_perform_create | ( | sel, | |
error ) |
Definition at line 468 of file arranger_selections.h.
#define arranger_selections_action_perform_delete | ( | sel, | |
error ) |
Definition at line 472 of file arranger_selections.h.
#define arranger_selections_action_perform_duplicate | ( | sel, | |
ticks, | |||
chords, | |||
pitch, | |||
tracks, | |||
lanes, | |||
norm_amt, | |||
port_id, | |||
already_moved, | |||
error ) |
Definition at line 503 of file arranger_selections.h.
#define arranger_selections_action_perform_duplicate_automation | ( | sel, | |
ticks, | |||
norm_amt, | |||
already_moved, | |||
error ) |
Definition at line 542 of file arranger_selections.h.
#define arranger_selections_action_perform_duplicate_chord | ( | sel, | |
ticks, | |||
delta_chords, | |||
already_moved, | |||
error ) |
Definition at line 533 of file arranger_selections.h.
#define arranger_selections_action_perform_duplicate_midi | ( | sel, | |
ticks, | |||
delta_pitch, | |||
already_moved, | |||
error ) |
Definition at line 525 of file arranger_selections.h.
#define arranger_selections_action_perform_duplicate_timeline | ( | sel, | |
ticks, | |||
delta_tracks, | |||
delta_lanes, | |||
port_id, | |||
already_moved, | |||
error ) |
Definition at line 515 of file arranger_selections.h.
#define arranger_selections_action_perform_move | ( | sel, | |
ticks, | |||
chords, | |||
pitch, | |||
tracks, | |||
lanes, | |||
norm_amt, | |||
port_id, | |||
already_moved, | |||
error ) |
Definition at line 497 of file arranger_selections.h.
#define arranger_selections_action_perform_move_automation | ( | sel, | |
ticks, | |||
norm_amt, | |||
already_moved, | |||
error ) |
Definition at line 538 of file arranger_selections.h.
#define arranger_selections_action_perform_move_chord | ( | sel, | |
ticks, | |||
delta_chords, | |||
already_moved, | |||
error ) |
Definition at line 529 of file arranger_selections.h.
#define arranger_selections_action_perform_move_midi | ( | sel, | |
ticks, | |||
delta_pitch, | |||
already_moved, | |||
error ) |
Definition at line 521 of file arranger_selections.h.
#define arranger_selections_action_perform_move_timeline | ( | sel, | |
ticks, | |||
delta_tracks, | |||
delta_lanes, | |||
port_id, | |||
already_moved, | |||
error ) |
Definition at line 510 of file arranger_selections.h.
#define channel_send_action_new_change_amount | ( | send, | |
amt, | |||
error ) |
Definition at line 97 of file channel_send_action.h.
#define channel_send_action_new_connect_audio | ( | send, | |
stereo, | |||
error ) |
Definition at line 87 of file channel_send_action.h.
#define channel_send_action_new_connect_midi | ( | send, | |
midi, | |||
error ) |
Definition at line 82 of file channel_send_action.h.
#define channel_send_action_new_connect_sidechain | ( | send, | |
stereo, | |||
error ) |
Definition at line 92 of file channel_send_action.h.
#define channel_send_action_new_disconnect | ( | send, | |
error ) |
Definition at line 77 of file channel_send_action.h.
#define channel_send_action_perform_change_amount | ( | send, | |
amt, | |||
error ) |
Definition at line 141 of file channel_send_action.h.
#define channel_send_action_perform_connect_audio | ( | send, | |
stereo, | |||
error ) |
Definition at line 131 of file channel_send_action.h.
#define channel_send_action_perform_connect_midi | ( | send, | |
midi, | |||
error ) |
Definition at line 126 of file channel_send_action.h.
#define channel_send_action_perform_connect_sidechain | ( | send, | |
stereo, | |||
error ) |
Definition at line 136 of file channel_send_action.h.
#define channel_send_action_perform_disconnect | ( | send, | |
error ) |
Definition at line 121 of file channel_send_action.h.
#define port_connection_action_new_change_multiplier | ( | src_id, | |
dest_id, | |||
new_multiplier, | |||
error ) |
Definition at line 72 of file port_connection_action.h.
#define port_connection_action_new_connect | ( | src_id, | |
dest_id, | |||
error ) |
Definition at line 55 of file port_connection_action.h.
#define port_connection_action_new_disconnect | ( | src_id, | |
dest_id, | |||
error ) |
Definition at line 60 of file port_connection_action.h.
#define port_connection_action_new_enable | ( | src_id, | |
dest_id, | |||
enable, | |||
error ) |
Definition at line 65 of file port_connection_action.h.
#define port_connection_action_perform_change_multiplier | ( | src_id, | |
dest_id, | |||
new_multiplier, | |||
error ) |
Definition at line 106 of file port_connection_action.h.
#define port_connection_action_perform_connect | ( | src_id, | |
dest_id, | |||
error ) |
Definition at line 89 of file port_connection_action.h.
#define port_connection_action_perform_disconnect | ( | src_id, | |
dest_id, | |||
error ) |
Definition at line 94 of file port_connection_action.h.
#define port_connection_action_perform_enable | ( | src_id, | |
dest_id, | |||
enable, | |||
error ) |
Definition at line 99 of file port_connection_action.h.
#define range_action_new_insert_silence | ( | start, | |
end, | |||
error ) |
Definition at line 68 of file range_action.h.
#define range_action_new_remove | ( | start, | |
end, | |||
error ) range_action_new (RangeActionType::RANGE_ACTION_REMOVE, start, end, error) |
Definition at line 72 of file range_action.h.
#define range_action_perform_insert_silence | ( | start, | |
end, | |||
error ) |
Definition at line 85 of file range_action.h.
#define range_action_perform_remove | ( | start, | |
end, | |||
error ) range_action_perform (RangeActionType::RANGE_ACTION_REMOVE, start, end, error) |
Definition at line 89 of file range_action.h.
#define tracklist_selections_action_new_copy | ( | tls, | |
port_connections_mgr, | |||
track_pos, | |||
err ) |
Definition at line 489 of file tracklist_selections.h.
#define tracklist_selections_action_new_copy_inside | ( | tls, | |
port_connections_mgr, | |||
track_pos, | |||
err ) |
Definition at line 516 of file tracklist_selections.h.
#define tracklist_selections_action_new_create | ( | track_type, | |
pl_setting, | |||
file_descr, | |||
track_pos, | |||
pos, | |||
num_tracks, | |||
disable_track_pos, | |||
err ) |
disable_track_pos | Track position to disable, or -1 to not disable any track. |
Definition at line 256 of file tracklist_selections.h.
#define tracklist_selections_action_new_create_audio_fx | ( | pl_setting, | |
track_pos, | |||
num_tracks, | |||
err ) |
Creates a new TracklistSelectionsAction for an audio FX track.
Definition at line 269 of file tracklist_selections.h.
#define tracklist_selections_action_new_create_audio_group | ( | track_pos, | |
num_tracks, | |||
err ) |
Creates a new TracklistSelectionsAction for an audio group track.
Definition at line 299 of file tracklist_selections.h.
#define tracklist_selections_action_new_create_folder | ( | track_pos, | |
num_tracks, | |||
err ) |
Creates a new TracklistSelectionsAction for a folder track.
Definition at line 325 of file tracklist_selections.h.
#define tracklist_selections_action_new_create_instrument | ( | pl_setting, | |
track_pos, | |||
num_tracks, | |||
err ) |
Creates a new TracklistSelectionsAction for an instrument track.
Definition at line 289 of file tracklist_selections.h.
#define tracklist_selections_action_new_create_midi | ( | track_pos, | |
num_tracks, | |||
err ) |
Creates a new TracklistSelectionsAction for a MIDI track.
Definition at line 317 of file tracklist_selections.h.
#define tracklist_selections_action_new_create_midi_fx | ( | pl_setting, | |
track_pos, | |||
num_tracks, | |||
err ) |
Creates a new TracklistSelectionsAction for a MIDI FX track.
Definition at line 279 of file tracklist_selections.h.
#define tracklist_selections_action_new_create_midi_group | ( | track_pos, | |
num_tracks, | |||
err ) |
Creates a new TracklistSelectionsAction for a MIDI group track.
Definition at line 308 of file tracklist_selections.h.
#define tracklist_selections_action_new_delete | ( | tls, | |
port_connections_mgr, | |||
err ) |
Definition at line 524 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_color | ( | tls, | |
color, | |||
err ) |
Definition at line 434 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_comment | ( | tls, | |
comment, | |||
err ) |
Definition at line 448 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_direct_out | ( | tls, | |
port_connections_mgr, | |||
direct_out, | |||
err ) |
Definition at line 418 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_enable | ( | tls_before, | |
enable_new, | |||
err ) |
Definition at line 403 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_fold | ( | tls_before, | |
fold_new, | |||
err ) |
Definition at line 411 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_generic | ( | type, | |
tls_before, | |||
tls_after, | |||
already_edited, | |||
err ) |
Generic edit action.
Definition at line 333 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_icon | ( | tls, | |
icon, | |||
err ) |
Definition at line 441 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_listen | ( | tls_before, | |
solo_new, | |||
err ) |
Definition at line 396 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_mute | ( | tls_before, | |
mute_new, | |||
err ) |
Definition at line 364 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_mute_lane | ( | track_lane, | |
mute_new, | |||
err ) |
Definition at line 371 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_remove_direct_out | ( | tls, | |
port_connections_mgr, | |||
err ) |
Definition at line 426 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_rename | ( | track, | |
port_connections_mgr, | |||
name, | |||
err ) |
Definition at line 455 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_rename_lane | ( | track_lane, | |
name, | |||
err ) |
Definition at line 463 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_single_float | ( | type, | |
track, | |||
val_before, | |||
val_after, | |||
already_edited, | |||
err ) |
Convenience wrapper over tracklist_selections_action_new() for single-track float edit changes.
Definition at line 345 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_single_int | ( | type, | |
track, | |||
val_after, | |||
already_edited, | |||
err ) |
Convenience wrapper over tracklist_selections_action_new() for single-track int edit changes.
Definition at line 357 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_solo | ( | tls_before, | |
solo_new, | |||
err ) |
Definition at line 380 of file tracklist_selections.h.
#define tracklist_selections_action_new_edit_solo_lane | ( | track_lane, | |
solo_new, | |||
err ) |
Definition at line 387 of file tracklist_selections.h.
#define tracklist_selections_action_new_move | ( | tls, | |
port_connections_mgr, | |||
track_pos, | |||
err ) |
Move tls to track_pos.
Tracks starting at track_pos will be pushed down.
track_pos | Track position indicating the track to push down and insert the selections above. This is the track position before the move will be executed. |
Definition at line 482 of file tracklist_selections.h.
#define tracklist_selections_action_new_move_inside | ( | tls, | |
port_connections_mgr, | |||
track_pos, | |||
err ) |
Move inside a foldable track.
track_pos | Foldable track index. |
When foldable tracks are included in tls, all their children must be marked as selected as well before calling this.
Definition at line 509 of file tracklist_selections.h.
#define tracklist_selections_action_new_pin | ( | tls, | |
port_connections_mgr, | |||
err ) |
Toggle the current pin status of the track.
Definition at line 533 of file tracklist_selections.h.
#define tracklist_selections_action_new_unpin | ( | tls, | |
port_connections_mgr, | |||
err ) |
Toggle the current pin status of the track.
Definition at line 542 of file tracklist_selections.h.
#define tracklist_selections_action_perform_copy | ( | tls, | |
port_connections_mgr, | |||
track_pos, | |||
err ) |
Definition at line 819 of file tracklist_selections.h.
#define tracklist_selections_action_perform_copy_inside | ( | tls, | |
port_connections_mgr, | |||
track_pos, | |||
err ) |
Definition at line 848 of file tracklist_selections.h.
#define tracklist_selections_action_perform_create | ( | track_type, | |
pl_setting, | |||
file_descr, | |||
track_pos, | |||
pos, | |||
num_tracks, | |||
disable_track_pos, | |||
err ) |
disable_track_pos | Track position to disable, or -1 to not disable any track. |
Definition at line 578 of file tracklist_selections.h.
#define tracklist_selections_action_perform_create_audio_fx | ( | pl_setting, | |
track_pos, | |||
num_tracks, | |||
err ) |
Creates a perform TracklistSelectionsAction for an audio FX track.
Definition at line 591 of file tracklist_selections.h.
#define tracklist_selections_action_perform_create_audio_group | ( | track_pos, | |
num_tracks, | |||
err ) |
Creates a perform TracklistSelectionsAction for an audio group track.
Definition at line 621 of file tracklist_selections.h.
#define tracklist_selections_action_perform_create_folder | ( | track_pos, | |
num_tracks, | |||
err ) |
Creates a perform TracklistSelectionsAction for a folder track.
Definition at line 649 of file tracklist_selections.h.
#define tracklist_selections_action_perform_create_instrument | ( | pl_setting, | |
track_pos, | |||
num_tracks, | |||
err ) |
Creates a perform TracklistSelectionsAction for an instrument track.
Definition at line 611 of file tracklist_selections.h.
#define tracklist_selections_action_perform_create_midi | ( | track_pos, | |
num_tracks, | |||
err ) |
Creates a perform TracklistSelectionsAction for a MIDI track.
Definition at line 639 of file tracklist_selections.h.
#define tracklist_selections_action_perform_create_midi_fx | ( | pl_setting, | |
track_pos, | |||
num_tracks, | |||
err ) |
Creates a perform TracklistSelectionsAction for a MIDI FX track.
Definition at line 601 of file tracklist_selections.h.
#define tracklist_selections_action_perform_create_midi_group | ( | track_pos, | |
num_tracks, | |||
err ) |
Creates a perform TracklistSelectionsAction for a MIDI group track.
Definition at line 630 of file tracklist_selections.h.
#define tracklist_selections_action_perform_delete | ( | tls, | |
port_connections_mgr, | |||
err ) |
Definition at line 857 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_color | ( | tls, | |
color, | |||
err ) |
Definition at line 762 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_comment | ( | tls, | |
comment, | |||
err ) |
Definition at line 776 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_direct_out | ( | tls, | |
port_connections_mgr, | |||
direct_out, | |||
err ) |
Definition at line 746 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_enable | ( | tls_before, | |
enable_new, | |||
err ) |
Definition at line 730 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_fold | ( | tls_before, | |
fold_new, | |||
err ) |
Definition at line 738 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_generic | ( | type, | |
tls_before, | |||
tls_after, | |||
already_edited, | |||
err ) |
Generic edit action.
Definition at line 657 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_icon | ( | tls, | |
icon, | |||
err ) |
Definition at line 769 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_listen | ( | tls_before, | |
solo_new, | |||
err ) |
Definition at line 722 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_mute | ( | tls_before, | |
mute_new, | |||
err ) |
Definition at line 688 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_mute_lane | ( | track_lane, | |
mute_new, | |||
err ) |
Definition at line 696 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_remove_direct_out | ( | tls, | |
port_connections_mgr, | |||
err ) |
Definition at line 754 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_rename | ( | track, | |
port_connections_mgr, | |||
name, | |||
err ) |
Definition at line 783 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_rename_lane | ( | track_lane, | |
name, | |||
err ) |
Definition at line 791 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_single_float | ( | type, | |
track, | |||
val_before, | |||
val_after, | |||
already_edited, | |||
err ) |
Convenience wrapper over tracklist_selections_action_perform() for single-track float edit changes.
Definition at line 669 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_single_int | ( | type, | |
track, | |||
val_after, | |||
already_edited, | |||
err ) |
Convenience wrapper over tracklist_selections_action_perform() for single-track int edit changes.
Definition at line 681 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_solo | ( | tls_before, | |
solo_new, | |||
err ) |
Definition at line 705 of file tracklist_selections.h.
#define tracklist_selections_action_perform_edit_solo_lane | ( | track_lane, | |
solo_new, | |||
err ) |
Definition at line 713 of file tracklist_selections.h.
#define tracklist_selections_action_perform_move | ( | tls, | |
port_connections_mgr, | |||
track_pos, | |||
err ) |
Move tls to track_pos.
Tracks starting at track_pos will be pushed down.
track_pos | Track position indicating the track to push down and insert the selections above. This is the track position before the move will be executed. |
Definition at line 811 of file tracklist_selections.h.
#define tracklist_selections_action_perform_move_inside | ( | tls, | |
port_connections_mgr, | |||
track_pos, | |||
err ) |
Move inside a foldable track.
track_pos | Foldable track index. |
When foldable tracks are included in tls, all their children must be marked as selected as well before calling this.
Definition at line 840 of file tracklist_selections.h.
#define tracklist_selections_action_perform_pin | ( | tls, | |
port_connections_mgr, | |||
err ) |
Toggle the current pin status of the track.
Definition at line 868 of file tracklist_selections.h.
#define tracklist_selections_action_perform_unpin | ( | tls, | |
port_connections_mgr, | |||
err ) |
Toggle the current pin status of the track.
Definition at line 878 of file tracklist_selections.h.
#define UNDO_MANAGER (PROJECT->undo_manager) |
Definition at line 25 of file undo_manager.h.
#define UNDO_MANAGER_PERFORM_AND_PROPAGATE_ERR | ( | action, | |
err, | |||
... ) |
Second and last argument given must be a GError **.
Definition at line 87 of file undo_manager.h.
#define undo_stack_is_empty | ( | x | ) | (stack_is_empty ((x)->stack)) |
Definition at line 118 of file undo_stack.h.
#define undo_stack_is_full | ( | x | ) | (stack_is_full ((x)->stack)) |
Definition at line 120 of file undo_stack.h.
#define undo_stack_peek | ( | x | ) | ((UndoableAction *) stack_peek ((x)->stack)) |
Definition at line 122 of file undo_stack.h.
#define undo_stack_peek_last | ( | x | ) | ((UndoableAction *) stack_peek_last ((x)->stack)) |
Definition at line 124 of file undo_stack.h.
#define undo_stack_size | ( | x | ) | (stack_size ((x)->stack)) |
Definition at line 116 of file undo_stack.h.
|
strong |
Type used when the action is an EDIT action.
Enumerator | |
---|---|
ARRANGER_SELECTIONS_ACTION_EDIT_NAME | Edit the name of the ArrangerObject's in the selection. |
ARRANGER_SELECTIONS_ACTION_EDIT_POS | Edit a Position of the ArrangerObject's in the selection. This will just set all of the positions on the object. |
ARRANGER_SELECTIONS_ACTION_EDIT_PRIMITIVE | Edit a primitive (int, etc) member of ArrangerObject's in the selection. This will simply set all relevant primitive values in an ArrangerObject when doing/undoing. |
ARRANGER_SELECTIONS_ACTION_EDIT_SCALE | For editing the MusicalScale inside ScaleObject's. |
ARRANGER_SELECTIONS_ACTION_EDIT_FADES | Editing fade positions or curve options. |
ARRANGER_SELECTIONS_ACTION_EDIT_MUTE | Change mute status. |
ARRANGER_SELECTIONS_ACTION_EDIT_EDITOR_FUNCTION | For ramping MidiNote velocities or AutomationPoint values. (this is handled by EDIT_PRIMITIVE) MIDI function. |
Definition at line 73 of file arranger_selections.h.
|
strong |
Type used when the action is a RESIZE action.
Definition at line 58 of file arranger_selections.h.
|
strong |
Definition at line 39 of file arranger_selections.h.
|
strong |
Definition at line 17 of file channel_send_action.h.
|
strong |
Type of chord action.
Enumerator | |
---|---|
CHORD_ACTION_SINGLE | Change single chord. |
CHORD_ACTION_ALL | Change all chords. |
Definition at line 20 of file chord_action.h.
|
strong |
Action type.
Enumerator | |
---|---|
EDIT_TRACK_ACTION_TYPE_DIRECT_OUT | Direct out change. |
EDIT_TRACK_ACTION_TYPE_RENAME | Rename track. |
EDIT_TRACK_ACTION_TYPE_RENAME_LANE | Rename lane. |
Definition at line 36 of file tracklist_selections.h.
|
strong |
Definition at line 19 of file midi_mapping_action.h.
|
strong |
Enumerator | |
---|---|
PORT_ACTION_SET_CONTROL_VAL | Set control port value. |
Definition at line 16 of file port_action.h.
|
strong |
Definition at line 16 of file port_connection_action.h.
|
strong |
Definition at line 18 of file range_action.h.
|
strong |
Definition at line 20 of file tracklist_selections.h.
|
strong |
Definition at line 24 of file transport_action.h.
|
strong |
Type of UndoableAction.
Definition at line 28 of file undoable_action.h.
void activate_bind_midi_cc | ( | GSimpleAction * | action, |
GVariant * | _variant, | ||
gpointer | user_data ) |
All purpose menuitem callback for binding MIDI CC to a port.
An action will be performed if bound.
WARN_UNUSED_RESULT UndoableAction * arranger_selections_action_new_automation_fill | ( | Region * | region_before, |
Region * | region_after, | ||
bool | already_changed, | ||
GError ** | error ) |
Creates a new action for automation autofill.
region_before | The region before the change. |
region_after | The region after the change. |
already_changed | Whether the change was already made. |
WARN_UNUSED_RESULT UndoableAction * arranger_selections_action_new_create_or_delete | ( | ArrangerSelections * | sel, |
const bool | create, | ||
GError ** | error ) |
Creates a new action for creating/deleting objects.
create | 1 to create 0 to delete. |
WARN_UNUSED_RESULT UndoableAction * arranger_selections_action_new_edit | ( | ArrangerSelections * | sel_before, |
ArrangerSelections * | sel_after, | ||
ArrangerSelectionsActionEditType | type, | ||
bool | already_edited, | ||
GError ** | error ) |
Creates a new action for editing properties of an object.
sel_before | The selections before the change. |
sel_after | The selections after the change. |
type | Indication of which field has changed. |
WARN_UNUSED_RESULT UndoableAction * arranger_selections_action_new_link | ( | ArrangerSelections * | sel_before, |
ArrangerSelections * | sel_after, | ||
const double | ticks, | ||
const int | delta_tracks, | ||
const int | delta_lanes, | ||
const bool | already_moved, | ||
GError ** | error ) |
Creates a new action for linking regions.
already_moved | If this is true, the first DO will do nothing. |
sel_before | Original selections. |
sel_after | Selections after duplication. |
WARN_UNUSED_RESULT UndoableAction * arranger_selections_action_new_move_or_duplicate | ( | ArrangerSelections * | sel, |
const bool | move, | ||
const double | ticks, | ||
const int | delta_chords, | ||
const int | delta_pitch, | ||
const int | delta_tracks, | ||
const int | delta_lanes, | ||
const double | delta_normalized_amount, | ||
const PortIdentifier * | tgt_port_id, | ||
const bool | already_moved, | ||
GError ** | error ) |
Creates a new action for moving or duplicating objects.
move | True to move, false to duplicate. |
already_moved | If this is true, the first DO will do nothing. |
delta_normalized_amount | Difference in a normalized amount, such as automation point normalized value. |
WARN_UNUSED_RESULT UndoableAction * arranger_selections_action_new_quantize | ( | ArrangerSelections * | sel, |
QuantizeOptions * | opts, | ||
GError ** | error ) |
Creates a new action for quantizing ArrangerObject's.
opts | Quantize options. |
WARN_UNUSED_RESULT UndoableAction * arranger_selections_action_new_resize | ( | ArrangerSelections * | sel_before, |
ArrangerSelections * | sel_after, | ||
ArrangerSelectionsActionResizeType | type, | ||
const double | ticks, | ||
GError ** | error ) |
Creates a new action for resizing ArrangerObject's.
sel_after | Optional selections after resizing (if already resized). |
ticks | How many ticks to add to the resizing edge. |
WARN_UNUSED_RESULT UndoableAction * arranger_selections_action_new_split | ( | ArrangerSelections * | sel, |
const Position * | pos, | ||
GError ** | error ) |
Creates a new action for splitting ArrangerObject's.
pos | Global position to split at. |
WARN_UNUSED_RESULT UndoableAction * channel_send_action_new | ( | ChannelSend * | send, |
ChannelSendActionType | type, | ||
Port * | port, | ||
StereoPorts * | stereo, | ||
float | amount, | ||
const PortConnectionsManager * | port_connections_mgr, | ||
GError ** | error ) |
Creates a new action.
port | MIDI port, if connecting MIDI. |
stereo | Stereo ports, if connecting audio. |
port_connections_mgr | Port connections manager at the start of the action, if needed. |
bool channel_send_action_perform | ( | ChannelSend * | send, |
ChannelSendActionType | type, | ||
Port * | port, | ||
StereoPorts * | stereo, | ||
float | amount, | ||
const PortConnectionsManager * | port_connections_mgr, | ||
GError ** | error ) |
Wrapper to create action and perform it.
port_connections_mgr | Port connections manager at the start of the action, if needed. |
WARN_UNUSED_RESULT UndoableAction * chord_action_new | ( | const ChordDescriptor ** | chords_before, |
const ChordDescriptor ** | chords_after, | ||
const ChordDescriptor * | chord, | ||
const int | chord_idx, | ||
GError ** | error ) |
Creates a new action.
chord | Chord descriptor, if single chord. |
chords_before | Chord descriptors, if changing all chords. |
NONNULL_ARGS | ( | 1 | ) |
Undo last action.
Redo last undone action.
WARN_UNUSED_RESULT UndoableAction * range_action_new | ( | RangeActionType | type, |
Position * | start_pos, | ||
Position * | end_pos, | ||
GError ** | error ) |
Creates a new action.
start_pos | Range start. |
end_pos | Range end. |
WARN_UNUSED_RESULT UndoableAction * tracklist_selections_action_new | ( | TracklistSelectionsActionType | type, |
TracklistSelections * | tls_before, | ||
TracklistSelections * | tls_after, | ||
const PortConnectionsManager * | port_connections_mgr, | ||
Track * | track, | ||
TrackType | track_type, | ||
const PluginSetting * | pl_setting, | ||
const SupportedFile * | file_descr, | ||
int | track_pos, | ||
int | lane_pos, | ||
const Position * | pos, | ||
int | num_tracks, | ||
EditTrackActionType | edit_type, | ||
int | ival_after, | ||
const GdkRGBA * | color_new, | ||
float | val_before, | ||
float | val_after, | ||
const char * | new_txt, | ||
bool | already_edited, | ||
GError ** | error ) |
Creates a new TracklistSelectionsAction.
tls_before | Tracklist selections to act upon. |
port_connections_mgr | Port connections manager at the start of the action. |
pos | Position to make the tracks at. |
pl_setting | Plugin setting, if any. |
track | Track, if single-track action. Used if tls_before and tls_after are NULL. |
error | To be filled in if an error occurred. |
bool tracklist_selections_action_perform_set_direct_out | ( | TracklistSelections * | self, |
PortConnectionsManager * | port_connections_mgr, | ||
Track * | direct_out, | ||
GError ** | error ) |
Edit or remove direct out.
direct_out | A track to route the selections to, or NULL to route nowhere. |
NONNULL void undo_manager_get_plugins | ( | UndoManager * | self, |
GPtrArray * | arr ) |
Returns all plugins in the undo stacks.
Used when cleaning up state dirs.
int undo_manager_perform | ( | UndoManager * | self, |
UndoableAction * | action, | ||
GError ** | error ) |
Performs the action and pushes it to the undo stack.
NONNULL size_t undo_stack_get_total_cached_actions | ( | UndoStack * | self | ) |
Returns the total cached actions.
Used when loading projects and for error checking.
NONNULL bool undoable_action_can_contain_clip | ( | UndoableAction * | self | ) |
Checks whether the action can contain an audio clip.
No attempt is made to remove unused files from the pool for actions that can't contain audio clips.
int undoable_action_do | ( | UndoableAction * | self, |
GError ** | error ) |
Performs the action.
void undoable_action_save_or_load_port_connections | ( | UndoableAction * | self, |
bool | _do, | ||
PortConnectionsManager ** | before, | ||
PortConnectionsManager ** | after ) |
To be used by actions that save/load port connections.
_do | True if doing/performing, false if undoing. |
before | Pointer to the connections before. |
after | Pointer to the connections after. |
NONNULL void undoable_action_set_num_actions | ( | UndoableAction * | self, |
int | num_actions ) |
Sets the number of actions for this action.
This should be set on the last action to be performed.
NONNULL char * undoable_action_to_string | ( | UndoableAction * | ua | ) |
Stringizes the action to be used in Undo/Redo buttons.
The string MUST be free'd using g_free().
int undoable_action_undo | ( | UndoableAction * | self, |
GError ** | error ) |
Undoes the action.
GError ** error |
Definition at line 64 of file undo_manager.h.