mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-16 04:54:12 +00:00
add accessor macro
This commit is contained in:
parent
b02cf5b34e
commit
d92d922c52
2 changed files with 9 additions and 0 deletions
|
@ -255,6 +255,7 @@ GES_TIMELINE_OBJECT_DURATION
|
|||
GES_TIMELINE_OBJECT_INPOINT
|
||||
GES_TIMELINE_OBJECT_PRIORITY
|
||||
GES_TIMELINE_OBJECT_START
|
||||
GES_TIMELINE_OBJECT_HEIGHT
|
||||
ges_timeline_object_set_inpoint
|
||||
ges_timeline_object_set_start
|
||||
ges_timeline_object_set_duration
|
||||
|
|
|
@ -127,6 +127,14 @@ typedef gboolean (*CreateTrackObjectsFunc) (GESTimelineObject * object,
|
|||
*/
|
||||
#define GES_TIMELINE_OBJECT_PRIORITY(obj) (((GESTimelineObject*)obj)->priority)
|
||||
|
||||
/**
|
||||
* GES_TIMELINE_OBJECT_HEIGHT:
|
||||
* @obj: a #GESTimelineObject
|
||||
*
|
||||
* The span of priorities this object occupies.
|
||||
*/
|
||||
#define GES_TIMELINE_OBJECT_HEIGHT(obj) (((GESTimelineObject*)obj)->height)
|
||||
|
||||
/**
|
||||
* GESTimelineObject:
|
||||
* @layer: the #GESTimelineLayer where this object is being used.
|
||||
|
|
Loading…
Reference in a new issue