gjs r41 - trunk/examples
- From: lucasr svn gnome org
- To: svn-commits-list gnome org
- Subject: gjs r41 - trunk/examples
- Date: Thu, 23 Oct 2008 15:54:54 +0000 (UTC)
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]