[gcompris] braille loto: better color



commit 28a097c5f769806f2703b800150d50101982fe72
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sat Sep 3 20:41:18 2011 +0200

    braille loto: better color

 src/braille_lotto-activity/braille_lotto.py     |   10 ++++++----
 src/braille_lotto-activity/braille_lotto.xml.in |    2 +-
 2 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/src/braille_lotto-activity/braille_lotto.py b/src/braille_lotto-activity/braille_lotto.py
index cad48b1..013f225 100644
--- a/src/braille_lotto-activity/braille_lotto.py
+++ b/src/braille_lotto-activity/braille_lotto.py
@@ -371,8 +371,10 @@ class Gcompris_braille_lotto:
       y = y + 5,
       width = 350,
       height = 230,
-      stroke_color = "dark green",
-      fill_color = "light green" ,
+      stroke_color_rgba = 0x223344FFL,
+      fill_color_rgba = 0x00000000L,
+      radius_x = 5.0,
+      radius_y = 5.0,
       line_width=7)
 
       for i in range(4):
@@ -383,8 +385,8 @@ class Gcompris_braille_lotto:
                              y = y + 7 + 77 * j,
                              width = 82,
                              height = 73,
-                             stroke_color = "dark green",
-                             fill_color = "light green" ,
+                             stroke_color_rgba = 0x223344FFL,
+                             fill_color_rgba = 0x66666666L,
                              line_width=2)
               self.rect.append(box)
               self.rect_x.append(x + 7 + 88 * i)
diff --git a/src/braille_lotto-activity/braille_lotto.xml.in b/src/braille_lotto-activity/braille_lotto.xml.in
index 1d2f6a9..ecbfe05 100644
--- a/src/braille_lotto-activity/braille_lotto.xml.in
+++ b/src/braille_lotto-activity/braille_lotto.xml.in
@@ -12,7 +12,7 @@
         <_title>Braille Lotto</_title>
         <_description>Discover the Braille system for numbers.</_description>
         <_prerequisite></_prerequisite>
-        <_goal> </_goal>
+        <_goal></_goal>
         <_manual>Each player must find if the proposed number is in their board. If the code in the board, just click on it in order to validate it. The player who crosses all the Braille numbers correctly wins the game. Check the Braille table by clicking on the toggle button in the control bar.</_manual>
         <_credit></_credit>
   </Board>



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