seed r497 - in trunk/examples: clutter-shader lightsoff
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r497 - in trunk/examples: clutter-shader lightsoff
- Date: Sat, 20 Dec 2008 02:56:59 +0000 (UTC)
Author: racarr
Date: Sat Dec 20 02:56:59 2008
New Revision: 497
URL: http://svn.gnome.org/viewvc/seed?rev=497&view=rev
Log:
Fix the rest of the examples to enum change.
Modified:
trunk/examples/clutter-shader/ShaderView.js
trunk/examples/lightsoff/arrow.js
trunk/examples/lightsoff/light.js
trunk/examples/lightsoff/score.js
Modified: trunk/examples/clutter-shader/ShaderView.js
==============================================================================
--- trunk/examples/clutter-shader/ShaderView.js (original)
+++ trunk/examples/clutter-shader/ShaderView.js Sat Dec 20 02:56:59 2008
@@ -19,8 +19,8 @@
var compile = new Gtk.Button({label: "Compile"});
var scrolled_window = new Gtk.ScrolledWindow(
- {vscrollbar_policy: Gtk.PolicyType.automatic,
- hscrollbar_policy: Gtk.PolicyType.automatic});
+ {vscrollbar_policy: Gtk.PolicyType.Automatic,
+ hscrollbar_policy: Gtk.PolicyType.Automatic});
scrolled_window.add(source_view);
this.hbox.pack_start(scrolled_window, true, true);
Modified: trunk/examples/lightsoff/arrow.js
==============================================================================
--- trunk/examples/lightsoff/arrow.js (original)
+++ trunk/examples/lightsoff/arrow.js Sat Dec 20 02:56:59 2008
@@ -27,7 +27,7 @@
this.remove_all();
var bkg = Clutter.Texture.new_from_file("./arrow-r.svg");
- bkg.filter_quality = Clutter.TextureQuality.high;
+ bkg.filter_quality = Clutter.TextureQuality.High;
this.add_actor(bkg);
}
@@ -36,7 +36,7 @@
{
this.flipped = 0;
var bkg = Clutter.Texture.new_from_file("./arrow-l.svg");
- bkg.filter_quality = Clutter.TextureQuality.high;
+ bkg.filter_quality = Clutter.TextureQuality.High;
this.reactive = true;
this.signal.button_press_event.connect(pushed_arrow);
Modified: trunk/examples/lightsoff/light.js
==============================================================================
--- trunk/examples/lightsoff/light.js (original)
+++ trunk/examples/lightsoff/light.js Sat Dec 20 02:56:59 2008
@@ -6,8 +6,8 @@
var on_svg = GtkClutter.texture_new_from_pixbuf(on_pixbuf);
var off_svg = GtkClutter.texture_new_from_pixbuf(off_pixbuf);
-on_svg.filter_quality = Clutter.TextureQuality.high;
-off_svg.filter_quality = Clutter.TextureQuality.high;
+on_svg.filter_quality = Clutter.TextureQuality.High;
+off_svg.filter_quality = Clutter.TextureQuality.High;
LightType = {
parent: Clutter.Group.type,
Modified: trunk/examples/lightsoff/score.js
==============================================================================
--- trunk/examples/lightsoff/score.js (original)
+++ trunk/examples/lightsoff/score.js Sat Dec 20 02:56:59 2008
@@ -42,9 +42,9 @@
var bkg = Clutter.Texture.new_from_file("./lcd-back.svg");
var off_svg = Clutter.Texture.new_from_file("./lcd-off.svg");
- this.bkg_top.filter_quality = Clutter.TextureQuality.high;
- bkg.filter_quality = Clutter.TextureQuality.high;
- off_svg.filter_quality = Clutter.TextureQuality.high;
+ this.bkg_top.filter_quality = Clutter.TextureQuality.High;
+ bkg.filter_quality = Clutter.TextureQuality.High;
+ off_svg.filter_quality = Clutter.TextureQuality.High;
this.num_margin = 7;
this.num_width = bkg.height * 0.9 * 0.625;
@@ -66,7 +66,7 @@
for(var i = 0; i <= 9; i++)
{
this.num_textures[i] = Clutter.Texture.new_from_file("./"+i+".svg");
- this.num_textures[i].filter_quality = Clutter.TextureQuality.high;
+ this.num_textures[i].filter_quality = Clutter.TextureQuality.High;
}
this.bkg_top.set_position(1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]