[quadrapassel] give stage lighter color
- From: Mario Wenzel <mariowenzel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [quadrapassel] give stage lighter color
- Date: Sun, 15 Sep 2013 15:00:17 +0000 (UTC)
commit 78fb54dd2725836fa0ac442596a2602b4f291b9a
Author: Mario Wenzel <maweki gmail com>
Date: Sun Sep 15 17:00:00 2013 +0200
give stage lighter color
Giving the stage a lighter color to make the borders of the playing field
visible.
src/game-view.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index e4f363e..c5d0c83 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -117,10 +117,12 @@ public class GameView : GtkClutter.Embed
size_allocate.connect (size_allocate_cb);
var stage = (Clutter.Stage) get_stage ();
- Clutter.Color stage_color = { 0x0, 0x0, 0x0, 0xff };
+ Clutter.Color stage_color = { 0x10, 0x10, 0x10, 0xff };
+ Clutter.Color field_color = { 0x0, 0x0, 0x0, 0xff };
stage.set_background_color (stage_color);
playing_field = new Clutter.Actor ();
+ playing_field.set_background_color (field_color);
stage.add_child (playing_field);
text_overlay = new TextOverlay ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]