[cluttermm] OffscreenRedirect methods and enum added to Actor.



commit d7ff4210fd8e32433af6463e78cc2ae03d3087e4
Author: Ian Martin <martin_id vodafone co nz>
Date:   Thu Mar 27 18:47:42 2014 +1300

    OffscreenRedirect methods and enum added to Actor.

 clutter/src/actor.hg          |    4 ++++
 codegen/m4/convert_clutter.m4 |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/clutter/src/actor.hg b/clutter/src/actor.hg
index 1267511..37e65b2 100644
--- a/clutter/src/actor.hg
+++ b/clutter/src/actor.hg
@@ -52,6 +52,7 @@ _WRAP_ENUM(ActorFlags, ClutterActorFlags)
 _WRAP_ENUM(AllocationFlags, ClutterAllocationFlags)
 _WRAP_ENUM(ContentRepeat, ClutterContentRepeat)
 _WRAP_ENUM(ContentGravity, ClutterContentGravity)
+_WRAP_ENUM(OffscreenRedirect, ClutterOffscreenRedirect)
 _WRAP_ENUM(Orientation, ClutterOrientation)
 
 //TODO: Write a version of the large description from here: 
http://clutter-project.org/docs/clutter/stable/ClutterActor.html#ClutterActor.description
@@ -215,6 +216,9 @@ _DEPRECATE_IFDEF_END
   _WRAP_METHOD(void set_opacity(guint8 opacity), clutter_actor_set_opacity)
   _WRAP_METHOD(guint8 get_opacity() const, clutter_actor_get_opacity)
 
+  _WRAP_METHOD(void set_offscreen_redirect(OffscreenRedirect redirect) 
const,clutter_actor_set_offscreen_redirect)
+  _WRAP_METHOD(OffscreenRedirect get_offscreen_redirect(), clutter_actor_get_offscreen_redirect)
+
   _WRAP_METHOD(void set_background_color(const Color& color), clutter_actor_set_background_color)
 
   /** Retrieves the color set using set_background_color().
diff --git a/codegen/m4/convert_clutter.m4 b/codegen/m4/convert_clutter.m4
index e99fa54..fecb72b 100644
--- a/codegen/m4/convert_clutter.m4
+++ b/codegen/m4/convert_clutter.m4
@@ -173,6 +173,7 @@ _CONV_ENUM(Clutter,Gravity)
 _CONV_ENUM(Clutter,InputDeviceType)
 _CONV_ENUM(Clutter,Interpolation)
 _CONV_ENUM(Clutter,LayoutFlags)
+_CONV_ENUM(Clutter,OffscreenRedirect)
 _CONV_ENUM(Clutter,Orientation)
 _CONV_ENUM(Clutter,PackType)
 _CONV_ENUM(Clutter,PickMode)


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