[ease] Don't use fog on stages.
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] Don't use fog on stages.
- Date: Fri, 21 May 2010 10:45:59 +0000 (UTC)
commit bc82047edb1f28d4e5f616f481ad1cb5140b747c
Author: Nate Stedman <natesm gmail com>
Date: Fri May 21 06:45:38 2010 -0400
Don't use fog on stages.
Fog causes some letters in Clutter.Text to fade out before others. This looks really bad.
src/EditorEmbed.vala | 3 +++
src/Player.vala | 1 +
src/SlideButton.vala | 1 +
3 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/EditorEmbed.vala b/src/EditorEmbed.vala
index 30c9843..3a5f469 100644
--- a/src/EditorEmbed.vala
+++ b/src/EditorEmbed.vala
@@ -79,6 +79,9 @@ public class Ease.EditorEmbed : ScrollableEmbed
{
base(true);
win = w;
+
+ // don't fade actors out when zoomed out
+ get_stage().use_fog = false;
// set up the background
view_background = new Clutter.Rectangle();
diff --git a/src/Player.vala b/src/Player.vala
index bec0e7d..8a5741f 100644
--- a/src/Player.vala
+++ b/src/Player.vala
@@ -49,6 +49,7 @@ public class Ease.Player : GLib.Object
stage.width = document.width;
stage.height = document.height;
stage.title = "Ease Presentation";
+ stage.use_fog = false;
stage.set_fullscreen(PRESENTATION_FULLSCREEN);
stage.hide_cursor();
diff --git a/src/SlideButton.vala b/src/SlideButton.vala
index d9a931d..6caf48a 100644
--- a/src/SlideButton.vala
+++ b/src/SlideButton.vala
@@ -68,6 +68,7 @@ public class Ease.SlideButton : Gtk.Button
// make the embed
slide_image = new GtkClutter.Embed();
((Clutter.Stage)(slide_image.get_stage())).color = {0, 0, 0, 255};
+ ((Clutter.Stage)(slide_image.get_stage())).use_fog = false;
// make the slide actor
actor = new SlideActor.from_slide(s.parent, s, true, ActorContext.SIDEBAR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]