10#ifndef __GUI_BACKEND_AUTOMATION_SELECTIONS_H__
11#define __GUI_BACKEND_AUTOMATION_SELECTIONS_H__
23#define AUTOMATION_SELECTIONS_SCHEMA_VERSION 1
25#define AUTOMATION_SELECTIONS (PROJECT->automation_selections)
41 int num_automation_points;
42 size_t automation_points_size;
46static const cyaml_schema_field_t
47 automation_selections_fields_schema[] = {
51 arranger_selections_fields_schema),
53 CYAML_FIELD_SEQUENCE_COUNT (
55 CYAML_FLAG_POINTER | CYAML_FLAG_OPTIONAL,
58 num_automation_points,
59 &automation_point_schema,
66static const cyaml_schema_value_t automation_selections_schema = {
70 automation_selections_fields_schema),
bool automation_selections_can_be_pasted(AutomationSelections *ts, Position *pos, ZRegion *r)
Returns if the selections can be pasted.
#define YAML_FIELD_MAPPING_EMBEDDED(owner, member, schema)
Mapping embedded inside the struct.
Common data structures and functions for *ArrangerSelections.
An automation point inside an AutomationTrack.
Selections to be used for the AutomationArrangerWidget's current selections, copying,...
AutomationPoint ** automation_points
Selected AutomationObject's.
A Position is made up of bars.beats.sixteenths.ticks.
A region (clip) is an object on the timeline that contains either MidiNote's or AudioClip's.