Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
ChordObject Struct Reference

A ChordObject to be shown in the TimelineArrangerWidget. More...

#include <dsp/chord_object.h>

Inheritance diagram for ChordObject:
Collaboration diagram for ChordObject:

Data Fields

ArrangerObject base
 Base struct.
 
int index
 The index inside the region.
 
int chord_index
 The index of the chord it belongs to (0 topmost).
 
int magic
 
PangoLayout * layout
 Cache layout for drawing the name.
 
- Data Fields inherited from ArrangerObject
ArrangerObjectType type
 
ArrangerObjectFlags flags
 Flags.
 
Position pos
 Position (or start Position if the object has length).
 
Position end_pos
 End Position, if the object has one.
 
Position clip_start_pos
 Start position of the clip loop, relative to the object's start.
 
Position loop_start_pos
 Loop start Position, if the object has one, relative to the object's start.
 
Position loop_end_pos
 End position of the clip loop, relative to the object's start.
 
Position fade_in_pos
 Fade in position, relative to the object's start.
 
Position fade_out_pos
 Fade out position, relative to the object's start.
 
CurveOptions fade_in_opts
 Fade in curve options.
 
CurveOptions fade_out_opts
 Fade out curve options.
 
GdkRectangle full_rect
 The full rectangle this object covers including off-screen parts, in absolute coordinates.
 
int textw
 The rectangle this object was last drawn in (ie, after any necessary clipping), in absolute coordinates.
 
int texth
 
ArrangerObjecttransient
 A copy ArrangerObject corresponding to this, such as when ctrl+dragging.
 
ArrangerObjectmain
 The opposite of the above.
 
bool muted
 Whether muted or not (if applicable).
 
int magic
 
RegionIdentifier region_id
 Parent region identifier for objects that are part of a region.
 
int index_in_prev_lane
 Object's index in the previous lane (before being moved to a new lane/track).
 
bool deleted_temporarily
 Whether deleted with delete tool.
 
bool use_cache
 Set to true to blit the cached surface, false to redraw.
 
cairo_t * cached_cr [2]
 Cached cairo_t.
 
cairo_surface_t * cached_surface [2]
 Cached surface containing drawing.
 
GdkRectangle last_name_rect
 Last drawn name rectangle, if object has a name.
 
bool is_auditioner
 Whether part of an auditioner track.
 

Additional Inherited Members

- Public Member Functions inherited from ArrangerObject
void arranger_object_move (ArrangerObject *self, const double ticks)
 Moves the object by the given amount of ticks.
 
bool arranger_object_validate (const ArrangerObject *const self)
 Validates the arranger object.
 
void arranger_object_set_name (ArrangerObject *self, const char *name, int fire_events)
 Sets the name of the object, if the object can have a name.
 

Detailed Description

A ChordObject to be shown in the TimelineArrangerWidget.

Definition at line 45 of file chord_object.h.

Field Documentation

◆ base

ArrangerObject ChordObject::base

Base struct.

Definition at line 48 of file chord_object.h.

◆ chord_index

int ChordObject::chord_index

The index of the chord it belongs to (0 topmost).

Definition at line 54 of file chord_object.h.

◆ index

int ChordObject::index

The index inside the region.

Definition at line 51 of file chord_object.h.

◆ layout

PangoLayout* ChordObject::layout

Cache layout for drawing the name.

Definition at line 59 of file chord_object.h.

◆ magic

int ChordObject::magic

Definition at line 56 of file chord_object.h.


The documentation for this struct was generated from the following file: