[gcompris/gcomprisbraille] BrailleChar
- From: Srishti Sethi <srishs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprisbraille] BrailleChar
- Date: Sat, 18 Jun 2011 10:58:59 +0000 (UTC)
commit a6afa58a314978ce71a01e6cd9cd907825cdf36b
Author: Srishti Sethi <srishakatux gmail com>
Date: Sat Jun 18 16:28:37 2011 +0530
BrailleChar
src/braille_alphabets-activity/BrailleChar.py | 6 +++---
.../braille_alphabets.py | 4 +++-
2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/braille_alphabets-activity/BrailleChar.py b/src/braille_alphabets-activity/BrailleChar.py
index a9b617a..8ce2df0 100644
--- a/src/braille_alphabets-activity/BrailleChar.py
+++ b/src/braille_alphabets-activity/BrailleChar.py
@@ -37,9 +37,9 @@ BRAILLE_LETTERS = {
"N": [1, 3, 4, 5], "O": [1, 3, 5], "P": [1, 2, 3, 4], "Q": [1, 2, 3, 4, 5],
"R": [1, 2, 3, 5], "S": [2, 3, 4], "T": [2, 3, 4, 5], "U": [1, 3, 6],
"V": [1, 2, 3, 6], "W": [2, 4, 5, 6], "X": [1, 3, 4, 6], "Y": [1, 3, 4, 5, 6],
- "Z": [1, 3, 5, 6], "+" : [3,4,6], "_": [3,6], "." : [4],"X" : [1,6],"/" : [4,6],
- "-" : [3,4],1: [2],2 :[2,3], 3 : [2,5], 4: [2,5,6],5 : [2,6],
- 6 : [2,3,5],7 : [2,3,5,6],8 : [2,3,6], 9 : [3,5],0 :[3,5,6]
+ "Z": [1, 3, 5, 6], "+" : [3,4,6], "_": [3,6], "*" : [1,6],"/" : [3,4],
+ "#" : [3,4,5,6],1: [1],2 :[1,2], 3 : [1,4], 4: [1,4,5],5 : [1,5],
+ 6 : [1,2,4],7 : [1,2,4,5],8 : [1,2,5], 9 : [2,4],0 :[3,5,6]
}
class BrailleChar:
diff --git a/src/braille_alphabets-activity/braille_alphabets.py b/src/braille_alphabets-activity/braille_alphabets.py
index 7e2f145..e4d8ab4 100644
--- a/src/braille_alphabets-activity/braille_alphabets.py
+++ b/src/braille_alphabets-activity/braille_alphabets.py
@@ -126,8 +126,10 @@ class Gcompris_braille_alphabets:
tile = BrailleChar(self.rootitem, i*(cell_width+30)+60,
250, 50, letter ,on ,off ,circle_fill,
circle_stroke, True ,False,True, None)
+ BrailleChar(self.rootitem,60, 350, 50, "#",on ,off, circle_fill,
+ circle_stroke, True, False,True, None)
for letter in range(0,10):
- tile = BrailleChar(self.rootitem,letter *(cell_width+30)+60,
+ tile = BrailleChar(self.rootitem,(letter+1) *(cell_width+25)+60,
350, 50, letter ,on ,off ,circle_fill,
circle_stroke, True ,False ,True, None)
#Move back item
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]