gjs r41 - trunk/examples



Author: lucasr
Date: Thu Oct 23 15:54:54 2008
New Revision: 41
URL: http://svn.gnome.org/viewvc/gjs?rev=41&view=rev

Log:
examples/clutter.js: set stage color (as not we support boxed constructors)


Modified:
   trunk/examples/clutter.js

Modified: trunk/examples/clutter.js
==============================================================================
--- trunk/examples/clutter.js	(original)
+++ trunk/examples/clutter.js	Thu Oct 23 15:54:54 2008
@@ -14,6 +14,11 @@
                     return true;
                 });
 
+let color = new Clutter.Color();
+Clutter.color_parse('Black', color);
+
+stage.color = color;
+
 stage.add_actor(texture);
 stage.show();
 



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