[cluttermm] * clutter/src/actor.[hg|ccg]: animate_with_timeline(), animate_with_alpha():
- From: Murray Cumming <murrayc src gnome org>
- To: svn-commits-list gnome org
- Subject: [cluttermm] * clutter/src/actor.[hg|ccg]: animate_with_timeline(), animate_with_alpha():
- Date: Fri, 15 May 2009 12:07:19 -0400 (EDT)
commit 282fe593e50414f55c950e7e6337eeda2a5be5be
Author: Murray Cumming <murrayc murrayc com>
Date: Fri May 15 18:07:11 2009 +0200
* clutter/src/actor.[hg|ccg]: animate_with_timeline(), animate_with_alpha():
Rename to animate().
* tests/Makefile.am: Fix a typo to fix distcheck
---
ChangeLog | 8 ++++++++
NEWS | 6 ++++++
clutter/src/actor.ccg | 4 ++--
clutter/src/actor.hg | 6 ++++--
tests/Makefile.am | 2 +-
5 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index dc3e924..27b0e16 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+0.9.3:
+
+2009-05-15 Murray Cumming <murrayc murrayc com>
+
+ * clutter/src/actor.[hg|ccg]: animate_with_timeline(), animate_with_alpha():
+ Rename to animate().
+ * tests/Makefile.am: Fix a typo to fix distcheck.
+
2009-05-15 Siavash Safi <siavash siavashs org>
* .gitignore:
diff --git a/NEWS b/NEWS
index d3beea9..4e0a04e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,9 @@
+0.9.3:
+
+Updated for lastest clutter-0.9 API, including the addition of the Animation
+and Interval classes.
+(Siavash Safi)
+
0.9.0:
* Now wraps clutter-0.9, though we do not wrap much new API yet.
diff --git a/clutter/src/actor.ccg b/clutter/src/actor.ccg
index cfdf572..73a2652 100644
--- a/clutter/src/actor.ccg
+++ b/clutter/src/actor.ccg
@@ -125,7 +125,7 @@ Actor::animate(gulong mode, unsigned int duration, const std::map<std::string, G
}
Glib::RefPtr<Animation>
-Actor::animate_with_timeline(gulong mode, const Glib::RefPtr<Timeline>& timeline, const std::map<std::string, Glib::ValueBase>& properties)
+Actor::animate(gulong mode, const Glib::RefPtr<Timeline>& timeline, const std::map<std::string, Glib::ValueBase>& properties)
{
gchar* c_properties[properties.size()];
GValue values[properties.size()];
@@ -140,7 +140,7 @@ Actor::animate_with_timeline(gulong mode, const Glib::RefPtr<Timeline>& timeline
}
Glib::RefPtr<Animation>
-Actor::animate_with_alpha(const Glib::RefPtr<Alpha>& alpha, const std::map<std::string, Glib::ValueBase>& properties)
+Actor::animate(const Glib::RefPtr<Alpha>& alpha, const std::map<std::string, Glib::ValueBase>& properties)
{
gchar* c_properties[properties.size()];
GValue values[properties.size()];
diff --git a/clutter/src/actor.hg b/clutter/src/actor.hg
index 5ad176d..5a94793 100644
--- a/clutter/src/actor.hg
+++ b/clutter/src/actor.hg
@@ -250,9 +250,11 @@ public:
// Hand coded to use std::map instead of the 3 arguments used by C API
_IGNORE(clutter_actor_animatev, clutter_actor_animate_with_timelinev, clutter_actor_animate_with_alphav)
+ //TODO: Documentation.
Glib::RefPtr<Animation> animate(gulong mode, unsigned int duration, const std::map<std::string, Glib::ValueBase>& properties);
- Glib::RefPtr<Animation> animate_with_timeline(gulong mode, const Glib::RefPtr<Timeline>& timeline, const std::map<std::string, Glib::ValueBase>& properties);
- Glib::RefPtr<Animation> animate_with_alpha(const Glib::RefPtr<Alpha>& alpha, const std::map<std::string, Glib::ValueBase>& properties);
+ Glib::RefPtr<Animation> animate(gulong mode, const Glib::RefPtr<Timeline>& timeline, const std::map<std::string, Glib::ValueBase>& properties);
+ Glib::RefPtr<Animation> animate(const Glib::RefPtr<Alpha>& alpha, const std::map<std::string, Glib::ValueBase>& properties);
+
_WRAP_METHOD(Glib::RefPtr<Animation> get_animation(), clutter_actor_get_animation)
_WRAP_METHOD(Glib::RefPtr<const Animation> get_animation() const, clutter_actor_get_animation, constversion)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1ce2f97..2036f29 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -7,5 +7,5 @@ include $(top_srcdir)/examples/Makefile.am_fragment
noinst_PROGRAMS = test-alpha-creation test-alpha-func test-interval-creation
test_alpha_creation_SOURCES = test-alpha-creation.cc
test_alpha_func_SOURCES = test-alpha-func.cc
-test_interval_creation = test-interval-creation.cc
+test_interval_creation_SOURCES = test-interval-creation.cc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]