[gcompris/gcomprixogoo] Make the text black in te clock activity.



commit 42283fc60dd7007c5951d5dd509ac46b9978cf46
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Wed Dec 30 19:38:04 2009 +0100

    Make the text black in te clock activity.
    
    Removed the ability to skin it.

 boards/skins/gartoon/skin.xml      |    2 --
 src/clockgame-activity/clockgame.c |    6 +++---
 2 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/boards/skins/gartoon/skin.xml b/boards/skins/gartoon/skin.xml
index 239996a..efcf9b1 100644
--- a/boards/skins/gartoon/skin.xml
+++ b/boards/skins/gartoon/skin.xml
@@ -68,8 +68,6 @@
 
     <color id="maze/wall color"       rgba="0x1a1109ff"/>
 
-    <color id="clockgame/text"        rgba="0Xc20200FF"/>
-
   </Skin>
 </GCompris>
 
diff --git a/src/clockgame-activity/clockgame.c b/src/clockgame-activity/clockgame.c
index b1d4297..5c3e51c 100644
--- a/src/clockgame-activity/clockgame.c
+++ b/src/clockgame-activity/clockgame.c
@@ -478,7 +478,7 @@ clockgame_create_item(GooCanvasItem *parent)
 			     -1,
 			     GTK_ANCHOR_CENTER,
 			     "font", gc_skin_font_board_medium,
-			     "fill-color", "blue",
+			     "fill-color", "black",
 			     NULL);
       display_digital_time(digital_time_item, &currentTime);
     }
@@ -531,7 +531,7 @@ clockgame_create_item(GooCanvasItem *parent)
 		       -1,
 		       GTK_ANCHOR_CENTER,
 		       "font", gc_skin_font_board_small,
-		       "fill_color_rgba", gc_skin_get_color("clockgame/text"),
+		       "fill_color", "black",
 		       NULL);
 
   time_to_find_item = \
@@ -542,7 +542,7 @@ clockgame_create_item(GooCanvasItem *parent)
 			 -1,
 			 GTK_ANCHOR_CENTER,
 			 "font", gc_skin_font_board_big_bold,
-			 "fill_color_rgba", gc_skin_get_color("clockgame/text"),
+			 "fill_color", "black",
 			 NULL);
   display_digital_time(time_to_find_item, &timeToFind);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]