gnome-games r8564 - trunk/lightsoff
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8564 - trunk/lightsoff
- Date: Wed, 14 Jan 2009 20:48:32 +0000 (UTC)
Author: racarr
Date: Wed Jan 14 20:48:31 2009
New Revision: 8564
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8564&view=rev
Log:
Update lightsoff to track Seed API changes.
Modified:
trunk/lightsoff/arrow.js.in
trunk/lightsoff/light.js.in
trunk/lightsoff/score.js.in
Modified: trunk/lightsoff/arrow.js.in
==============================================================================
--- trunk/lightsoff/arrow.js.in (original)
+++ trunk/lightsoff/arrow.js.in Wed Jan 14 20:48:31 2009
@@ -25,7 +25,7 @@
var bkg = new Clutter.Texture.from_file("@prefix@"+"/share/pixmaps/lightsoff/arrow-" +
(dir ? "r" : "l") + ".svg");
- bkg.filter_quality = Clutter.TextureQuality.High;
+ bkg.filter_quality = Clutter.TextureQuality.HIGH;
this.add_actor(bkg);
bkg.show();
}
Modified: trunk/lightsoff/light.js.in
==============================================================================
--- trunk/lightsoff/light.js.in (original)
+++ trunk/lightsoff/light.js.in Wed Jan 14 20:48:31 2009
@@ -10,7 +10,7 @@
var on_svg = GtkClutter.texture_new_from_pixbuf(on_pixbuf);
var off_svg = GtkClutter.texture_new_from_pixbuf(off_pixbuf);
-on_svg.filter_quality = off_svg.filter_quality = Clutter.TextureQuality.High;
+on_svg.filter_quality = off_svg.filter_quality = Clutter.TextureQuality.HIGH;
Light = new GType({
parent: Clutter.Group.type,
Modified: trunk/lightsoff/score.js.in
==============================================================================
--- trunk/lightsoff/score.js.in (original)
+++ trunk/lightsoff/score.js.in Wed Jan 14 20:48:31 2009
@@ -1,7 +1,7 @@
var bkg_top = new Clutter.Texture.from_file('@prefix@'+"/share/pixmaps/lightsoff/lcd-front.svg");
var bkg = new Clutter.Texture.from_file('@prefix@'+"/share/pixmaps/lightsoff/lcd-back.svg");
-bkg_top.filter_quality = bkg.filter_quality = Clutter.TextureQuality.High;
+bkg_top.filter_quality = bkg.filter_quality = Clutter.TextureQuality.HIGH;
var num_margin = 7;
@@ -21,7 +21,7 @@
var num_textures = new Array();
var off_svg = new Clutter.Texture.from_file('@prefix@'+"/share/pixmaps/lightsoff/lcd-off.svg");
- off_svg.filter_quality = Clutter.TextureQuality.High;
+ off_svg.filter_quality = Clutter.TextureQuality.HIGH;
// Public
this.get_value = function ()
@@ -92,7 +92,7 @@
for(var i = 0; i <= 9; i++)
{
num_textures[i] = new Clutter.Texture.from_file('@prefix@'+"/share/pixmaps/lightsoff/"+i+".svg");
- num_textures[i].filter_quality = Clutter.TextureQuality.High;
+ num_textures[i].filter_quality = Clutter.TextureQuality.HIGH;
}
bkg_top.set_position(1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]