Thibault Saunier
9d4a528b9e
ges: Fix the TimelineObject::effect-added signal emission timing
...
We were emitting it before it gets added to the track_object list,
so the list we were getting with get_top_effects was containing
a TrackObject that wasen't a TrackEffect
+ A bit of refactoring
2012-01-11 11:56:16 -03:00
Thibault Saunier
53c4eb35db
ges: Fix TimelineObject movement that contains unlocked and relocked objects
...
Record the TrackObject that initiated a TimelineObject movement so we don't
get inifite loops.
Also fix the new TrackObject calculation:
child.start = time - offset (not time + offset)
2012-01-11 11:56:16 -03:00
Thibault Saunier
4d802c1241
ges: Little fixes to timeline_object_g(s)et_supprted_formats
2012-01-11 11:56:16 -03:00
Thibault Saunier
c0d60b9d17
ges: Add guards to all API calls in GESTimelineObject
...
And reindent the .h file
2012-01-11 11:56:16 -03:00
Thibault Saunier
714a7bf886
ges: Add a method to TimelineObject to set contained TrackObject-s locked state
...
API: ges_timeline_object_objects_set_locked
2012-01-11 11:56:16 -03:00
Thibault Saunier
5d35024cd3
docs: Update documentation
2012-01-11 11:56:16 -03:00
Thibault Saunier
b85b2103ad
ges: Add a TimelineObject::track-object-removed signal
...
API: TimelineObject::track-object
2012-01-11 11:56:16 -03:00
Thibault Saunier
a9193def76
ges: Enhance some debug logging
...
Also make sure not to warn when it shouldn't
2012-01-11 11:56:16 -03:00
Mathieu Duponchelle
7bb8e6f951
ges: make the offset positive as it should have been
...
Took me two days to figure that out :/ I'm pretty sure it's the way things are supposed to be
2012-01-11 11:56:15 -03:00
Mathieu Duponchelle
55fbba27c3
ges: adds a ges_timeline_object_split method
...
Slightly improves the copy function to do so.
API: ges_timeline_object_split
2012-01-11 11:56:15 -03:00
Thibault Saunier
5f30a86214
ges: add a timeline_object copy function
2012-01-11 11:56:15 -03:00
Mathieu Duponchelle
32ce69684c
ges: add track objects to the track before the track-object-added is emitted
...
NOTE: The caller of ges_timeline_object_create_track_object now needs to add it to
the timeline_object after calling the function.
Fix the testsuite to support that accordingly
2012-01-11 11:56:14 -03:00
Mathieu Duponchelle
ad85383be1
ges: Add a track-object-added signal to GESTimelineObject
...
API: GESTimelineObject::track-object-added signal
2012-01-11 11:56:14 -03:00
Thibault Saunier
6386247cc4
ges: Move supported formats from filesource to timelineobject
...
This is usefull by any subclass of GESTimelineObject
+ Bind it in python
+ Fix the keyfile formatter tests
API: ges_timeline_object_set_supported_formats
API: ges_timeline_object_get_supported_formats
2012-01-11 11:56:14 -03:00
Thibault Saunier
6e1a482a80
ges: add a function to move TimelineObject from a layer to another
...
API: ges_timeline_object_move_to_layer
API: ges_timeline_object_is_moving_from_layer
API: ges_timeline_object_set_moving_from_layer
2012-01-11 11:56:14 -03:00
Thibault Saunier
ee5c67de2f
ges: Add some debugging symbols
2012-01-11 11:56:13 -03:00
Thibault Saunier
15c816569b
ges: Handle TimelineLayer and its contained TimelineObject priorities properly
...
GESTimelineObject.priority is now actually relative to its containing layer
priority.
Test it in the layer test-suite.
2012-01-11 11:56:13 -03:00
Mateu Batle
d1de4b2114
GESTimelineObject: fix trigger notify changing props
...
Notify signal was not triggered when changing properties through
ges_timeline_object_set_* functions, only when done through g_object_set
2012-01-05 08:56:59 -03:00
Thibault Saunier
d5734ab94f
GESTimelineObject: add track_object_added and track_object_removed virtual methods
...
Those methods are meant to be used in sublassed when needed. They are not doing
anything at this time, but will be used to clean some code in GESTimelineObject
sublcasses.
2011-05-19 21:58:50 +02:00
Edward Hervey
904aabe653
ges: Use %NULL instead of #NULL
...
Reported by Stefan Kost:
"% is for constants, # is for objects/structs/types, @ is for parameters."
2011-05-09 14:24:26 +02:00
Edward Hervey
50911c87a6
ges: Fix docs for alignment and introspection annotations
...
gtk-doc comments need to have a space before the '*' of each line else
they won't be picked up by gtk-doc.
2011-05-07 16:59:06 +02:00
Thibault Saunier
898ddfde87
ges: Add 'Since 0.10.2' to the new effects related API
2011-05-06 14:55:31 -03:00
Edward Hervey
dab7501cdc
GESTimelineObject: Check for valid arguments
...
and minor indentation fix
2011-05-06 19:40:22 +02:00
Edward Hervey
a6f3ae6dac
ges: Doc fixes
2011-05-06 19:38:26 +02:00
Thibault Saunier
a69106ce53
GESTimelineObject: set_top_effect_priority refactoring
2011-05-06 10:39:04 +02:00
Thibault Saunier
7f3e64bd82
GESTimelineObject: Change the get_effects method to get_top_effects.
2011-05-06 10:39:04 +02:00
Thibault Saunier
218cad6f16
GESTimelineEffect: keep the list of TrackObjects always sorted
...
Make sort_track_effects function static
2011-05-06 10:39:04 +02:00
Thibault Saunier
9dccf8d475
GESTimelineObject: use GESTrackEffect as base classe for effects and not GESTrackOperation.
2011-05-06 10:39:04 +02:00
Thibault Saunier
68c1ade22d
GESTimelineObject: Emit signal when adding and removing effects
...
tests: test that those signals are actually well sent
2011-05-06 10:39:03 +02:00
Thibault Saunier
34c55abd5d
docs: fixe the GESTimelineObject documentation
2011-05-06 10:39:02 +02:00
Thibault Saunier
d18c9fe8fb
GESTimelineObject: add a ges_timeline_object_set_top_effect_priority method
...
Lets the user have a minimum of control over effects priorities
2011-05-06 10:39:02 +02:00
Thibault Saunier
bad1b419c2
GESTimelineObject: Do not rely on the fact that the trackobject list is sorted
2011-05-06 10:39:02 +02:00
Thibault Saunier
8717290bb0
GESTimelineObject: Update TrackObject priorities handling
...
make use of the new TrackObject getters
2011-05-06 10:39:01 +02:00
Thibault Saunier
bbf8aba733
GESTimelineObject: make debugging symbols more usefull
2011-05-06 10:39:01 +02:00
Thibault Saunier
b2d9ba6f1e
TimelineObject: take a private update_height method out of priority_update_cb
2011-05-06 10:39:01 +02:00
Thibault Saunier
25daa3c6a0
TimelineObject: fixe new API documentation
2011-05-06 10:39:00 +02:00
Thibault Saunier
ca2d5bca2b
TimelineObject: add the ges_timeline_object_get_top_effect_position method
...
tests: adapt the effect testsuite to use this function
docs: add the method to the documentation
2011-05-06 10:39:00 +02:00
Thibault Saunier
dd298b99c7
TimelineObject: remove trailling spaces
2011-05-06 10:39:00 +02:00
Thibault Saunier
5e84bf8fe3
TimelineObject: add ges_timeline_object_get_effects API
...
tests: Test the new TimelineObject API
docs: add the corresponding fonction
2011-05-06 10:39:00 +02:00
Thibault Saunier
78a4afe2dc
TimelineObject: adapt the add_track_object so we can add effects to it.
...
We keep the list of contained TrackObject-s order by priority
2011-05-06 10:39:00 +02:00
Thibault Saunier
070be5aff3
TimelineObject: add a function to sort list of applied effects
2011-05-06 10:39:00 +02:00
Thibault Saunier
0e4528112d
TimelineObject: add a property to count the number of effects applied on it
2011-05-06 10:39:00 +02:00
Alessandro Decina
d5622071f5
ges: fix compiler warnings
2011-03-01 17:38:52 +01:00
Edward Hervey
762c447936
TimelineObject: Store GParamSpec for height and layer
2011-02-09 11:21:02 +01:00
Thibault Saunier
dc6290a5e2
docs: Document all the undocumented public functions
2011-01-10 15:14:45 +01:00
Edward Hervey
1450d539d4
GESTimelineObject: Subclass from GInitiallyUnowned
...
The floating reference will be owned by the Layer
2010-12-20 12:03:48 +01:00
Edward Hervey
c90f399bfb
TimelineObject: Hold a reference to the controlled TrackObject
2010-12-20 12:03:48 +01:00
Edward Hervey
05df4ec7b6
GES*Object: only use g_object_notify_by_pspec if available
2010-12-17 11:27:37 +01:00
Edward Hervey
e970c86753
GESTimelineObject: Add mapping/offset support [start/priority properties]
...
Allows moving independently (or not) timelineobjects and trackobjects and
have them synchronized with the offsets taken into account.
Right now only the start and priority properties are synchronized. The duration
and in-point properties will require more thoughts.
2010-12-16 19:29:14 +01:00
Edward Hervey
411ac1cb99
GESTrackObject: re-factor property setting code
...
And make sure notifications are emitted at the right time
2010-12-16 19:23:20 +01:00