Commit 9ce8cbab authored by Bruno Coudoin's avatar Bruno Coudoin

braille char map: reordered the number char map to match their letter's counter part.

parent 0fa9a691
......@@ -49,13 +49,22 @@ class BrailleMap:
BrailleChar(rootitem, index*(CELL_WIDTH+40)+60,
220, 38, letter ,color_on, color_off, circle_fill,
circle_stroke,True ,False ,True , None)
BrailleChar(rootitem,60, 310, 38, "#",color_on, color_off, circle_fill,
circle_stroke,True ,False ,True , None)
for index in range(10):
BrailleChar(rootitem,(index+1) *(CELL_WIDTH + 33)+60,
310, 38, index ,color_on, color_off, circle_fill,
circle_stroke,True ,False ,True , None)
# The number line (Keep it aligned with the ASCII in the Braille sense)
for index in range(0, 9):
BrailleChar(rootitem, index *(CELL_WIDTH + 40)+60,
310, 38, index + 1,color_on, color_off, circle_fill,
circle_stroke, True ,False ,True , None)
BrailleChar(rootitem, 9 *(CELL_WIDTH + 40)+60,
310, 38, 0 ,color_on, color_off, circle_fill,
circle_stroke, True ,False ,True , None)
# The math operators +-*/
for index in range(4):
BrailleChar(rootitem,index * (CELL_WIDTH + 40) + 60,
400 , 38,SYMBOL[index],color_on, color_off, circle_fill,
400 , 38,SYMBOL[index], color_on, color_off, circle_fill,
circle_stroke,True ,False ,True , None)
BrailleChar(rootitem, 5 *(CELL_WIDTH + 40) + 60, 400, 38,
"#", color_on, color_off, circle_fill,
circle_stroke, True ,False ,True , None)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment