[gcompris/gcomprisbraille] Added Buttons|Callouts|I don't have this number|Lotto Master
- From: Srishti Sethi <srishs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprisbraille] Added Buttons|Callouts|I don't have this number|Lotto Master
- Date: Tue, 12 Jul 2011 19:18:27 +0000 (UTC)
commit d40dce7a9b77d936c58d7ca28982f0e841b6ad8a
Author: Srishti Sethi <srishakatux gmail com>
Date: Wed Jul 13 00:47:58 2011 +0530
Added Buttons|Callouts|I don't have this number|Lotto Master
src/braille_lotto-activity/braille_lotto.py | 169 +++++++++++++++++---
.../resources/braille_lotto/button.jpg | Bin 1953 -> 1821 bytes
.../resources/braille_lotto/button1.svg | 121 ++++++++++++++
.../resources/braille_lotto/callout1.svg | 62 +++++++
.../resources/braille_lotto/callout2.svg | 62 +++++++
.../resources/braille_lotto/game.svg | 62 +++++++
.../resources/braille_lotto/tux.svg | 129 +++++++++++++++
7 files changed, 583 insertions(+), 22 deletions(-)
---
diff --git a/src/braille_lotto-activity/braille_lotto.py b/src/braille_lotto-activity/braille_lotto.py
index 56a864c..4a3f0af 100644
--- a/src/braille_lotto-activity/braille_lotto.py
+++ b/src/braille_lotto-activity/braille_lotto.py
@@ -80,6 +80,8 @@ class Gcompris_braille_lotto:
self.score_player_a = 0
self.score_player_b = 0
self.status_timer = 50
+ self.delay_one = 100
+ self.delay_two = 100
#REPEAT ICON
@@ -158,7 +160,7 @@ class Gcompris_braille_lotto:
#Button to display the number to be checked in the ticket
goocanvas.Image(parent = self.root,
pixbuf = gcompris.utils.load_pixmap("braille_lotto/button.jpg"),
- x = 530,
+ x = 470,
y = 35,
)
@@ -167,7 +169,7 @@ class Gcompris_braille_lotto:
parent = self.root,
text= _("Check Number"),
font = gcompris.skin.get_font("gcompris/board/medium"),
- x=630,
+ x=560,
y=55,
anchor=gtk.ANCHOR_CENTER,
)
@@ -199,6 +201,56 @@ class Gcompris_braille_lotto:
j += 10
k += 1
+ #Buttons for Clue
+ svghandle = gcompris.utils.load_svg("braille_lotto/button1.svg")
+ #LEFT Button
+ self.hint_left_button = goocanvas.Svg(
+ parent = self.root,
+ svg_handle = svghandle,
+ svg_id = "#FIG1",
+ tooltip = "Click me to get some hint"
+ )
+ self.hint_left_button.translate(470, 150)
+ self.hint_left_button.connect("button_press_event", self.clue_left)
+ gcompris.utils.item_focus_init(self.hint_left_button, None)
+
+ #RIGHT Button
+ self.hint_right_button = goocanvas.Svg(
+ parent = self.root,
+ svg_handle = svghandle,
+ svg_id = "#FIG2",
+ tooltip = "Click me to get some hint"
+ )
+ self.hint_right_button.translate(470, 150)
+ self.hint_right_button.connect("button_press_event", self.clue_right)
+ gcompris.utils.item_focus_init(self.hint_right_button, None)
+
+ #Displaying text on clue buttons
+ for index in range(2):
+ goocanvas.Text(
+ parent = self.root,
+ text = _("I don't have \n""this number \n\n" "PLAYER " + str(index + 1)),
+ font = gcompris.skin.get_font("gcompris/board/medium"),
+ x = index * 160 + 550,
+ y = 215,
+ anchor=gtk.ANCHOR_CENTER,
+ )
+
+ #Displaying Tux Lotto Master
+ goocanvas.Image(parent = self.root,
+ pixbuf = gcompris.utils.load_pixmap("braille_lotto/tux.svg"),
+ x = 360,
+ y = 320,
+ )
+ goocanvas.Text(
+ parent = self.root,
+ text = _("Lotto Master"),
+ font = gcompris.skin.get_font("gcompris/board/medium"),
+ x = 400,
+ y = 430,
+ anchor=gtk.ANCHOR_CENTER,
+ )
+
#Adding a timer
self.displayTimer()
@@ -225,6 +277,80 @@ class Gcompris_braille_lotto:
self.displayTicket(51, 75, 650, 432)
self.displayTicket(76, 90, 718, 377)
+ def clue_left(self, event , target, item):
+ self.callout1 = goocanvas.Image(parent = self.root,
+ pixbuf = gcompris.utils.load_pixmap("braille_lotto/callout1.svg"),
+ x = 220,
+ y = 340,
+ )
+ self.status_one = goocanvas.Text(
+ parent = self.root,
+ text= "",
+ x=310,
+ y=410,
+ font = "SANS 10 BOLD",
+ anchor=gtk.ANCHOR_CENTER,
+ )
+
+ if (CHECK_RANDOM[self.counter] in self.ticket_array[0:6]):
+ self.findColumn()
+ self.status_one.props.text = " Hey,you have \n "" it. Its there \n"" in your\n " + self.column + " column"
+ else :
+ self.status_one.props.text = " Oops, number\n"" isn't there\n" " in your ticket!"
+ self.timerAnim = gobject.timeout_add(200, self.hideCalloutLeft)
+
+ def clue_right(self, event , target, item):
+ self.callout2 = goocanvas.Image(parent = self.root,
+ pixbuf = gcompris.utils.load_pixmap("braille_lotto/callout2.svg"),
+ x = 400,
+ y = 340,
+ )
+ self.status_two = goocanvas.Text(
+ parent = self.root,
+ text= "",
+ x=500,
+ y=410,
+ font = "SANS 10 BOLD",
+ anchor=gtk.ANCHOR_CENTER,
+ )
+ if (CHECK_RANDOM[self.counter] in self.ticket_array[6:12]):
+ self.findColumn()
+ self.status_two.props.text = " Hey,you have \n "" it. Its there \n"" in your\n " + self.column + " column"
+ else :
+ self.status_two.props.text = " Oops, number\n"" isn't there\n" " in your ticket!"
+ self.timerAnim = gobject.timeout_add(100, self.hideCalloutRight)
+
+
+ def hideCalloutLeft(self):
+ self.delay_one -= 1
+ if(self.delay_one == 0):
+ self.callout1.props.visibility = goocanvas.ITEM_INVISIBLE
+ self.status_one.props.text = ""
+ self.delay_one = 100
+ if self.delay_one < 100 :
+ self.timer_inc = gobject.timeout_add(self.delay_one,
+ self.hideCalloutLeft)
+
+ def hideCalloutRight(self):
+ self.delay_two -= 1
+ if(self.delay_two == 0):
+ self.callout2.props.visibility = goocanvas.ITEM_INVISIBLE
+ self.status_two.props.text = ""
+ self.delay_two = 100
+ if self.delay_two < 100 :
+ self.timer_inc = gobject.timeout_add(self.delay_two,
+ self.hideCalloutRight)
+
+ def findColumn(self):
+ if CHECK_RANDOM[self.counter] <= 25:
+ self.column = "1st"
+ elif CHECK_RANDOM[self.counter] <= 50 and CHECK_RANDOM[self.counter] > 25 :
+ self.column = "2nd"
+ elif CHECK_RANDOM[self.counter] <= 75 and CHECK_RANDOM[self.counter] > 50 :
+ self.column = "3rd"
+ else :
+ self.column = "4th"
+
def animTimer(self):
self.countAnim -= 1
@@ -240,7 +366,7 @@ class Gcompris_braille_lotto:
def displayTimer(self):
self.timericon = gcompris.anim.CanvasItem( gcompris.anim.Animation("braille_lotto/sablier.txt"),
self.root)
- self.timericon.goocanvas.translate(580, 150)
+ self.timericon.goocanvas.translate(680, 35)
self.timerAnim = gobject.timeout_add(200, self.animTimer)
self.timericon.goocanvas.props.visibility = goocanvas.ITEM_VISIBLE
@@ -252,7 +378,7 @@ class Gcompris_braille_lotto:
self.check_number = goocanvas.Text(
parent = self.root,
text= CHECK_RANDOM[self.counter],
- x=630,
+ x=560,
y=100,
font = "SANS 20",
anchor=gtk.ANCHOR_CENTER,
@@ -320,21 +446,26 @@ class Gcompris_braille_lotto:
self.score_player_b +=1
if(self.score_player_a == 6 or self.score_player_b == 6):
- if(self.score_player_a == 6):
- text = "PLAYER 1 \n" "You WON"
- color = "blue"
- elif(self.score_player_b == 6):
- text = "PLAYER 2 \n" "You WON"
- color = "dark green"
- status = goocanvas.Text(
+ goocanvas.Image(parent = self.root,
+ pixbuf = gcompris.utils.load_pixmap("braille_lotto/game.svg"),
+ x = 230 ,
+ y = 150,
+ )
+
+ self.game_status = goocanvas.Text(
parent = self.root,
- text= text,
- x=410,
- y=370,
- font = "SANS 20",
- fill_color = color,
+ text= "",
+ x=390,
+ y=220,
+ font = "SANS 30",
+ fill_color = "blue",
anchor=gtk.ANCHOR_CENTER,
)
+ if(self.score_player_a == 6):
+ self.game_status.props.text = "PLAYER 1\n" "You WON"
+ elif(self.score_player_b == 6):
+ self.game_status.props.text = "PLAYER 2 \n" "You WON"
+
self.timer_inc = gobject.timeout_add(self.status_timer,
self.timer_loop)
def timer_loop(self):
@@ -347,12 +478,6 @@ class Gcompris_braille_lotto:
def end(self):
print "braille_lotto end"
- if self.timer_inc:
- gobject.source_remove(self.timer_inc)
- if self.timerAnim:
- gobject.source_remove(self.timerAnim)
- del self.timerAnim
- del self.timer_inc
# Remove the root item removes all the others inside it
self.root.remove()
diff --git a/src/braille_lotto-activity/resources/braille_lotto/button.jpg b/src/braille_lotto-activity/resources/braille_lotto/button.jpg
index 4b2f618..55c9ef5 100644
Binary files a/src/braille_lotto-activity/resources/braille_lotto/button.jpg and b/src/braille_lotto-activity/resources/braille_lotto/button.jpg differ
diff --git a/src/braille_lotto-activity/resources/braille_lotto/button1.svg b/src/braille_lotto-activity/resources/braille_lotto/button1.svg
new file mode 100644
index 0000000..ae60f69
--- /dev/null
+++ b/src/braille_lotto-activity/resources/braille_lotto/button1.svg
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="90mm"
+ height="50mm"
+ id="svg3195"
+ version="1.1"
+ inkscape:version="0.48.0 r9654"
+ sodipodi:docname="drawing.svg">
+ <defs
+ id="defs3">
+ <linearGradient
+ y2="211.73659"
+ x2="854.75134"
+ y1="211.73657"
+ x1="649.69342"
+ gradientTransform="matrix(0.09226556,0.62993533,-0.75623168,0.1856578,239.02994,-473.97677)"
+ gradientUnits="userSpaceOnUse"
+ id="linearGradient3135"
+ xlink:href="#linearGradient752-9-2"
+ inkscape:collect="always" />
+ <linearGradient
+ id="linearGradient752-9-2">
+ <stop
+ style="stop-color:#ffff00;stop-opacity:1;"
+ offset="0"
+ id="stop753-3-0" />
+ <stop
+ style="stop-color:#ffc700;stop-opacity:1;"
+ offset="1"
+ id="stop754-7-2" />
+ </linearGradient>
+ <linearGradient
+ y2="211.73659"
+ x2="854.75134"
+ y1="211.73657"
+ x1="649.69342"
+ gradientTransform="matrix(-0.08679091,-0.65325841,0.71136014,-0.19253169,74.508145,619.53786)"
+ gradientUnits="userSpaceOnUse"
+ id="linearGradient3578"
+ xlink:href="#linearGradient752-9"
+ inkscape:collect="always" />
+ <linearGradient
+ id="linearGradient752-9">
+ <stop
+ style="stop-color:#ffff00;stop-opacity:1;"
+ offset="0"
+ id="stop753-3" />
+ <stop
+ style="stop-color:#ffc700;stop-opacity:1;"
+ offset="1"
+ id="stop754-7" />
+ </linearGradient>
+ <linearGradient
+ y2="211.73659"
+ x2="854.75134"
+ y1="211.73657"
+ x1="649.69342"
+ gradientTransform="matrix(-0.09226556,-0.62993533,0.75623168,-0.1856578,77.636559,604.97413)"
+ gradientUnits="userSpaceOnUse"
+ id="linearGradient3193"
+ xlink:href="#linearGradient752-9"
+ inkscape:collect="always" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.2"
+ inkscape:cx="160"
+ inkscape:cy="82.083333"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1256"
+ inkscape:window-height="701"
+ inkscape:window-x="0"
+ inkscape:window-y="37"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata3199">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <path
+ style="font-size:12px;fill:url(#linearGradient3193);fill-opacity:1;fill-rule:evenodd"
+ d="m 170.69939,97.407537 c 3.84643,7.637603 10.33685,10.000253 14.25702,10.319443 l 118.21897,2.7129 c 6.28155,0.54614 9.75939,-1.80109 9.64472,-11.416523 -8.96622,-14.392977 -13.17646,-47.047936 -9.71595,-63.492488 -0.11474,-9.615527 -4.1272,-14.501285 -10.40867,-15.04734 l -112.98693,2.502105 c -6.28159,-0.545985 -9.0323,1.511018 -11.5979,10.167309 -4.11354,12.168839 -3.89954,48.472302 2.58874,64.254594 z"
+ id="FIG2"
+ sodipodi:nodetypes="cccccccsc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="font-size:12px;fill:url(#linearGradient3135);fill-opacity:1;fill-rule:evenodd"
+ d="M 145.96711,33.589839 C 142.12067,25.952244 135.63026,23.589593 131.71009,23.270402 L 13.49111,20.557511 C 7.2095754,20.01137 3.7317364,22.358604 3.846399,31.97403 c 8.966213,14.392975 13.176455,47.047941 9.715949,63.492497 0.11474,9.615523 4.127211,14.501283 10.408666,15.047333 l 112.986926,-2.5021 c 6.28159,0.54598 9.03232,-1.51101 11.5979,-10.167323 4.11353,-12.168836 3.89955,-48.472305 -2.58873,-64.254598 z"
+ id="FIG1"
+ sodipodi:nodetypes="cccccccsc"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>
diff --git a/src/braille_lotto-activity/resources/braille_lotto/callout1.svg b/src/braille_lotto-activity/resources/braille_lotto/callout1.svg
new file mode 100644
index 0000000..56bea13
--- /dev/null
+++ b/src/braille_lotto-activity/resources/braille_lotto/callout1.svg
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="85mm"
+ height="54mm"
+ id="svg3004"
+ version="1.1"
+ inkscape:version="0.48.0 r9654"
+ sodipodi:docname="callout1.svg">
+ <defs
+ id="defs3" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.2"
+ inkscape:cx="160"
+ inkscape:cy="74.166666"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1256"
+ inkscape:window-height="701"
+ inkscape:window-x="0"
+ inkscape:window-y="37"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata3008">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <path
+ style="fill:#e6e6e6;fill-opacity:0.82352941;stroke:#0e181a;stroke-width:2.04655623;stroke-miterlimit:4;stroke-opacity:1;display:inline;enable-background:new"
+ d="m 23.751057,17.681479 135.955353,0 c 2.38029,0 -9.87188,31.247525 4.29656,19.233162 l 14.995,-10.585728 -17.495,63.78035 c 0,10.655177 0.58373,29.233147 -1.79656,29.233147 l -135.955353,0 c -2.380294,0 -4.296543,-8.57797 -4.296543,-19.23315 l 0,-63.194619 c 0,-10.655148 1.916249,-19.233162 4.296543,-19.233162 z"
+ id="BUBBLE1"
+ sodipodi:nodetypes="cccccccccc"
+ inkscape:label="#BUBBLE1"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>
diff --git a/src/braille_lotto-activity/resources/braille_lotto/callout2.svg b/src/braille_lotto-activity/resources/braille_lotto/callout2.svg
new file mode 100644
index 0000000..973f117
--- /dev/null
+++ b/src/braille_lotto-activity/resources/braille_lotto/callout2.svg
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="85mm"
+ height="54mm"
+ id="svg3004"
+ version="1.1"
+ inkscape:version="0.48.0 r9654"
+ sodipodi:docname="callout1 (copy).svg">
+ <defs
+ id="defs3" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.2"
+ inkscape:cx="160"
+ inkscape:cy="74.166666"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1256"
+ inkscape:window-height="701"
+ inkscape:window-x="0"
+ inkscape:window-y="37"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata3008">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <path
+ style="fill:#e6e6e6;fill-opacity:0.82352941;stroke:#0e181a;stroke-width:2.04655623;stroke-miterlimit:4;stroke-opacity:1;display:inline;enable-background:new"
+ d="m 171.36852,119.34241 -135.955359,0 c -2.38029,0 -4.29656,-8.57801 -4.29656,-19.23316 L 31.954511,89.86164 15.283268,30.247964 C 38.616601,56.259451 33.032871,17.681481 35.413161,17.681481 l 135.955359,0 c 2.38029,0 4.29654,8.57797 4.29654,19.23315 l 0,63.194619 c 0,10.65515 -1.91625,19.23316 -4.29654,19.23316 z"
+ id="BUBBLE1"
+ sodipodi:nodetypes="cccccccccc"
+ inkscape:label="#BUBBLE1"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>
diff --git a/src/braille_lotto-activity/resources/braille_lotto/game.svg b/src/braille_lotto-activity/resources/braille_lotto/game.svg
new file mode 100644
index 0000000..7911fc5
--- /dev/null
+++ b/src/braille_lotto-activity/resources/braille_lotto/game.svg
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="85mm"
+ height="54mm"
+ id="svg3004"
+ version="1.1"
+ inkscape:version="0.48.0 r9654"
+ sodipodi:docname="game.svg">
+ <defs
+ id="defs3" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.2"
+ inkscape:cx="160"
+ inkscape:cy="50.416665"
+ inkscape:document-units="mm"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1256"
+ inkscape:window-height="701"
+ inkscape:window-x="0"
+ inkscape:window-y="37"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata3008">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <path
+ style="fill:#e6e6e6;fill-opacity:0.82352941;stroke:#0e181a;stroke-width:3.16607952;stroke-miterlimit:4;stroke-opacity:1;display:inline;enable-background:new"
+ d="m 25.411669,7.9337203 c 65.749271,0 151.241431,0 247.121311,0 4.32656,0 7.8097,11.2945577 7.8097,25.3240487 l -0.009,27.756994 0.009,55.450527 c 0,14.02953 -13.99872,19.81337 -18.32529,19.81337 -188.522921,-5.68345 6.92165,108.27468 -140.34767,17.22082 C 22.162559,148.62806 23.895439,125.88491 17.601993,116.46529 l 0,-83.207521 c 0,-14.029491 3.483098,-25.3240487 7.809676,-25.3240487 z"
+ id="BUBBLE1"
+ sodipodi:nodetypes="cccccccccc"
+ inkscape:label="#BUBBLE1"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>
diff --git a/src/braille_lotto-activity/resources/braille_lotto/tux.svg b/src/braille_lotto-activity/resources/braille_lotto/tux.svg
new file mode 100644
index 0000000..0616866
--- /dev/null
+++ b/src/braille_lotto-activity/resources/braille_lotto/tux.svg
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="100"
+ height="100"
+ id="svg2885"
+ sodipodi:version="0.32"
+ inkscape:version="0.48.0 r9654"
+ version="1.0"
+ sodipodi:docname="tuxpaint.svg">
+ <defs
+ id="defs2887" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="3.4577522"
+ inkscape:cx="74.195726"
+ inkscape:cy="39.967757"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ height="100px"
+ width="100px"
+ inkscape:window-width="1256"
+ inkscape:window-height="701"
+ inkscape:window-x="0"
+ inkscape:window-y="37"
+ showgrid="false"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata2890">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Calque 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <g
+ style="fill:white;fill-opacity:1;stroke:none;stroke-width:3.54768729;stroke-miterlimit:4;stroke-opacity:1"
+ id="g11309"
+ transform="matrix(0.229689,0,0,0.301668,89.1006,9.489927)">
+ <path
+ style="fill-rule:evenodd;stroke:black;stroke-linecap:round;stroke-linejoin:round"
+ d="M -177.46417,83.851927 C -232.875,63.623777 -237.39284,195.65284 -221.77754,198.5778 C -195.97456,215.99646 -143.77093,213.13916 -129.70437,200.04753 C -120.46962,192.48737 -108.27164,71.777887 -177.46417,83.851927 z "
+ id="path11311"
+ sodipodi:nodetypes="cccc" />
+ </g>
+ <path
+ d="M 48.637091,7.0823121 C 31.503034,8.0149651 29.773571,60.242822 33.320646,68.25239 C 43.715726,77.287541 59.252443,74.974868 64.919348,68.184172 C 69.28368,59.61373 70.582015,5.1038565 48.637091,7.0823121 z M 49.254036,8.5321677 C 32.119978,9.4648197 30.390516,61.692678 33.937589,69.702253 C 44.332671,78.737398 59.869387,76.424725 65.536294,69.634029 C 69.900624,61.063586 71.198959,6.5537109 49.254036,8.5321677 z "
+ style="fill:#111414;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.62175322;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ id="path11315" />
+ <path
+ style="fill:white;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:7.37193298;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 49.531939,26.888424 C 46.998492,15.595959 63.235892,10.501264 56.929803,28.600121"
+ id="path2186"
+ sodipodi:nodetypes="cc" />
+ <path
+ style="fill:white;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:6.53224468;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 43.261677,28.868663 C 37.587298,13.405909 49.116513,13.051859 50.528607,27.624213"
+ id="path5435"
+ sodipodi:nodetypes="cc" />
+ <path
+ sodipodi:nodetypes="cccccccccccc"
+ id="path12075"
+ style="fill:#ff8a00;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.29740274;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 42.815896,72.519681 L 43.122938,77.956558 L 46.262152,82.634014 C 42.335681,85.634875 32.509056,83.339079 32.337657,80.088661 L 39.197588,77.945189 C 38.55927,80.517353 38.55927,71.086097 38.55927,71.086097 M 41.943347,72.948372 L 42.250388,78.385256 L 45.389602,83.062712 C 41.463132,86.063567 31.636507,83.767772 31.465108,80.517353 L 38.325038,78.373888 C 37.68672,80.946051 37.68672,71.514789 37.68672,71.514789" />
+ <path
+ sodipodi:nodetypes="cccccccccccc"
+ id="path5438"
+ style="fill:#ff8a00;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.29740274;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 55.20487,73.190662 L 54.897829,78.627546 L 51.758614,83.304995 C 55.685087,86.30585 65.51171,84.010061 65.683109,80.759642 L 58.82318,78.616178 C 59.461497,81.188333 59.461497,71.757078 59.461497,71.757078 M 56.077419,73.619361 L 55.770378,79.056237 L 52.631163,83.733687 C 56.557636,86.734548 66.384259,84.438753 66.555658,81.188333 L 59.695729,79.044869 C 60.334046,81.617032 60.334046,72.185777 60.334046,72.185777" />
+ <path
+ style="fill:white;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:0.9338572;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 49.103364,35.276869 C 36.376129,29.174661 35.338433,69.003762 38.92509,69.886128 C 44.851741,75.140801 56.842318,74.278842 60.073246,70.329499 C 62.194361,68.048836 64.996099,31.634504 49.103364,35.276869 z "
+ id="path13611"
+ sodipodi:nodetypes="cccc" />
+ <path
+ sodipodi:nodetypes="cccccccc"
+ d="M 49.203262,43.941779 C 43.123243,41.451771 40.648531,31.324863 41.817364,27.026922 C 47.898343,29.688368 50.424849,27.611437 58.113435,27.33021 C 57.864989,35.278379 54.996356,41.474178 49.203262,43.941779 z M 48.75037,44.436476 C 41.402454,40.28531 40.618272,32.234851 41.787103,27.93691 C 53.362313,26.86076 47.436157,27.27556 58.083179,28.240194 C 57.83473,36.188366 54.543465,43.630021 48.75037,44.436476 z "
+ style="fill:#ff8a00;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.16583848;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ id="path5441" />
+ <path
+ style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:3.19383216;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 54.072786,23.671056 C 56.013182,25.846826 53.676779,23.956497 53.676779,23.956497"
+ id="path2188"
+ sodipodi:nodetypes="cc" />
+ <path
+ style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:3.19383216;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 45.819411,23.751286 C 47.759808,25.927061 45.423409,24.036727 45.423409,24.036727"
+ id="path5462"
+ sodipodi:nodetypes="cc" />
+ <path
+ d="M 65.44041,29.480417 C 72.642305,40.200352 80.077225,52.823507 76.584129,56.038365 C 67.293686,52.269803 71.769394,51.468809 66.187032,46.10719 M 66.184144,28.907913 C 73.38604,39.627847 80.82096,52.251002 77.327863,55.465859 C 68.037422,51.697292 72.513129,50.896305 66.930768,45.534692"
+ style="fill:#111414;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.29740274;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ id="path13605" />
+ <path
+ style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:1.32640958;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 47.659871,37.275791 C 48.479038,38.164709 47.492695,37.392403 47.492695,37.392403"
+ id="path13607"
+ sodipodi:nodetypes="cc" />
+ <path
+ style="fill:black;fill-opacity:1;fill-rule:evenodd;stroke:black;stroke-width:1.32640958;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="M 51.040934,37.275791 C 51.860101,38.164709 50.873758,37.392403 50.873758,37.392403"
+ id="path13609"
+ sodipodi:nodetypes="cc" />
+ <path
+ d="M 35.480885,29.766664 C 28.27899,40.486597 20.844068,53.109753 24.337166,56.324609 C 33.627609,52.556049 29.151901,51.755055 34.734262,46.393443 M 34.73715,29.194162 C 27.535255,39.914096 20.100333,52.537248 23.593432,55.752105 C 32.883874,51.983544 28.408167,51.182543 33.990528,45.820938"
+ style="fill:#111414;fill-opacity:1;fill-rule:nonzero;stroke:black;stroke-width:1.29740274;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ id="path5464" />
+ </g>
+</svg>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]