Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline
authorNeil Roberts <neil@openedhand.com>
Fri, 5 Dec 2008 13:13:37 +0000 (13:13 +0000)
committerNeil Roberts <neil@openedhand.com>
Fri, 5 Dec 2008 13:13:37 +0000 (13:13 +0000)
commit1a63414966c2d128be4ff3890e676fb98afb5474
tree81fe2d2c0d82f5c26f5fb7ca760e321207eef7db
parent98035e4d8a418f1f15dfdf56b2883b081a0401b2
Bug 1252 - Merge ClutterBehaviourPath and ClutterBehaviourBspline

* clutter/clutter-path.h:
* clutter/clutter-path.c: Implementation of new ClutterPath object
to represent a path combining straight line and bezier curve
elements.

* clutter/clutter.h: Include clutter-path.h and remove
clutter-behaviour-bspline.h

* tests/interactive/test-threads.c (test_threads_main):
* tests/interactive/test-script.c:
* tests/interactive/test-behave.c (test_behave_main): Use new path
API

* clutter/clutter-effect.c: Use the new ClutterBehaviourPath API.

* clutter/clutter-bezier.h:
* clutter/clutter-bezier.c: Moved bezier curve handling code out
from clutter-behaviour-bspline.c to a separate file.

* clutter/clutter-behaviour-path.h:
* clutter/clutter-behaviour-path.c: Reimplemented to work with a
ClutterPath

* clutter/clutter-behaviour-bspline.h:
* clutter/clutter-behaviour-bspline.c: Removed

* clutter/Makefile.am: Add clutter-path and clutter-bezier, remove
clutter-behaviour-bspline.

* tests/conform/test-path.c: New automatic test for ClutterPath
consistency

* tests/conform/test-conform-main.c (main): Add test_path

* tests/conform/Makefile.am (test_conformance_SOURCES): Add
test-path.c

* clutter/clutter-sections.txt: Add ClutterPath docs

* clutter/clutter.types:
* clutter/clutter-docs.xml:
* doc/reference/clutter/clutter-animation-tutorial.xml: Remove
mention of ClutterBehaviourBspline

* clutter/clutter-marshal.list: Add VOID:UINT
24 files changed:
.gitignore
ChangeLog
clutter/Makefile.am
clutter/clutter-behaviour-bspline.c [deleted file]
clutter/clutter-behaviour-bspline.h [deleted file]
clutter/clutter-behaviour-path.c
clutter/clutter-behaviour-path.h
clutter/clutter-bezier.c [new file with mode: 0644]
clutter/clutter-bezier.h [new file with mode: 0644]
clutter/clutter-effect.c
clutter/clutter-marshal.list
clutter/clutter-path.c [new file with mode: 0644]
clutter/clutter-path.h [new file with mode: 0644]
clutter/clutter.h
doc/reference/clutter/clutter-animation-tutorial.xml
doc/reference/clutter/clutter-docs.xml
doc/reference/clutter/clutter-sections.txt
doc/reference/clutter/clutter.types
tests/conform/Makefile.am
tests/conform/test-conform-main.c
tests/conform/test-path.c [new file with mode: 0644]
tests/interactive/test-behave.c
tests/interactive/test-script.c
tests/interactive/test-threads.c