[gcompris/gcomprisbraille] Added Nemeth math braille symbolsto braillechar
- From: Srishti Sethi <srishs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprisbraille] Added Nemeth math braille symbolsto braillechar
- Date: Wed, 15 Jun 2011 16:28:28 +0000 (UTC)
commit 81d470081e45ad3c62ebd0cb8d0e407fffc6f8f0
Author: Srishti Sethi <srishakatux gmail com>
Date: Wed Jun 15 21:53:27 2011 +0530
Added Nemeth math braille symbolsto braillechar
src/braille_alphabets-activity/BrailleChar.py | 9 +++++----
.../resources/braille_alphabets/back.png | Bin 1573 -> 1573 bytes
.../resources/braille_alphabets/braille_tux.svgz | Bin 14786 -> 14786 bytes
.../resources/braille_alphabets/mosaic.svgz | Bin 4491 -> 4491 bytes
4 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/braille_alphabets-activity/BrailleChar.py b/src/braille_alphabets-activity/BrailleChar.py
index 6fa86df..a9b617a 100644
--- a/src/braille_alphabets-activity/BrailleChar.py
+++ b/src/braille_alphabets-activity/BrailleChar.py
@@ -37,7 +37,8 @@ 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], 1: [2],2 :[2,3], 3 : [2,5], 4: [2,5,6],5 : [2,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]
}
@@ -69,8 +70,8 @@ class BrailleChar:
y=y,
width=width,
height=height,
- stroke_color="blue",
- fill_color="#DfDfDf",
+ stroke_color=self.stroke,
+ fill_color=self.fill,
line_width=2.0)
@@ -78,7 +79,7 @@ class BrailleChar:
x=x + (width / 2.0),
y=y + height + 15,
text=str(letter),
- fill_color="blue",
+ fill_color=self.stroke,
alignment=pango.ALIGN_CENTER,
anchor = gtk.ANCHOR_CENTER,
font = 'Sans BOLD')
diff --git a/src/braille_alphabets-activity/resources/braille_alphabets/back.png b/src/braille_alphabets-activity/resources/braille_alphabets/back.png
old mode 100755
new mode 100644
diff --git a/src/braille_alphabets-activity/resources/braille_alphabets/braille_tux.svgz b/src/braille_alphabets-activity/resources/braille_alphabets/braille_tux.svgz
old mode 100755
new mode 100644
diff --git a/src/braille_alphabets-activity/resources/braille_alphabets/mosaic.svgz b/src/braille_alphabets-activity/resources/braille_alphabets/mosaic.svgz
old mode 100755
new mode 100644
diff --git a/src/braille_alphabets-activity/resources/braille_alphabets/target.svg b/src/braille_alphabets-activity/resources/braille_alphabets/target.svg
old mode 100755
new mode 100644
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]