[gcompris] lang activity, exercise level 2 changes



commit b5b60917ff88df63f09e2cb3eaac183461b1c606
Author: Bruno Coudoin <bcoudoin gcompris net>
Date:   Tue Oct 22 17:58:46 2013 +0200

    lang activity, exercise level 2 changes
    
    At exercise level2 the question is no more displayed
    but the text is in the choices.
    
    Improved some colors.

 src/lang-activity/lang.py       |    2 +-
 src/lang-activity/langFindit.py |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/lang-activity/lang.py b/src/lang-activity/lang.py
index 065625e..336028e 100644
--- a/src/lang-activity/lang.py
+++ b/src/lang-activity/lang.py
@@ -380,7 +380,7 @@ dialogue to\nenable the sound."), None)
     self.clearLesson()
     # We will run the exercise 3 times in different modes
     self.currentExerciseModes = [ ["findit",Findit.WITH_QUESTION|Findit.WITH_TEXT|Findit.WITH_IMAGE],
-                                  ["findit", Findit.WITH_QUESTION|Findit.WITH_IMAGE],
+                                  ["findit", Findit.WITH_TEXT|Findit.WITH_IMAGE],
                                   ["findit", Findit.WITH_IMAGE],
                                   ["text", EnterText.WITH_TEXT|EnterText.WITH_IMAGE]
                                   ]
diff --git a/src/lang-activity/langFindit.py b/src/lang-activity/langFindit.py
index 7624eec..1691315 100644
--- a/src/lang-activity/langFindit.py
+++ b/src/lang-activity/langFindit.py
@@ -47,7 +47,7 @@ class SpotTarget:
                           height = self.height,
                           radius_x = 5,
                           radius_y = 5,
-                          stroke_color_rgba = 0x111111EEL,
+                          stroke_color_rgba = 0x333333FFL,
                           fill_color_rgba = fill_color_off,
                           line_width = 2.0 )
       itembg.connect("button_press_event", callback, triplet)
@@ -68,8 +68,8 @@ class SpotTarget:
           y = y,
           width = self.width - textx,
           height = self.height,
-          fill_color_rgba = 0x999999BBL,
-          stroke_color_rgba = 0x11111111L,
+          fill_color_rgba = 0x22115566L,
+          stroke_color_rgba = 0x11111100L,
           line_width = 2.0,
           radius_x = 3,
           radius_y = 3)


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