[gnome-games/gnibbles-clutter] small fix on splash screen text position.
- From: Guillaume Béland <guillaubel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games/gnibbles-clutter] small fix on splash screen text position.
- Date: Tue, 6 Oct 2009 00:29:33 +0000 (UTC)
commit 96ec097ace3a98daf681f2dbe5a5a44e8d5bfa04
Author: Guillaume Beland <guillaume beland gmail com>
Date: Mon Oct 5 20:28:10 2009 -0400
small fix on splash screen text position.
gnibbles/main.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/gnibbles/main.c b/gnibbles/main.c
index 21876b5..37d6677 100644
--- a/gnibbles/main.c
+++ b/gnibbles/main.c
@@ -981,11 +981,11 @@ render_logo (void)
pango_layout_set_text (layout, nibbles, -1);
clutter_actor_set_position (CLUTTER_ACTOR (text),
- (stage_w - width) * 0.5 + 60,
- stage_h * .80);
+ (stage_w - width) * 0.5 ,
+ stage_h * .72);
clutter_actor_set_position (CLUTTER_ACTOR (text_shadow),
- (stage_w - width) * 0.5 + 65,
- stage_h * .80 + 5);
+ (stage_w - width) * 0.5 + 5,
+ stage_h * .72 + 5);
desc = clutter_text_new ();
layout = clutter_text_get_layout (CLUTTER_TEXT (desc));
@@ -1005,11 +1005,11 @@ render_logo (void)
pango_layout_set_text (layout, description, -1);
clutter_actor_set_position (CLUTTER_ACTOR (desc),
- (stage_w - width) * 0.5 + 50,
- stage_h);
+ (stage_w - width) * 0.5,
+ stage_h* .93);
clutter_actor_set_position (CLUTTER_ACTOR (desc_shadow),
- (stage_w - width) * 0.5 + 53,
- stage_h + 3);
+ (stage_w - width) * 0.5 + 3,
+ stage_h * .93 + 3);
clutter_container_add (CLUTTER_CONTAINER (text_group),
CLUTTER_ACTOR (text_shadow),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]