add accessor macro
authorBrandon Lewis <brandon@collabora.co.uk>
Fri, 9 Jul 2010 10:09:08 +0000 (12:09 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Wed, 1 Sep 2010 14:56:02 +0000 (16:56 +0200)
docs/libs/ges-sections.txt
ges/ges-timeline-object.h

index 378d32f1367c69ee2406ac8d2dc0edd30b4d0e96..eb75df147e2a1307e2d3d2f73e88dfdeefe73e9a 100644 (file)
@@ -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
index c00b1839b74f6e2c7a784925abae5056eeeeb577..79a99ee5e64954f8a6dc95d2413767dc0ae21200 100644 (file)
@@ -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.