10#ifndef __AUDIO_MARKER_H__
11#define __AUDIO_MARKER_H__
25#define MARKER_WIDGET_TRIANGLE_W 10
27#define marker_is_selected(r) arranger_object_is_selected ((ArrangerObject *) r)
29#define marker_is_deletable(m) \
30 ((m)->type != MarkerType::MARKER_TYPE_START \
31 && (m)->type != MarkerType::MARKER_TYPE_END)
87marker_set_index (
Marker * self,
int index);
96marker_find_by_name (
const char * name);
Macros for arranger object backends.
void marker_set_track_name_hash(Marker *marker, unsigned int track_name_hash)
Sets the Track of the Marker.
Marker * marker_new(const char *name)
Creates a Marker.
int marker_is_equal(Marker *a, Marker *b)
Returns if the two Marker's are equal.
@ MARKER_TYPE_CUSTOM
Custom Marker.
@ MARKER_TYPE_START
Song start Marker that cannot be deleted.
@ MARKER_TYPE_END
Song end Marker that cannot be deleted.
Base struct for arranger objects.
Marker for the MarkerTrack.
ArrangerObject base
Base struct.
unsigned int track_name_hash
Position of the marker track this marker is in.
MarkerType type
Marker type.
PangoLayout * layout
Cache layout for drawing the name.
char * name
Name of Marker to be displayed in the UI.
char * escaped_name
Escaped name for drawing.
int index
Index in the track.