gnomemm r1288 - in cluttermm/trunk: . examples



Author: jjongsma
Date: Sun Jan 20 04:37:33 2008
New Revision: 1288
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1288&view=rev

Log:
	* examples/test-actors.cc: update example to use new BehaviourScale
	constructor API



Modified:
   cluttermm/trunk/ChangeLog
   cluttermm/trunk/examples/test-actors.cc

Modified: cluttermm/trunk/examples/test-actors.cc
==============================================================================
--- cluttermm/trunk/examples/test-actors.cc	(original)
+++ cluttermm/trunk/examples/test-actors.cc	Sun Jan 20 04:37:33 2008
@@ -175,14 +175,14 @@
 
     Glib::RefPtr<Clutter::BehaviourScale> scaler_1 =
         Clutter::BehaviourScale::create (alpha,
-                0.5,
-                1.0,
+                0.5, 0.5,
+                1.0, 1.0,
                 Clutter::GRAVITY_CENTER);
 
     Glib::RefPtr<Clutter::BehaviourScale> scaler_2 =
         Clutter::BehaviourScale::create (alpha,
-                1.0,
-                0.5,
+                1.0, 1.0,
+                0.5, 0.5,
                 Clutter::GRAVITY_CENTER);
 
     // create a new group to hold multiple actors in a group



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