Commit 8a3b6411 authored by Bruno Coudoin's avatar Bruno Coudoin

louis braille: a lot of minor adjustement, tuning.

parent bf631156
......@@ -27,6 +27,7 @@ $(xml_DATA): %.xml: %.xml.in
icondir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
icon_DATA = louis_braille.svg
SUBDIRS = resources
EXTRA_DIST = $(icon_DATA) ${xml_in_files} init_path.sh
CLEANFILES = $(xml_DATA)
......@@ -165,55 +165,61 @@ class Gcompris_louis_braille:
20, 50, LOUIS_BRAILLE_NAME[index] ,COLOR_ON, COLOR_OFF,
CIRCLE_FILL, CIRCLE_FILL,True,False ,False, None)
story = self.dataset.get(str(level),_("story"))
story = self.dataset.get(str(level), _("story"))
#Rectangle for YEAR
goocanvas.Rect(parent=self.rootitem,
x=330,
y=382,
width=180,
height=25,
stroke_color="orange",
fill_color="white",
line_width=2.0)
#Displaying the YEAR
goocanvas.Text(parent = self.rootitem,
x=420.0,
y=395.0,
# Displaying the YEAR
item = goocanvas.Text(parent = self.rootitem,
x = 420.0,
y = 400.0,
text=str(self.dataset.get(str(level) , "year")),
fill_color="black",
anchor = gtk.ANCHOR_CENTER,
alignment = pango.ALIGN_CENTER,
font = 'SANS 17'
font = gcompris.skin.get_font("gcompris/title")
)
bounds = item.get_bounds()
#Rectangle for YEAR
gapx = 10
gapy = 4
item = goocanvas.Rect(parent = self.rootitem,
x = bounds.x1 - gapx,
y = bounds.y1 - gapy,
width = (bounds.x2 - bounds.x1) + gapx * 2,
height = (bounds.y2 - bounds.y1) + gapy * 2,
stroke_color = "orange",
fill_color = "white",
line_width = 2.0)
item.lower(None)
#Rectangle for STORY
goocanvas.Rect(parent=self.rootitem,
x=50,
y=415,
width=720,
height=80,
stroke_color="orange",
fill_color="white",
line_width=2.0)
x = 40,
y = 425,
width = 720,
height = 85,
stroke_color = "orange",
fill_color = "white",
line_width = 2.0)
#Displaying the STORY
goocanvas.Text(parent = self.rootitem,
x=400.0,
y=455.0,
y=465.0,
text=str(story),
fill_color="black",
anchor = gtk.ANCHOR_CENTER,
alignment = pango.ALIGN_CENTER,
width = 700,
font = 'SANS 17'
width = 710,
font = gcompris.skin.get_font("gcompris/subtitle")
)
#Displaying the IMAGE
pixbuf = \
gcompris.utils.load_pixmap( (str(self.dataset.get(str(level),
"image"))) )
goocanvas.Image(parent = self.rootitem,
pixbuf = gcompris.utils.load_pixmap
(str(self.dataset.get(str(level),"image"))),
pixbuf = pixbuf,
x = 300,
y = 120,
)
......
......@@ -5,16 +5,16 @@
type="python:louis_braille"
section="/experimental"
icon="louis_braille.svg"
difficulty="1"
difficulty="4"
author="Srishti Sethi (srishakatux@gmail.com)"
boarddir=""
demo="1">
<title>Louis Braille</title>
<description>The Story Of Louis Braille</description>
<prerequisite></prerequisite>
<goal>Read the story of Louis Braille, his biography and discovery of braille code. Click on the previous and next buttons to move to the respective story page. At the end of story, arrange the sequence of story by draging the round boxes.Click on OK button to confirm the sequence.Each correctly arranged line will me marked with green color otherwise with red color.</goal>
<manual></manual>
<credit>Louis Braille Video :http://bit.ly/qedAtc</credit>
<_title>Louis Braille</_title>
<_description>The Story Of Louis Braille</_description>
<_prerequisite>Reading</_prerequisite>
<_goal></_goal>
<_manual>Read the story of Louis Braille, his biography and discovery of braille code. Click on the previous and next buttons to move to the respective story page. At the end of story, arrange the sequence of story by draging the events. Click on OK button to confirm the sequence. Each correctly arranged line will me marked in green and in red otherwise.</_manual>
<_credit>Louis Braille Video &lt; http://www.youtube.com/watch?v=9bdfC2j_4x4&gt; </_credit>
</Board>
<Data directory=""/>
</GCompris>
\ No newline at end of file
[1]
year = 1809
story = Born January 4th at Coupvary near Paris in France.
_story = Born January 4th at Coupvary near Paris in France.
image = louis_braille/louis.png
[2]
year = 1812
story = Louis Braille injured his left eye with a stitching awl from his fathers workshop.
_story = Louis Braille injured his left eye with a stitching awl from his fathers workshop.
image = louis_braille/workshop.jpg
[3]
year = 1812
story = At the age of three Louis became blind due to sympathetic ophthalmia.
_story = At the age of three Louis became blind due to sympathetic ophthalmia.
image = louis_braille/fireplace.jpg
[4]
year = 1819
story = At the age of 10 he was sent to Paris to study at the Royal Institute for Blind Youth.
_story = At the age of 10 he was sent to Paris to study at the Royal Institute for Blind Youth.
image = louis_braille/rnib.jpg
[5]
year = 1820
story = He began to impress his classmates and began to play piano and the organ.
_story = He began to impress his classmates and began to play piano and the organ.
image = louis_braille/piano.svg
[6]
year = 1821
story = Charles Barbier, a french soldier visited school and shared invention of night writing ,a code of 12 raised dots to share information on battlefield.
_story = Charles Barbier, a french soldier visited school and shared invention of night writing ,a code of 12 raised dots to share information on battlefield.
image = louis_braille/night_printing.jpg
[7]
year = 1824
story = Louis trimmed Barbier's 12 dots into 6 and invented Braille.
_story = Louis trimmed Barbier's 12 dots into 6 and invented Braille.
image = louis_braille/braile.jpg
[8]
year = 1828
story = He became a professor after graduating and secretly taught his method.
_story = He became a professor after graduating and secretly taught his method.
image = louis_braille/teach.jpg
[9]
year = 1837
story = He revised and extended braille to include mathematics, symbols, punctuations and music notations.
_story = He revised and extended braille to include mathematics, symbols, punctuations and music notations.
image = louis_braille/chart.png
[10]
year = 1852
story = He died of tuberculosis.He is burried in the Pantheon in Paris.A monument is erected to honor him.
_story = He died of tuberculosis.He is burried in the Pantheon in Paris.A monument is erected to honor him.
image = louis_braille/statue.jpg
[11]
year = After his Death
story = Braille got accepted as a world wide standard.Louis proved if you have motivation you can do incredible things.
_year = After his Death
_story = Braille got accepted as a world wide standard.Louis proved if you have motivation you can do incredible things.
image = louis_braille/braille_ball.jpg
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