gui/backend/arranger_object_info.h file

Info about objects shown in arrangers (Region's, MidiNote's, etc.).

Contents

Classes

struct ArrangerObjectInfo
Information about the objects associated with the current object.

Enums

enum ArrangerObjectInfoType { AOI_TYPE_REGION, AOI_TYPE_MIDI_NOTE, AOI_TYPE_CHORD_OBJECT, AOI_TYPE_SCALE_OBJECT, AOI_TYPE_MARKER, AOI_TYPE_AUTOMATION_POINT, AOI_TYPE_VELOCITY }
The type of the object.
enum ArrangerObjectInfoCounterpart { AOI_COUNTERPART_MAIN, AOI_COUNTERPART_MAIN_TRANSIENT, AOI_COUNTERPART_LANE, AOI_COUNTERPART_LANE_TRANSIENT }

Typedefs

using ArrangerObjectInfoType = enum ArrangerObjectInfoType
The type of the object.
using ArrangerObjectInfo = struct ArrangerObjectInfo
Information about the objects associated with the current object.

Functions

static void _arranger_object_info_init(ArrangerObjectInfo* self, void* main, void* main_trans, void* lane, void* lane_trans, ArrangerObjectInfoType type, ArrangerObjectInfoCounterpart counterpart)
Inits the ArrangerObjectInfo with the given values.
auto arranger_object_info_is_transient(ArrangerObjectInfo* self) -> int
Returns whether the object is transient or not.
auto arranger_object_info_is_lane(ArrangerObjectInfo* self) -> int
Returns whether the object is a lane object or not (only applies to TimelineArrangerWidget objects.
static auto arranger_object_info_is_main(ArrangerObjectInfo* self) -> int
Returns whether the object is a main object or not (only applies to TimelineArrangerWidget objects.
auto arranger_object_info_should_be_visible(ArrangerObjectInfo* self) -> int
Returns if the object represented by the ArrrangerObjectInfo should be visible.
static auto arranger_object_info_get_object(ArrangerObjectInfo* self) -> void*
Gets the object the ArrangerObjectInfo represents.
void arranger_object_info_set_widget_visibility_and_state(ArrangerObjectInfo* self, int all)
Sets the widget visibility and selection state to this counterpart only, or to all counterparts if all is 1.
auto arranger_object_info_get_visible_counterpart(ArrangerObjectInfo* self) -> void*
Returns the first visible counterpart found.

Defines

#define arranger_object_info_init_main(_main, _main_trans, _lane, _lane_trans, _type)
Initializes each object starting from the main.