[cluttermm] Added missing methods for vfuncs in LayoutManager.



commit afd4b29cecb33e94fe6456c9fd27f1e7c428b774
Author: Chris Kühl <chrisk openismus com>
Date:   Tue Feb 1 01:16:48 2011 +0100

    Added missing methods for vfuncs in LayoutManager.
    
    * clutter/src/layout-manager.hg:

 ChangeLog                     |    6 ++++++
 clutter/src/layout-manager.hg |   23 ++++++++++++++++++++---
 2 files changed, 26 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e5c6325..307d02f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-02-01  Chris Kühl  <chrisk openismus com>
 
+	Added missing methods for vfuncs in LayoutManager.
+
+	* clutter/src/layout-manager.hg:
+
+2011-02-01  Chris Kühl  <chrisk openismus com>
+
 	Fixed const issue in get_timeline from Animator.
 
 	* clutter/src/animator.hg:
diff --git a/clutter/src/layout-manager.hg b/clutter/src/layout-manager.hg
index 8e884fb..43c3c64 100644
--- a/clutter/src/layout-manager.hg
+++ b/clutter/src/layout-manager.hg
@@ -60,20 +60,37 @@ public:
 #m4 _CONVERSION(`ClutterContainer*', `const Glib::RefPtr<Container>&', `Glib::wrap($3, true)')
 #m4 _CONVERSION(`float*', `float&', `*($3)')
 #m4 _CONVERSION(`float&', `float*', `&($3)')
+  _WRAP_METHOD(void get_preferred_width(const Glib::RefPtr<Container>& container, float for_height, float& min_width_p, float& natural_width_p) const, clutter_layout_manager_get_preferred_width)
+  _WRAP_METHOD(void get_preferred_height(const Glib::RefPtr<Container>& container, float for_width, float& min_height_p, float& natural_height_p) const, clutter_layout_manager_get_preferred_height)
+
+#m4 _CONVERSION(`const ClutterActorBox*', `const ActorBox&', `ActorBox($3)')
+  _WRAP_METHOD(void allocate(const Glib::RefPtr<Container>& container, const ActorBox& box, AllocationFlags absolute_origin_changed), clutter_layout_manager_allocate)
+
+  _WRAP_METHOD(void set_container(const Glib::RefPtr<Container>& container), clutter_layout_manager_set_container)
+  _WRAP_METHOD(GType get_child_meta_type() const, clutter_layout_manager_get_child_meta_type)
+
+#m4 _CONVERSION(`ClutterActor*', `const Glib::RefPtr<Actor>&', `Glib::wrap($3, true)')
+  _WRAP_METHOD(Glib::RefPtr<LayoutMeta> create_child_meta(const Glib::RefPtr<Container>& container, const Glib::RefPtr<Actor>& actor), clutter_layout_manager_create_child_meta, refreturn)
+  _WRAP_METHOD(Glib::RefPtr<const LayoutMeta> create_child_meta(const Glib::RefPtr<Container>& container, const Glib::RefPtr<Actor>& actor) const, clutter_layout_manager_create_child_meta, refreturn, constversion)
+
+#m4 _CONVERSION(`Glib::RefPtr<Alpha>',`ClutterAlpha*',__CONVERT_REFPTR_TO_P)
+  _WRAP_METHOD(Glib::RefPtr<Alpha> begin_animation(guint duration, gulong mode), clutter_layout_manager_begin_animation, refreturn)
+  _WRAP_METHOD(Glib::RefPtr<const Alpha> begin_animation(guint duration, gulong mode) const, clutter_layout_manager_begin_animation, refreturn, constversion)
+
+  _WRAP_METHOD(double get_animation_progress(), clutter_layout_manager_get_animation_progress)
+  _WRAP_METHOD(void end_animation(), clutter_layout_manager_end_animation)
+
   _WRAP_VFUNC(void get_preferred_width(const Glib::RefPtr<Container>& container, float for_height, float& min_width_p, float& natural_width_p) const, "get_preferred_width")
 
   _WRAP_VFUNC(void get_preferred_height(const Glib::RefPtr<Container>& container, float for_width, float& min_height_p, float& natural_height_p) const, "get_preferred_height")
 
-#m4 _CONVERSION(`const ClutterActorBox*', `const ActorBox&', `ActorBox($3)')
   _WRAP_VFUNC(void allocate(const Glib::RefPtr<Container>& container, const ActorBox& box, AllocationFlags absolute_origin_changed), "allocate")
 
   _WRAP_VFUNC(void set_container(const Glib::RefPtr<Container>& container), "set_container")
   _WRAP_VFUNC(GType get_child_meta_type() const, "get_child_meta_type")
 
-#m4 _CONVERSION(`ClutterActor*', `const Glib::RefPtr<Actor>&', `Glib::wrap($3, true)')
   _WRAP_VFUNC(Glib::RefPtr<LayoutMeta> create_child_meta(const Glib::RefPtr<Container>& container, const Glib::RefPtr<Actor>& actor), "create_child_meta")
 
-#m4 _CONVERSION(`Glib::RefPtr<Alpha>',`ClutterAlpha*',__CONVERT_REFPTR_TO_P)
   _WRAP_VFUNC(Glib::RefPtr<Alpha> begin_animation(guint duration, gulong mode), "begin_animation")
 
   _WRAP_VFUNC(double get_animation_progress(), "get_animation_progress")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]