actions/edit_midi_arranger_selections_action.h file

UndoableAction for MidiArrangerSelections edits.

Contents

Classes

struct EditMidiArrangerSelectionsAction
The UndoableAction.

Enums

enum EditMidiArrangerSelectionsType { EMAS_TYPE_RESIZE_L, EMAS_TYPE_RESIZE_R, EMAS_TYPE_VELOCITY_CHANGE, EMAS_TYPE_VELOCITY_RAMP }
Type of action.

Typedefs

using EditMidiArrangerSelectionsType = enum EditMidiArrangerSelectionsType
Type of action.
using EditMidiArrangerSelectionsAction = struct EditMidiArrangerSelectionsAction
The UndoableAction.

Functions

auto edit_midi_arranger_selections_action_new(MidiArrangerSelections* mas, EditMidiArrangerSelectionsType type, long ticks, int diff, Position* start_pos, Position* end_pos) -> UndoableAction*
Create the new action.

Defines

#define emas_action_new_vel_change(mas, diff)
Simple way to create an action for Velocity change.
#define emas_action_new_resize_l(mas, ticks)
Simple way to create an action for resizing L.
#define emas_action_new_resize_r(mas, ticks)
Simple way to create an action for resizing R.
#define emas_action_new_vel_ramp(mas, start_pos, end_pos)
Simple way to create an action for ramping.