diff options
author | Marcos <dadinirt.socram@gmail.com> | 2013-01-23 16:02:16 (GMT) |
---|---|---|
committer | Marcos <dadinirt.socram@gmail.com> | 2013-01-23 16:02:16 (GMT) |
commit | 2ec39c4e51f96ec063b68b3652719007b1deefa1 (patch) | |
tree | 74b486fadf7db634d2b3b7ea974ebab16f72d96f | |
parent | 00610e5335e62f4b82ce0d3fb48572369bdc5188 (diff) |
22 files changed, 1485 insertions, 0 deletions
diff --git a/find-the-key.activity/COPYING b/find-the-key.activity/COPYING new file mode 100755 index 0000000..623b625 --- /dev/null +++ b/find-the-key.activity/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/find-the-key.activity/README.txt b/find-the-key.activity/README.txt new file mode 100644 index 0000000..0d6dfa1 --- /dev/null +++ b/find-the-key.activity/README.txt @@ -0,0 +1,9 @@ +
+ #####Find the key!######
+ #########################
+
+Es una actividad que "simula" la navegación en un cuarto con objetos fijos.
+Los movimientos posibles son Adelante, Atrás, Derecha e Izquierda.
+El usuario deberá localizar la salida dentro del cuarto, así también la llave que permita abrir la puerta.
+La descripción de los objetos circundantes se hará de manera hablada (estáticos o mediante síntesis).
+Las opciones se accederán mediante teclado.
\ No newline at end of file diff --git a/find-the-key.activity/TODO.txt b/find-the-key.activity/TODO.txt new file mode 100644 index 0000000..c9d955b --- /dev/null +++ b/find-the-key.activity/TODO.txt @@ -0,0 +1,4 @@ +1- SÃntesis de voz +2- Inserción de imágenes +3- Refrescar imágenes +4- Amigabilidad del juego
\ No newline at end of file diff --git a/find-the-key.activity/activity.py b/find-the-key.activity/activity.py new file mode 100644 index 0000000..98200f2 --- /dev/null +++ b/find-the-key.activity/activity.py @@ -0,0 +1,146 @@ +# Copyright 2013 Santiago Lezcano, Marcos Trinidad +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +"""FTKActivity: A case study for developing an activity.""" + +import gtk +import logging +import gobject +import pygtk + +from sugar.activity import activity +from sugar.graphics.toolbarbox import ToolbarBox +from sugar.activity.widgets import ActivityButton +from sugar.activity.widgets import ActivityToolbox +from sugar.activity.widgets import TitleEntry +from sugar.activity.widgets import StopButton +from sugar.activity.widgets import ShareButton + +def imagen_caja(parent, archivodeimagen): + + #Creamos una caja horizontal + caja1 = gtk.HBox(True) + + + #Creamos un objeto imagen + imagen = gtk.Image() + imagen.set_from_file(archivodeimagen) + + #Agregamos la imagen y la etiqueta a la caja + caja1.pack_start(imagen, False, False, 0) + + imagen.show() + + return caja1 + +class FTKActivity(activity.Activity): + """FTKActivity class as specified in activity.info""" + + def __init__(self, handle): + """Set up the Find the Key activity.""" + activity.Activity.__init__(self, handle) + + # we do not have collaboration features + # make the share option insensitive + self.max_participants = 1 + + # toolbar with the new toolbar redesign + toolbar_box = ToolbarBox() + + activity_button = ActivityButton(self) + toolbar_box.toolbar.insert(activity_button, 0) + activity_button.show() + + title_entry = TitleEntry(self) + toolbar_box.toolbar.insert(title_entry, -1) + title_entry.show() + + + separator = gtk.SeparatorToolItem() + separator.props.draw = False + separator.set_expand(True) + toolbar_box.toolbar.insert(separator, -1) + separator.show() + + stop_button = StopButton(self) + toolbar_box.toolbar.insert(stop_button, -1) + stop_button.show() + + self.set_toolbar_box(toolbar_box) + toolbar_box.show() + + ####SUGAR AZUCA! + + #Creacion de un contenedor madre que contiene a dos contenedores + #hijos derecha e izq + vboxMother = gtk.HBox() + vboxRight = gtk.HBox() + + + #### + ###Elementos del contenedor derecho(RIGHT) + + #creacion de imagenes en la tabla + #Posicion de las imagenes dentro de la tabla, + #la posicion 0, 1, 0, 1, ubica en la esquina superior izquierda + #los dos ultimos numeros indican la fila los dos primeros la columna + #para ir agregando objetos aumentar un digito + + self.table = gtk.Table(5, 5, True) + i=0 + j=0 + + for i in range(5): + for j in range (10): + boton = gtk.Button() + caja1 = imagen_caja(vboxMother, "img/hola.jpg") + boton.add(caja1) + self.table.attach(boton, i, i+1, j, (j+1)) + + ### + #### + + #### + #Add de widgets + + vboxMother.add(vboxRight) + + + #Add de widgets vbox right + vboxRight.add(self.table) + #### + + ###Codigo no utilizado por el momento 23/01/13 10.28 + + + button_right = gtk.Button() + vboxMother.add(button_right) + + #label with the text, make the string translatable + def __on_key_press_event(widget, event): + keyname = gtk.gdk.keyval_name(event.keyval) + button_right.set_label("Key %s (%d) was pressed" % (keyname, event.keyval)) + boton = gtk.Button() + caja1 = imagen_caja(vboxMother, "img/holaa.jpg") + boton.add(caja1) + self.table.attach(boton, 0, 1, 0, 1) + + + ### + + vboxMother.connect('key_press_event', __on_key_press_event) + self.set_canvas(vboxMother) + vboxMother.show_all() diff --git a/find-the-key.activity/activity.pyc b/find-the-key.activity/activity.pyc Binary files differnew file mode 100644 index 0000000..dd38299 --- /dev/null +++ b/find-the-key.activity/activity.pyc diff --git a/find-the-key.activity/activity/activity.info b/find-the-key.activity/activity/activity.info new file mode 100755 index 0000000..2e8bed5 --- /dev/null +++ b/find-the-key.activity/activity/activity.info @@ -0,0 +1,7 @@ +[Activity] +name = Find the key +activity_version = 0.1 +bundle_id = org.pol.una.py +exec = sugar-activity activity.FTKActivity +icon = key +license = GPLv2+ diff --git a/find-the-key.activity/activity/activity.info~ b/find-the-key.activity/activity/activity.info~ new file mode 100755 index 0000000..711faf3 --- /dev/null +++ b/find-the-key.activity/activity/activity.info~ @@ -0,0 +1,7 @@ +[Activity] +name = Find the key +activity_version = 0.1 +bundle_id = org.pol.una.py +exec = sugar-activity activity.FTKActivity +icon = activity-helloworld +license = GPLv2+ diff --git a/find-the-key.activity/activity/holas.jpg b/find-the-key.activity/activity/holas.jpg Binary files differnew file mode 100644 index 0000000..d16966a --- /dev/null +++ b/find-the-key.activity/activity/holas.jpg diff --git a/find-the-key.activity/activity/key.svg b/find-the-key.activity/activity/key.svg new file mode 100644 index 0000000..f5155e7 --- /dev/null +++ b/find-the-key.activity/activity/key.svg @@ -0,0 +1,750 @@ +<?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://web.resource.org/cc/" + 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="388" + height="391.29431" + id="svg4217" + sodipodi:version="0.32" + inkscape:version="0.45" + sodipodi:docname="key.svg" + sodipodi:docbase="/home/barret/Desktop/My Documents/Art/icons" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + version="1.0" + inkscape:export-filename="/home/barret/Desktop/My Documents/Art/icons/key.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" + sodipodi:modified="true"> + <defs + id="defs4219"> + <linearGradient + id="linearGradient3634"> + <stop + id="stop3636" + offset="0" + style="stop-color:#ffe800;stop-opacity:0.39215687;" /> + <stop + id="stop3638" + offset="1" + style="stop-color:#dfb300;stop-opacity:0.39215687;" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + id="linearGradient5304"> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="0" + id="stop5306" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="1" + id="stop5308" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + id="linearGradient4685"> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="0" + id="stop4687" /> + <stop + style="stop-color:#ffffff;stop-opacity:0;" + offset="1" + id="stop4689" /> + </linearGradient> + <linearGradient + id="linearGradient4552"> + <stop + style="stop-color:#b08e00;stop-opacity:1;" + offset="0" + id="stop4558" /> + <stop + id="stop4556" + offset="1" + style="stop-color:#dfb300;stop-opacity:1;" /> + </linearGradient> + <linearGradient + id="linearGradient4032"> + <stop + id="stop4034" + offset="0" + style="stop-color:#dfb300;stop-opacity:1;" /> + <stop + style="stop-color:#dfb300;stop-opacity:1;" + offset="0.5" + id="stop3374" /> + <stop + id="stop3376" + offset="1" + style="stop-color:#dfb300;stop-opacity:1;" /> + </linearGradient> + <linearGradient + id="linearGradient4022"> + <stop + style="stop-color:#dfb300;stop-opacity:1;" + offset="0" + id="stop4024" /> + <stop + style="stop-color:#dfb300;stop-opacity:0;" + offset="1" + id="stop4026" /> + </linearGradient> + <linearGradient + id="linearGradient3795"> + <stop + style="stop-color:#ffe800;stop-opacity:1;" + offset="0" + id="stop3797" /> + <stop + style="stop-color:#dfb300;stop-opacity:1;" + offset="1" + id="stop3799" /> + </linearGradient> + <linearGradient + id="linearGradient3724"> + <stop + id="stop3726" + offset="0" + style="stop-color:#ffffff;stop-opacity:1;" /> + <stop + id="stop3728" + offset="1" + style="stop-color:#d9d9d9;stop-opacity:1;" /> + </linearGradient> + <linearGradient + id="linearGradient3698"> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="0" + id="stop3700" /> + <stop + style="stop-color:#ffe800;stop-opacity:0;" + offset="1" + id="stop3702" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3698" + id="linearGradient3876" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,-1,0,1052.3622)" + x1="363.65491" + y1="670.23621" + x2="363.65491" + y2="582.3291" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient3880" + x1="362.85715" + y1="700.93359" + x2="362.85715" + y2="452.21143" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient3941" + gradientUnits="userSpaceOnUse" + x1="362.85715" + y1="700.93359" + x2="362.85715" + y2="452.21143" + gradientTransform="translate(6,0)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient3943" + gradientUnits="userSpaceOnUse" + x1="362.85715" + y1="700.93359" + x2="362.85715" + y2="452.21143" + gradientTransform="matrix(1,0,0,-1,0,1052.3622)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient4000" + gradientUnits="userSpaceOnUse" + x1="362.85715" + y1="700.93359" + x2="362.85715" + y2="452.21143" + gradientTransform="translate(15.53126,7.2999999e-6)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient4013" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,-1,23.53126,1052.3622)" + x1="362.85715" + y1="700.93359" + x2="362.85715" + y2="452.21143" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3698" + id="linearGradient4048" + x1="360" + y1="692.36218" + x2="360" + y2="589.9176" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient4058" + gradientUnits="userSpaceOnUse" + x1="362.85715" + y1="700.93359" + x2="362.85715" + y2="452.21143" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3698" + id="linearGradient4060" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,-1,0,1052.3622)" + x1="363.65491" + y1="670.23621" + x2="363.65491" + y2="582.3291" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3698" + id="linearGradient4062" + gradientUnits="userSpaceOnUse" + x1="360" + y1="692.36218" + x2="360" + y2="589.9176" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3698" + id="linearGradient4758" + x1="-455.5788" + y1="8.8746033" + x2="-455.5788" + y2="98.00071" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient4760" + gradientUnits="userSpaceOnUse" + x1="-547.66443" + y1="182.0267" + x2="-361.34244" + y2="182.0267" + gradientTransform="matrix(1,0,0,-1,0,1052.3622)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient4789" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1,0,0,-1,14,1052.3622)" + x1="-469.71429" + y1="686.42859" + x2="-469.71429" + y2="1038.5764" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient4836" + gradientUnits="userSpaceOnUse" + x1="366.68536" + y1="264.44321" + x2="366.68536" + y2="393.41516" + gradientTransform="matrix(0,-0.7881573,0.7881573,0,-7.13887,822.01606)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient4839" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(8.9611767e-3,-1.1707638,1.1707638,-8.9611767e-3,-257.04223,949.77151)" + x1="353.04831" + y1="693.75806" + x2="353.04831" + y2="460.89813" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient4842" + gradientUnits="userSpaceOnUse" + x1="362.64478" + y1="242.21985" + x2="362.64478" + y2="736.78564" + gradientTransform="matrix(0,-0.7881573,0.7881573,0,-7.13887,821.5111)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient4977" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(14,-1.7382813e-5)" + x1="-469.71429" + y1="686.42859" + x2="-469.71429" + y2="1038.5764" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient4988" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(14,-1.7382813e-5)" + x1="-471.14285" + y1="365.21933" + x2="-471.14285" + y2="4.98491" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3698" + id="linearGradient4996" + x1="-452.85715" + y1="11.647896" + x2="-452.85715" + y2="104.83686" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5003" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0,-0.7881573,0.7881573,0,-7.13887,821.5111)" + x1="362.64478" + y1="242.21985" + x2="362.64478" + y2="736.78564" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5005" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(8.9611767e-3,-1.1707638,1.1707638,-8.9611767e-3,-257.04223,949.77151)" + x1="353.04831" + y1="693.75806" + x2="353.04831" + y2="460.89813" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient5007" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0,-0.7881573,0.7881573,0,-7.13887,822.01606)" + x1="366.68536" + y1="264.44321" + x2="366.68536" + y2="393.41516" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient5010" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.5573114,-0.5573114,0.5573114,0.5573114,-100.32562,463.05361)" + x1="366.68536" + y1="264.44321" + x2="366.68536" + y2="393.41516" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5016" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.5573114,-0.5573114,0.5573114,0.5573114,-99.968559,462.69655)" + x1="362.64478" + y1="242.21985" + x2="362.64478" + y2="736.78564" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5027" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.5573114,-0.5573114,0.5573114,0.5573114,-99.968559,462.69655)" + x1="362.64478" + y1="242.21985" + x2="362.64478" + y2="736.78564" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient5029" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.5573114,-0.5573114,0.5573114,0.5573114,-100.32562,463.05361)" + x1="366.68536" + y1="264.44321" + x2="366.68536" + y2="393.41516" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient5032" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.7881574,0,0,0.7881574,76.137105,149.01353)" + x1="366.68536" + y1="264.44321" + x2="366.68536" + y2="393.41516" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5036" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.7881574,0,0,0.7881574,76.642065,149.01353)" + x1="384.66339" + y1="738.58362" + x2="384.66339" + y2="244.351" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5043" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.7881574,0,0,0.7881574,76.642065,149.01353)" + x1="384.66339" + y1="738.58362" + x2="384.66339" + y2="244.351" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient5045" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.7881574,0,0,0.7881574,76.137105,149.01353)" + x1="366.68536" + y1="264.44321" + x2="366.68536" + y2="393.41516" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5161" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.7881574,0,0,0.7881574,76.642065,149.01353)" + x1="384.66339" + y1="738.58362" + x2="384.66339" + y2="244.351" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient5163" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.7881574,0,0,0.7881574,76.137105,149.01353)" + x1="366.68536" + y1="264.44321" + x2="366.68536" + y2="393.41516" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient5166" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.9991407,0,0,0.9991407,39.27924,8.9265001)" + x1="366.68536" + y1="264.44321" + x2="366.68536" + y2="393.41516" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5170" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.9991407,0,0,0.9991407,39.919373,8.9265001)" + x1="384.66339" + y1="738.58362" + x2="384.66339" + y2="244.351" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5304" + id="linearGradient5310" + x1="192.85715" + y1="-31.362305" + x2="192.85715" + y2="132.67882" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.9036324,0,0,0.9036324,232.67248,288.61755)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5698" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.9991407,0,0,0.9991407,157.09707,90.748856)" + x1="384.66339" + y1="738.58362" + x2="384.66339" + y2="244.351" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5737" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.9991407,0,0,0.9991407,39.919373,8.9265001)" + x1="368.17136" + y1="736.76624" + x2="368.17136" + y2="490.64871" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient5771" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.9991407,0,0,0.9991407,39.919373,8.9265001)" + x1="368.17136" + y1="736.76624" + x2="368.17136" + y2="490.64871" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5304" + id="linearGradient5773" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.9036324,0,0,0.9036324,232.67248,288.61755)" + x1="192.85715" + y1="-31.362305" + x2="192.85715" + y2="132.67882" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5304" + id="linearGradient5776" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.2682759,0,0,1.2682759,160.5585,153.84289)" + x1="192.85715" + y1="-31.362305" + x2="192.85715" + y2="132.67882" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4552" + id="linearGradient5789" + x1="569.53271" + y1="309.12817" + x2="296.64307" + y2="582.01782" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.7071068,0.7071068,-0.7071068,0.7071068,416.40044,-164.22392)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient5304" + id="linearGradient5844" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.2682759,0,0,1.2682759,160.5585,153.84289)" + x1="192.85715" + y1="-31.362305" + x2="192.85715" + y2="132.67882" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4552" + id="linearGradient5849" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.7071068,0.7071068,-0.7071068,0.7071068,416.40044,-164.22392)" + x1="693.78149" + y1="710.15875" + x2="164.26624" + y2="180.64349" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient6789" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0,-1.0801612,-1.0801612,0,1220.6392,-612.52504)" + x1="-772.00726" + y1="742.5" + x2="-886.75739" + y2="742.5" /> + <radialGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="radialGradient6852" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.9705775,0,0,0.8107294,-112.84418,-183.88404)" + cx="316.84982" + cy="318.35864" + fx="316.84982" + fy="318.35864" + r="176.32553" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient2359" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0,-1.1884077,-1.1884077,0,1264.2287,-782.97012)" + x1="-772.00726" + y1="742.5" + x2="-886.75739" + y2="742.5" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient3431" + x1="403.62915" + y1="448.3533" + x2="382.90256" + y2="448.3533" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient3433" + x1="267.84595" + y1="358.53836" + x2="506.83289" + y2="358.53836" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient3587" + gradientUnits="userSpaceOnUse" + x1="267.84595" + y1="358.53836" + x2="506.83289" + y2="358.53836" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient3589" + gradientUnits="userSpaceOnUse" + x1="403.62915" + y1="448.3533" + x2="382.90256" + y2="448.3533" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient3591" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0,-1.1884077,-1.1884077,0,1264.2287,-782.97012)" + x1="-772.00726" + y1="742.5" + x2="-886.75739" + y2="742.5" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4685" + id="linearGradient3594" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(-0.8403312,-0.8403312,-0.8403312,0.8403312,214.11735,-1075.3821)" + x1="-772.00726" + y1="742.5" + x2="-886.75739" + y2="742.5" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient3598" + gradientUnits="userSpaceOnUse" + x1="403.62915" + y1="448.3533" + x2="382.90256" + y2="448.3533" + gradientTransform="matrix(0.7071068,-0.7071068,0.7071068,0.7071068,-126.18386,372.2061)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3795" + id="linearGradient3601" + gradientUnits="userSpaceOnUse" + x1="386.3927" + y1="63.870872" + x2="385.03586" + y2="613.94257" + gradientTransform="matrix(0.7071068,-0.7071068,0.7071068,0.7071068,-126.18386,372.2061)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient4032" + id="linearGradient3609" + x1="409.38339" + y1="358.30106" + x2="212.92615" + y2="161.84381" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3634" + id="linearGradient3632" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.7071068,-0.7071068,0.7071068,0.7071068,-126.18386,372.2061)" + x1="403.62915" + y1="448.3533" + x2="382.90256" + y2="448.3533" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + gridtolerance="10000" + guidetolerance="10" + objecttolerance="10" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.4" + inkscape:cx="354.14189" + inkscape:cy="153.79821" + inkscape:document-units="px" + inkscape:current-layer="layer1" + inkscape:window-width="1600" + inkscape:window-height="1101" + inkscape:window-x="0" + inkscape:window-y="24" + width="390px" + height="390px" /> + <metadata + id="metadata4222"> + <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="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-192.20058,-142.77329)"> + <path + style="color:#000000;fill:url(#linearGradient3601);fill-opacity:1.0;fill-rule:nonzero;stroke:none;stroke-width:40;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="M 227.19747,177.7338 C 180.55116,224.38006 180.52688,300.12544 227.17316,346.77173 C 258.08658,377.68512 301.76567,388.09676 341.29138,378.03633 L 363.58504,400.32999 L 403.26142,405.19229 L 408.17234,444.91729 L 447.84873,449.7796 L 452.73534,489.48029 L 492.46034,494.39121 L 497.32265,534.0676 L 567.85033,528.1599 L 573.51491,527.69799 L 574.58463,515.49361 L 580.20059,451.72452 L 558.12573,429.64966 L 536.09951,407.62344 L 514.04896,385.57289 L 492.02274,363.54667 L 469.9722,341.49613 L 447.92166,319.44559 L 425.87112,297.39505 C 438.42015,256.45998 428.52848,210.14844 396.16245,177.78243 C 349.51612,131.13598 273.84379,131.08741 227.19747,177.7338 z M 251.41173,202.04531 C 272.81888,180.63816 303.47844,176.5097 319.84862,192.87988 C 336.21884,209.25009 332.11466,239.93392 310.7075,261.34108 C 289.30031,282.74823 258.64079,286.82809 242.2706,270.4579 C 225.90045,254.08775 230.00457,223.45247 251.41173,202.04531 z " + id="path6625" + inkscape:export-filename="/home/barret/Desktop/My Documents/Art/icons/key.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" /> + <path + style="opacity:1;color:#000000;fill:url(#linearGradient3632);fill-opacity:1.0;fill-rule:nonzero;stroke:none;stroke-width:20;stroke-linecap:round;stroke-linejoin:miter;marker:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="M 388.4298,339.03296 C 386.75029,340.71252 385.55104,342.62135 384.73959,344.62353 C 384.0045,346.43737 383.45796,348.54503 383.45796,350.94329 C 383.45796,353.34135 383.98228,355.47112 384.71749,357.28516 C 385.49131,359.19449 386.72814,361.19616 388.4077,362.87572 L 551.5284,525.99642 L 554.79877,529.26679 L 559.41706,528.89114 L 565.09602,528.4271 L 573.49291,527.71999 L 574.24421,519.3231 L 575.30487,507.12551 L 575.70262,502.48512 L 572.41015,499.19265 L 412.25046,339.03296 C 410.57089,337.35342 408.56916,336.11654 406.6599,335.34275 C 404.84594,334.6076 402.7383,334.06112 400.34013,334.06112 C 397.9422,334.06115 395.83448,334.60752 394.02036,335.34275 C 392.11118,336.11654 390.10945,337.35331 388.4298,339.03296 z " + id="path6871" + inkscape:export-filename="/home/barret/Desktop/My Documents/Art/icons/key.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" /> + <path + style="color:#000000;fill:url(#linearGradient3609);fill-opacity:1.0;fill-rule:nonzero;stroke:none;stroke-width:30;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="M 239.43817,192.85126 C 237.14745,195.26121 235.00744,197.76787 233.00792,200.34218 C 235.51381,197.11428 238.26487,194.02642 241.22803,191.0614 C 240.6275,191.66193 240.01996,192.2392 239.43817,192.85126 z M 243.06209,189.27154 C 247.34642,185.19905 251.89717,181.59745 256.6739,178.44396 C 251.90641,181.59274 247.33873,185.20647 243.06209,189.27154 z M 231.43902,202.4414 C 230.50988,203.7053 229.62637,204.96713 228.76528,206.2642 C 229.62251,204.97281 230.5144,203.6999 231.43902,202.4414 z M 228.63269,206.48517 C 227.73824,207.84017 226.86772,209.22918 226.04733,210.61732 C 226.87305,209.21893 227.73192,207.84993 228.63269,206.48517 z M 226.04733,210.61732 C 224.38952,213.42244 222.89494,216.26818 221.53953,219.19099 C 222.89069,216.27727 224.39591,213.41409 226.04733,210.61732 z M 221.53953,219.19099 C 220.18774,222.10598 218.98873,225.08751 217.9377,228.09612 C 218.98861,225.08884 220.18836,222.10471 221.53953,219.19099 z M 217.9377,228.09612 C 216.88734,231.10282 215.96978,234.14539 215.21976,237.22221 C 215.97041,234.14477 216.8868,231.1034 217.9377,228.09612 z M 215.21976,237.22221 C 214.91142,238.48713 214.63766,239.74893 214.38007,241.02291 C 214.6381,239.74758 214.9109,238.48846 215.21976,237.22221 z M 258.75102,177.11814 C 260.13297,176.25466 261.53536,175.43172 262.94947,174.64326 C 261.53537,175.43144 260.13297,176.25489 258.75102,177.11814 z M 267.2363,172.38936 C 268.67965,171.67594 270.11978,171.01691 271.58943,170.37853 C 270.1288,171.01317 268.67094,171.68054 267.2363,172.38936 z M 285.13495,165.62765 C 286.65748,165.21713 288.19416,164.85911 289.73114,164.5228 C 288.19405,164.85914 286.65757,165.21706 285.13495,165.62765 z M 289.75324,164.5007 C 291.29053,164.16475 292.84478,163.87853 294.39363,163.61682 C 292.84462,163.87854 291.29066,164.16471 289.75324,164.5007 z M 214.22539,241.84051 C 214.07359,242.62524 213.93815,243.41736 213.80555,244.20489 C 213.93691,243.42621 214.07526,242.61645 214.22539,241.84051 z M 213.80555,244.20489 C 213.67516,244.97931 213.54171,245.74833 213.4299,246.52509 C 213.54249,245.74403 213.67418,244.98358 213.80555,244.20489 z M 213.12054,248.86738 C 213.02662,249.65252 212.95251,250.44497 212.87747,251.23177 C 212.95253,250.44706 213.02671,249.65045 213.12054,248.86738 z M 212.6786,253.59616 C 212.62297,254.37787 212.58307,255.15583 212.54601,255.93845 C 212.58355,255.15154 212.6223,254.38215 212.6786,253.59616 z M 306.14928,162.33519 C 307.33341,162.2787 308.52174,162.23869 309.70691,162.2247 C 308.51445,162.23884 307.34069,162.27803 306.14928,162.33519 z M 310.85596,162.2247 C 311.64358,162.22448 312.4329,162.22825 313.22034,162.2468 C 312.42533,162.22785 311.65115,162.22452 310.85596,162.2247 z M 212.6786,267.73829 C 212.79185,269.31534 212.93172,270.8959 213.12054,272.46707 C 212.93288,270.90093 212.79119,269.31027 212.6786,267.73829 z M 322.6558,162.93181 C 324.22192,163.11904 325.78303,163.3324 327.34038,163.59472 C 325.78302,163.332 324.22194,163.11947 322.6558,162.93181 z M 213.80555,277.12955 C 213.93826,277.91488 214.07359,278.7114 214.22539,279.49394 C 214.07527,278.718 213.93691,277.90823 213.80555,277.12955 z M 214.22539,279.49394 C 214.37445,280.26235 214.54406,281.02668 214.71153,281.79204 C 214.54263,281.01921 214.37552,280.26989 214.22539,279.49394 z M 215.83848,286.41033 C 216.04696,287.18209 216.25174,287.96304 216.47929,288.73053 C 216.2541,287.9692 216.04491,287.17586 215.83848,286.41033 z M 217.1864,290.98443 C 217.43025,291.74007 217.67515,292.4876 217.9377,293.23833 C 217.67498,292.48651 217.43036,291.74118 217.1864,290.98443 z M 217.9377,293.23833 C 218.1882,293.95457 218.44358,294.6703 218.7111,295.38175 C 218.44689,294.67806 218.18525,293.94672 217.9377,293.23833 z M 219.63918,297.72404 C 219.94037,298.46639 220.24722,299.19746 220.56726,299.93375 C 220.24823,299.19892 219.93944,298.4649 219.63918,297.72404 z M 220.56726,299.93375 C 220.88754,300.67062 221.20037,301.41302 221.53953,302.14346 C 221.20173,301.41503 220.88628,300.66858 220.56726,299.93375 z M 221.53953,302.14346 C 221.87799,302.87243 222.24293,303.58678 222.60019,304.30897 C 222.24363,303.5873 221.87732,302.87189 221.53953,302.14346 z M 223.68295,306.45239 C 224.0625,307.17472 224.45536,307.88113 224.85409,308.59581 C 224.46,307.88875 224.05827,307.16693 223.68295,306.45239 z M 359.24858,174.90843 C 360.36989,175.54138 361.48426,176.19466 362.58524,176.87507 C 361.4842,176.19487 360.36994,175.54121 359.24858,174.90843 z M 227.32896,312.79425 C 227.71065,313.40478 228.10378,314.02448 228.50011,314.62831 C 228.09917,314.01733 227.7149,313.41208 227.32896,312.79425 z M 228.89786,315.24703 C 229.31529,315.8728 229.7462,316.48503 230.17949,317.10319 C 229.74614,316.48497 229.31535,315.87286 228.89786,315.24703 z M 231.6158,319.11402 C 232.57068,320.40596 233.57277,321.68247 234.59891,322.93682 C 233.57504,321.68548 232.5688,320.40274 231.6158,319.11402 z M 371.07052,182.75289 C 372.37127,183.76 373.67718,184.78734 374.93751,185.86858 C 373.66957,184.78019 372.37939,183.76618 371.07052,182.75289 z M 244.91825,333.78649 C 283.55521,368.69159 343.27386,367.52726 380.50598,330.29515 C 417.73809,293.06303 418.90242,233.34438 383.99732,194.70742 C 415.4126,230.03071 363.49828,238.98292 326.32392,276.15728 C 289.14953,313.33161 280.23979,365.2035 244.91825,333.78649 z " + id="path2365" + sodipodi:nodetypes="cssccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccsccscsc" + inkscape:export-filename="/home/barret/Desktop/My Documents/Art/icons/key.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" /> + <path + style="color:#000000;fill:url(#linearGradient3594);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:40;stroke-linecap:round;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="M 239.43813,192.8702 C 202.78663,231.42928 203.40949,292.45386 241.24331,330.28768 C 279.67765,368.72203 287.90511,314.59554 326.33948,276.16122 C 364.77383,237.72687 418.9285,229.4712 380.49415,191.03684 C 342.05981,152.60248 279.67765,152.63071 241.2433,191.06504 C 240.64277,191.66557 240.01992,192.25814 239.43813,192.8702 z M 251.42551,202.037 C 272.83267,180.62985 303.48201,176.52822 319.85219,192.8984 C 336.2224,209.2686 332.12075,239.91793 310.7136,261.32509 C 289.30641,282.73223 258.65709,286.83387 242.28691,270.46368 C 225.91675,254.09353 230.01835,223.44417 251.42551,202.037 z " + id="path6632" + inkscape:export-filename="/home/barret/Desktop/My Documents/Art/icons/key.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90" /> + </g> +</svg> diff --git a/find-the-key.activity/ftk 1/ftk.py b/find-the-key.activity/ftk 1/ftk.py new file mode 100755 index 0000000..f308408 --- /dev/null +++ b/find-the-key.activity/ftk 1/ftk.py @@ -0,0 +1,98 @@ +#!/usr/bin/python + +import gtk + + +class MyApp(): + def __init__(self): + + window = gtk.Window() + window.connect('destroy', self.destroy) + window.set_title('Find the key') + window.set_position(gtk.WIN_POS_CENTER) + + #Creacion de un contenedor madre que contiene a dos contenedores + #hijos derecha e izq + vboxMother = gtk.HBox() + vboxLeft = gtk.HBox() + vboxRight = gtk.HBox() + + + #### + ###Elementos del contenedor derecho(RIGHT) + + #creacion de imagenes en la tabla + self.table = gtk.Table(5, 5, True) + + img=gtk.Image() + img.set_from_file('hola.jpg') + img2=gtk.Image() + img2.set_from_file('holas.jpg') + img3=gtk.Image() + img3.set_from_file('holas.jpg') + + + #Posicion de las imagenes dentro de la tabla, + #la posicion 0, 1, 0, 1, ubica en la esquina superior izquierda + #los dos ultimos numeros indican la fila los dos primeros la columna + #para ir agregando objetos aumentar un digito + self.table.attach(img, 0, 1, 0, 1) + self.table.attach(img2, 1, 2, 0, 1) + self.table.attach(img3, 2, 3, 0, 1) + + + #### + + #### + #Elementos del contenedor Izquierdo(Left) + + vboxLabelProgram = gtk.VBox() + vboxLabelUser = gtk.VBox() + vboxTextProgram = gtk.VBox() + vboxTextUser = gtk.VBox() + + labelProgram = gtk.Label() + labelProgram.set_text('Programa:') + + labelUser = gtk.Label() + labelUser.set_text('Usuario:') + + textAreaProgram = gtk.Entry() + textAreaProgram.set_text(" Prueba Program") + textAreaUser = gtk.Entry() + textAreaUser.set_text(" Prueba User") + #### + + #### + #Tabla contenedora de la izquierda + tablaLeft = gtk.Table(4, 1, False) + tablaLeft.attach(labelProgram, 0, 1, 0, 1) + tablaLeft.attach(textAreaProgram, 0, 1, 1, 2) + tablaLeft.attach(labelUser, 0, 1, 2, 3) + tablaLeft.attach(textAreaUser, 0, 1, 3, 4) + #### + + + #### + #Add de widgets + window.add(vboxMother) + vboxMother.add(vboxLeft) + vboxMother.add(vboxRight) + vboxLeft.add(tablaLeft) + + + #Add de widgets vbox right + vboxRight.add(self.table) + #### + + + window.show_all() + + def destroy(self, window, data=None): + gtk.main_quit() + + +if __name__ == "__main__": + my_app = MyApp() + gtk.main() + diff --git a/find-the-key.activity/ftk 1/ftk.py~ b/find-the-key.activity/ftk 1/ftk.py~ new file mode 100644 index 0000000..ccfffc3 --- /dev/null +++ b/find-the-key.activity/ftk 1/ftk.py~ @@ -0,0 +1,24 @@ +#!/usr/bin/python + +import gtk + +class MyApp(): + + def __init__(self): + window = gtk.Window() + window.set_title('Grabbing keys example.') + + label = gtk.Label() + label.set_text('Press any key.') + vbox = gtk.VBox(homogeneous=gtk.FALSE, spacing=0) + + window.add(vbox) + vbox.add(label) + window.show() + vbox.show() + label.show() + +if __name__ == "__main__": + my_app = MyApp() + gtk.main() + diff --git a/find-the-key.activity/ftk 1/hola.jpg b/find-the-key.activity/ftk 1/hola.jpg Binary files differnew file mode 100644 index 0000000..10122e1 --- /dev/null +++ b/find-the-key.activity/ftk 1/hola.jpg diff --git a/find-the-key.activity/ftk 1/holas.jpg b/find-the-key.activity/ftk 1/holas.jpg Binary files differnew file mode 100644 index 0000000..d16966a --- /dev/null +++ b/find-the-key.activity/ftk 1/holas.jpg diff --git a/find-the-key.activity/img/hola.jpg b/find-the-key.activity/img/hola.jpg Binary files differnew file mode 100644 index 0000000..10122e1 --- /dev/null +++ b/find-the-key.activity/img/hola.jpg diff --git a/find-the-key.activity/img/holas.jpg b/find-the-key.activity/img/holas.jpg Binary files differnew file mode 100644 index 0000000..d16966a --- /dev/null +++ b/find-the-key.activity/img/holas.jpg diff --git a/find-the-key.activity/parser/config.ini b/find-the-key.activity/parser/config.ini new file mode 100755 index 0000000..aeed09f --- /dev/null +++ b/find-the-key.activity/parser/config.ini @@ -0,0 +1,6 @@ +[person] +name = Santiago +lastname = sugarlabs + +[silla] +name= Silla diff --git a/find-the-key.activity/parser/config.ini~ b/find-the-key.activity/parser/config.ini~ new file mode 100755 index 0000000..250b8ca --- /dev/null +++ b/find-the-key.activity/parser/config.ini~ @@ -0,0 +1,3 @@ +[person] +name = Santiago +lastname = sugarlabs diff --git a/find-the-key.activity/parser/example (copia).py~ b/find-the-key.activity/parser/example (copia).py~ new file mode 100755 index 0000000..4dfe779 --- /dev/null +++ b/find-the-key.activity/parser/example (copia).py~ @@ -0,0 +1,15 @@ +#!/usr/bin/python + +from subprocess import Popen + + +def say(text): + Popen(['espeak', '-v', 'es', text]) + + +def main(): + say('Hola tch') + + +if __name__ == "__main__": + main() diff --git a/find-the-key.activity/parser/example.py b/find-the-key.activity/parser/example.py new file mode 100755 index 0000000..c1f687a --- /dev/null +++ b/find-the-key.activity/parser/example.py @@ -0,0 +1,13 @@ +#!/usr/bin/python + +from ConfigParser import SafeConfigParser + + +def main(): + parser = SafeConfigParser() + parser.read('config.ini') + + print parser.get('person', 'name') + +if __name__ == "__main__": + main() diff --git a/find-the-key.activity/parser/voz.py b/find-the-key.activity/parser/voz.py new file mode 100755 index 0000000..b42f256 --- /dev/null +++ b/find-the-key.activity/parser/voz.py @@ -0,0 +1,21 @@ +#!/usr/bin/python + +from subprocess import Popen +from ConfigParser import SafeConfigParser + +def parseador(objeto, atributo): + parser = SafeConfigParser() + parser.read('config.ini') + + sayEs(parser.get(objeto, atributo)) + +def sayEs(text): + Popen(['espeak', '-v', 'es', text]) + + +def main(): + parseador("silla", "name") + + +if __name__ == "__main__": + main() diff --git a/find-the-key.activity/parser/voz.py~ b/find-the-key.activity/parser/voz.py~ new file mode 100755 index 0000000..59bd13a --- /dev/null +++ b/find-the-key.activity/parser/voz.py~ @@ -0,0 +1,21 @@ +#!/usr/bin/python + +from subprocess import Popen +from ConfigParser import SafeConfigParser + +def parseador(objeto, atributo): + parser = SafeConfigParser() + parser.read('config.ini') + + say(parser.get(objeto, atributo)) + +def say(text): + Popen(['espeak', '-v', 'es', text]) + + +def main(): + parseador("silla", "name") + + +if __name__ == "__main__": + main() diff --git a/find-the-key.activity/setup.py b/find-the-key.activity/setup.py new file mode 100755 index 0000000..529adcc --- /dev/null +++ b/find-the-key.activity/setup.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python + +# Copyright (C) 2013, Santiago Lezcano, Marcos Trinidad +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +from sugar.activity import bundlebuilder + +bundlebuilder.start() |