[Tux4kids-commits] r893 - in tuxtype/trunk: data/images/icons src
dbruce-guest at alioth.debian.org
dbruce-guest at alioth.debian.org
Tue Feb 17 13:29:03 UTC 2009
Author: dbruce-guest
Date: 2009-02-17 13:29:03 +0000 (Tue, 17 Feb 2009)
New Revision: 893
Added:
tuxtype/trunk/data/images/icons/icon.png
tuxtype/trunk/data/images/icons/tuxtype.svg
Modified:
tuxtype/trunk/data/images/icons/Makefile.am
tuxtype/trunk/data/images/icons/Makefile.in
tuxtype/trunk/src/setup.c
Log:
added code to set icon, as well as new icon in png and svg formats
Modified: tuxtype/trunk/data/images/icons/Makefile.am
===================================================================
--- tuxtype/trunk/data/images/icons/Makefile.am 2009-02-17 11:58:31 UTC (rev 892)
+++ tuxtype/trunk/data/images/icons/Makefile.am 2009-02-17 13:29:03 UTC (rev 893)
@@ -3,4 +3,6 @@
images_iconsdir = $(pkgdatadir)/images/icons
-dist_images_icons_DATA = tuxtype.ico tuxtype.icns
+dist_images_icons_DATA = tuxtype.ico \
+ tuxtype.icns \
+ icon.png
Modified: tuxtype/trunk/data/images/icons/Makefile.in
===================================================================
--- tuxtype/trunk/data/images/icons/Makefile.in 2009-02-17 11:58:31 UTC (rev 892)
+++ tuxtype/trunk/data/images/icons/Makefile.in 2009-02-17 13:29:03 UTC (rev 893)
@@ -227,7 +227,10 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
images_iconsdir = $(pkgdatadir)/images/icons
-dist_images_icons_DATA = tuxtype.ico tuxtype.icns
+dist_images_icons_DATA = tuxtype.ico \
+ tuxtype.icns \
+ icon.png
+
all: all-am
.SUFFIXES:
Added: tuxtype/trunk/data/images/icons/icon.png
===================================================================
(Binary files differ)
Property changes on: tuxtype/trunk/data/images/icons/icon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: tuxtype/trunk/data/images/icons/tuxtype.svg
===================================================================
--- tuxtype/trunk/data/images/icons/tuxtype.svg (rev 0)
+++ tuxtype/trunk/data/images/icons/tuxtype.svg 2009-02-17 13:29:03 UTC (rev 893)
@@ -0,0 +1,1023 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 10.0, SVG Export Plug-In . SVG Version: 3.0.0 Build 76) -->
+<svg
+ xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
+ 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="132"
+ height="117"
+ viewBox="0.008 -0.291 132 117"
+ overflow="visible"
+ enable-background="new 0.008 -0.291 132 117"
+ xml:space="preserve"
+ id="svg2"
+ sodipodi:version="0.32"
+ inkscape:version="0.46"
+ sodipodi:docname="tuxtype.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape"><metadata
+ id="metadata283"><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><defs
+ id="defs281"><inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 58.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="132 : 58.5 : 1"
+ inkscape:persp3d-origin="66 : 39 : 1"
+ id="perspective285" />
+
+
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_1_"
+ id="linearGradient3151"
+ gradientUnits="userSpaceOnUse"
+ x1="33.455101"
+ y1="134.8"
+ x2="33.455101"
+ y2="79.492203" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_2_"
+ id="linearGradient3153"
+ gradientUnits="userSpaceOnUse"
+ x1="34.128399"
+ y1="51.917999"
+ x2="34.128399"
+ y2="78.923302" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_3_"
+ id="linearGradient3155"
+ gradientUnits="userSpaceOnUse"
+ x1="29.4014"
+ y1="90.037102"
+ x2="51.554901"
+ y2="112.191" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_4_"
+ id="linearGradient3157"
+ gradientUnits="userSpaceOnUse"
+ x1="25.8179"
+ y1="86.409203"
+ x2="51.3773"
+ y2="112.146" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_5_"
+ id="linearGradient3159"
+ gradientUnits="userSpaceOnUse"
+ x1="24.374001"
+ y1="66.755898"
+ x2="33.8414"
+ y2="76.223099" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_6_"
+ id="linearGradient3161"
+ gradientUnits="userSpaceOnUse"
+ x1="40.188"
+ y1="67.644501"
+ x2="48.386002"
+ y2="75.842499" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_7_"
+ id="linearGradient3163"
+ gradientUnits="userSpaceOnUse"
+ x1="31.747999"
+ y1="73.683601"
+ x2="31.747999"
+ y2="68.590599" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_8_"
+ id="linearGradient3165"
+ gradientUnits="userSpaceOnUse"
+ x1="35.980999"
+ y1="72.686501"
+ x2="35.980999"
+ y2="69.1763" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_9_"
+ id="linearGradient3167"
+ gradientUnits="userSpaceOnUse"
+ x1="37.716801"
+ y1="78.847702"
+ x2="35.737"
+ y2="77.450104" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_10_"
+ id="linearGradient3169"
+ gradientUnits="userSpaceOnUse"
+ x1="37.429699"
+ y1="78.079102"
+ x2="31.775499"
+ y2="75.251999" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_11_"
+ id="linearGradient3171"
+ gradientUnits="userSpaceOnUse"
+ x1="33.480999"
+ y1="127.388"
+ x2="33.480999"
+ y2="105.1" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_12_"
+ id="linearGradient3173"
+ gradientUnits="userSpaceOnUse"
+ x1="33.829601"
+ y1="100.71"
+ x2="33.829601"
+ y2="110.822" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_13_"
+ id="linearGradient3175"
+ gradientUnits="userSpaceOnUse"
+ x1="49.4258"
+ y1="117.758"
+ x2="49.4258"
+ y2="105.512" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_14_"
+ id="linearGradient3177"
+ gradientUnits="userSpaceOnUse"
+ x1="49.4263"
+ y1="109.792"
+ x2="49.4263"
+ y2="117.86" /><radialGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_15_"
+ id="radialGradient3179"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.9706,0,0,0.4062,0.2742,524.622)"
+ cx="50.122101"
+ cy="-1005.98"
+ fx="50.122101"
+ fy="-1005.98"
+ r="17.6775" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_16_"
+ id="linearGradient3181"
+ gradientUnits="userSpaceOnUse"
+ x1="49.4263"
+ y1="107.75"
+ x2="49.4263"
+ y2="112.283" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_17_"
+ id="linearGradient3183"
+ gradientUnits="userSpaceOnUse"
+ x1="20.0718"
+ y1="118.006"
+ x2="20.0718"
+ y2="105.762" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_18_"
+ id="linearGradient3185"
+ gradientUnits="userSpaceOnUse"
+ x1="20.0718"
+ y1="110.042"
+ x2="20.0718"
+ y2="118.111" /><radialGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_19_"
+ id="radialGradient3187"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.9706,0,0,0.4062,0.2742,524.622)"
+ cx="19.8799"
+ cy="-1005.37"
+ fx="19.8799"
+ fy="-1005.37"
+ r="17.6759" /><linearGradient
+ inkscape:collect="always"
+ xlink:href="#XMLID_20_"
+ id="linearGradient3189"
+ gradientUnits="userSpaceOnUse"
+ x1="20.0718"
+ y1="107.999"
+ x2="20.0718"
+ y2="112.532" />
+
+
+ </defs><sodipodi:namedview
+ inkscape:window-height="726"
+ inkscape:window-width="645"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ guidetolerance="10.0"
+ gridtolerance="10.0"
+ objecttolerance="10.0"
+ borderopacity="1.0"
+ bordercolor="#666666"
+ pagecolor="#ffffff"
+ id="base"
+ showgrid="false"
+ inkscape:zoom="5.6568542"
+ inkscape:cx="71.093403"
+ inkscape:cy="47.347533"
+ inkscape:current-layer="svg2"
+ inkscape:window-x="312"
+ inkscape:window-y="25"><inkscape:grid
+ type="xygrid"
+ id="grid3344" /></sodipodi:namedview>
+ <g
+ id="g9"
+ transform="matrix(1.8160959,0,0,1.8160959,4,-97.450562)">
+ <path
+ d="M 9.2,79.784 C 9.255,79.73 9.289,79.66 9.3,79.585 C 11.16,65.699 21.745,55.23 33.923,55.23 C 46.277,55.23 56.883,65.878 58.594,79.999 C 58.602,80.079 58.64,80.151 58.697,80.207 C 58.697,80.207 65.106,86.437 66.126,87.43 C 64.797,87.463 58.943,87.609 58.943,87.609 C 58.771,87.614 58.629,87.747 58.608,87.918 C 58.181,91.57 57.158,95.057 55.566,98.278 C 51.135,107.248 42.842,112.82 33.923,112.82 C 25.604,112.82 17.866,108.043 13.223,100.041 C 11.211,96.575 9.902,92.743 9.329,88.652 C 9.306,88.483 9.164,88.356 8.994,88.351 C 8.994,88.351 2.163,88.176 0.821,88.14 C 1.83,87.134 9.2,79.784 9.2,79.784 z"
+ id="path11" />
+ <linearGradient
+ id="XMLID_1_"
+ gradientUnits="userSpaceOnUse"
+ x1="33.455101"
+ y1="134.8"
+ x2="33.455101"
+ y2="79.492203">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,255,255)"
+ id="stop14" />
+ <stop
+ offset="0.2033"
+ style="stop-color:rgb(194,194,194)"
+ id="stop16" />
+ <stop
+ offset="0.494"
+ style="stop-color:rgb(112,112,112)"
+ id="stop18" />
+ <stop
+ offset="0.733"
+ style="stop-color:rgb(51,51,51)"
+ id="stop20" />
+ <stop
+ offset="0.9078"
+ style="stop-color:rgb(14,14,14)"
+ id="stop22" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(0,0,0)"
+ id="stop24" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.435"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#000000" />
+ </linearGradient>
+ <path
+ d="M 58.134,80.79 C 57.944,80.606 57.823,80.361 57.791,80.096 C 56.13,66.384 45.869,56.043 33.922,56.043 C 22.147,56.043 11.906,66.21 10.1,79.692 C 10.066,79.946 9.949,80.182 9.768,80.361 C 9.768,80.361 5.105,85.011 2.733,87.376 C 5.377,87.443 9.014,87.538 9.014,87.538 C 9.578,87.553 10.049,87.975 10.128,88.537 C 10.685,92.524 11.961,96.255 13.919,99.629 C 18.416,107.379 25.894,112.006 33.922,112.006 C 42.532,112.006 50.547,106.607 54.841,97.915 C 56.391,94.776 57.388,91.381 57.805,87.822 C 57.872,87.249 58.348,86.811 58.922,86.796 C 58.922,86.796 61.804,86.724 64.176,86.665 C 61.931,84.479 58.134,80.79 58.134,80.79 z"
+ style="fill:url(#linearGradient3151)"
+ id="path26" />
+ <linearGradient
+ id="XMLID_2_"
+ gradientUnits="userSpaceOnUse"
+ x1="34.128399"
+ y1="51.917999"
+ x2="34.128399"
+ y2="78.923302">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,255,255)"
+ id="stop29" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(0,0,0)"
+ id="stop31" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.5"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#000000" />
+ </linearGradient>
+ <path
+ a:adobe-blending-mode="screen"
+ d="M 52.363,69.489 C 52.363,76.967 44.198,83.027 34.127,83.027 C 24.057,83.027 15.893,76.966 15.893,69.489 C 15.893,62.012 24.057,55.952 34.127,55.952 C 44.199,55.952 52.363,62.013 52.363,69.489 z"
+ style="fill:url(#linearGradient3153)"
+ id="path33" />
+ <path
+ d="M 36.005,68.651 C 36.005,69.038 35.726,69.35 35.383,69.35 C 35.039,69.35 34.76,69.037 34.76,68.651 C 34.76,68.267 35.039,67.954 35.383,67.954 C 35.726,67.954 36.005,68.268 36.005,68.651 z"
+ style="fill:#ffffff"
+ id="path35" />
+ <linearGradient
+ id="XMLID_3_"
+ gradientUnits="userSpaceOnUse"
+ x1="29.4014"
+ y1="90.037102"
+ x2="51.554901"
+ y2="112.191">
+ <stop
+ offset="0.0056"
+ style="stop-color:rgb(255,255,255)"
+ id="stop38" />
+ <stop
+ offset="0.2355"
+ style="stop-color:rgb(223,223,223)"
+ id="stop40" />
+ <stop
+ offset="0.5725"
+ style="stop-color:rgb(182,182,182)"
+ id="stop42" />
+ <stop
+ offset="0.839"
+ style="stop-color:rgb(157,157,157)"
+ id="stop44" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(148,148,148)"
+ id="stop46" />
+ <a:midPointStop
+ offset="0.0056"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.4035"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#949494" />
+ </linearGradient>
+ <path
+ d="M 47.723,80.114 C 44.028,76.337 39.335,74.073 34.223,74.073 C 27.903,74.073 22.222,77.531 18.281,83.034 C 14.999,87.613 12.923,93.608 12.694,100.214 C 17.223,108.022 24.935,113.166 33.693,113.166 C 43.101,113.166 51.3,107.229 55.647,98.432 C 55.008,91.041 52.052,84.539 47.723,80.114 z"
+ style="fill:url(#linearGradient3155)"
+ id="path48" />
+ <linearGradient
+ id="XMLID_4_"
+ gradientUnits="userSpaceOnUse"
+ x1="25.8179"
+ y1="86.409203"
+ x2="51.3773"
+ y2="112.146">
+ <stop
+ offset="0.0056"
+ style="stop-color:rgb(255,255,255)"
+ id="stop51" />
+ <stop
+ offset="0.0486"
+ style="stop-color:rgb(247,247,247)"
+ id="stop53" />
+ <stop
+ offset="0.3721"
+ style="stop-color:rgb(191,191,191)"
+ id="stop55" />
+ <stop
+ offset="0.6499"
+ style="stop-color:rgb(150,150,150)"
+ id="stop57" />
+ <stop
+ offset="0.8682"
+ style="stop-color:rgb(124,124,124)"
+ id="stop59" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(115,115,115)"
+ id="stop61" />
+ <a:midPointStop
+ offset="0.0056"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.4035"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#737373" />
+ </linearGradient>
+ <path
+ d="M 47.723,80.114 C 44.028,76.337 39.335,74.073 34.223,74.073 C 27.903,74.073 22.222,77.531 18.281,83.034 C 14.999,87.613 12.923,93.608 12.694,100.214 C 17.223,108.022 24.935,113.166 33.693,113.166 C 43.101,113.166 51.3,107.229 55.647,98.432 C 55.008,91.041 52.052,84.539 47.723,80.114 z"
+ style="fill:url(#linearGradient3157)"
+ id="path63" />
+ <linearGradient
+ id="XMLID_5_"
+ gradientUnits="userSpaceOnUse"
+ x1="24.374001"
+ y1="66.755898"
+ x2="33.8414"
+ y2="76.223099">
+ <stop
+ offset="0.0337"
+ style="stop-color:rgb(255,255,255)"
+ id="stop66" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(148,148,148)"
+ id="stop68" />
+ <a:midPointStop
+ offset="0.0337"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.5"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#949494" />
+ </linearGradient>
+ <path
+ d="M 34.222,68.741 C 34.222,73.551 30.701,77.449 26.36,77.449 C 22.019,77.449 18.498,73.551 18.498,68.741 C 18.498,63.932 22.019,60.035 26.36,60.035 C 30.701,60.035 34.222,63.933 34.222,68.741 z"
+ style="fill:url(#linearGradient3159)"
+ id="path70" />
+ <linearGradient
+ id="XMLID_6_"
+ gradientUnits="userSpaceOnUse"
+ x1="40.188"
+ y1="67.644501"
+ x2="48.386002"
+ y2="75.842499">
+ <stop
+ offset="0.0337"
+ style="stop-color:rgb(255,255,255)"
+ id="stop73" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(148,148,148)"
+ id="stop75" />
+ <a:midPointStop
+ offset="0.0337"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.5"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#949494" />
+ </linearGradient>
+ <path
+ d="M 49.593,69.364 C 49.593,73.044 46.152,76.028 41.907,76.028 C 37.663,76.028 34.222,73.044 34.222,69.364 C 34.222,65.683 37.662,62.7 41.907,62.7 C 46.151,62.7 49.593,65.684 49.593,69.364 z"
+ style="fill:url(#linearGradient3161)"
+ id="path77" />
+ <linearGradient
+ id="XMLID_7_"
+ gradientUnits="userSpaceOnUse"
+ x1="31.747999"
+ y1="73.683601"
+ x2="31.747999"
+ y2="68.590599">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,255,255)"
+ id="stop80" />
+ <stop
+ offset="0.2033"
+ style="stop-color:rgb(194,194,194)"
+ id="stop82" />
+ <stop
+ offset="0.494"
+ style="stop-color:rgb(112,112,112)"
+ id="stop84" />
+ <stop
+ offset="0.733"
+ style="stop-color:rgb(51,51,51)"
+ id="stop86" />
+ <stop
+ offset="0.9078"
+ style="stop-color:rgb(14,14,14)"
+ id="stop88" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(0,0,0)"
+ id="stop90" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.435"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#000000" />
+ </linearGradient>
+ <path
+ d="M 34.045,69.009 C 34.045,70.432 33.016,71.585 31.748,71.585 C 30.48,71.585 29.451,70.432 29.451,69.009 C 29.451,67.585 30.48,66.432 31.748,66.432 C 33.016,66.432 34.045,67.585 34.045,69.009 z"
+ style="fill:url(#linearGradient3163)"
+ id="path92" />
+ <path
+ d="M 31.863,68.261 C 31.863,68.745 31.513,69.138 31.083,69.138 C 30.65,69.138 30.302,68.745 30.302,68.261 C 30.302,67.777 30.651,67.384 31.083,67.384 C 31.513,67.384 31.863,67.776 31.863,68.261 z"
+ style="fill:#ffffff"
+ id="path94" />
+ <linearGradient
+ id="XMLID_8_"
+ gradientUnits="userSpaceOnUse"
+ x1="35.980999"
+ y1="72.686501"
+ x2="35.980999"
+ y2="69.1763">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,255,255)"
+ id="stop97" />
+ <stop
+ offset="0.2033"
+ style="stop-color:rgb(194,194,194)"
+ id="stop99" />
+ <stop
+ offset="0.494"
+ style="stop-color:rgb(112,112,112)"
+ id="stop101" />
+ <stop
+ offset="0.733"
+ style="stop-color:rgb(51,51,51)"
+ id="stop103" />
+ <stop
+ offset="0.9078"
+ style="stop-color:rgb(14,14,14)"
+ id="stop105" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(0,0,0)"
+ id="stop107" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.435"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#000000" />
+ </linearGradient>
+ <path
+ d="M 37.564,69.465 C 37.564,70.444 36.855,71.24 35.981,71.24 C 35.107,71.24 34.398,70.444 34.398,69.465 C 34.398,68.484 35.107,67.689 35.981,67.689 C 36.855,67.688 37.564,68.483 37.564,69.465 z"
+ style="fill:url(#linearGradient3165)"
+ id="path109" />
+ <path
+ d="M 35.786,69.183 C 35.786,69.538 35.528,69.829 35.21,69.829 C 34.89,69.829 34.633,69.538 34.633,69.183 C 34.633,68.824 34.89,68.535 35.21,68.535 C 35.528,68.534 35.786,68.823 35.786,69.183 z"
+ style="fill:#ffffff"
+ id="path111" />
+ <linearGradient
+ id="XMLID_9_"
+ gradientUnits="userSpaceOnUse"
+ x1="37.716801"
+ y1="78.847702"
+ x2="35.737"
+ y2="77.450104">
+ <stop
+ offset="0.0337"
+ style="stop-color:rgb(255,255,255)"
+ id="stop114" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(128,128,128)"
+ id="stop116" />
+ <a:midPointStop
+ offset="0.0337"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.5"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#808080" />
+ </linearGradient>
+ <path
+ a:adobe-blending-mode="multiply"
+ d="M 28.039,75.009 C 28.039,75.009 32.131,74.073 34.55,74.073 C 36.967,74.073 40.874,75.009 40.874,75.009 L 34.55,82.68 L 28.039,75.009 z"
+ style="opacity:0.4;fill:url(#linearGradient3167)"
+ id="path118" />
+ <linearGradient
+ id="XMLID_10_"
+ gradientUnits="userSpaceOnUse"
+ x1="37.429699"
+ y1="78.079102"
+ x2="31.775499"
+ y2="75.251999">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,139,0)"
+ id="stop121" />
+ <stop
+ offset="0.2022"
+ style="stop-color:rgb(255,194,0)"
+ id="stop123" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(255,255,0)"
+ id="stop125" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FF8B00" />
+ <a:midPointStop
+ offset="0.5"
+ style="stop-color:#FF8B00" />
+ <a:midPointStop
+ offset="0.2022"
+ style="stop-color:#FFC200" />
+ <a:midPointStop
+ offset="0.5"
+ style="stop-color:#FFC200" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#FFFF00" />
+ </linearGradient>
+ <path
+ d="M 27.508,74.111 C 27.508,74.111 31.565,73.183 33.962,73.183 C 36.357,73.183 40.23,74.111 40.23,74.111 L 33.962,81.713 L 27.508,74.111 z"
+ style="fill:url(#linearGradient3169)"
+ id="path127" />
+ <linearGradient
+ id="XMLID_11_"
+ gradientUnits="userSpaceOnUse"
+ x1="33.480999"
+ y1="127.388"
+ x2="33.480999"
+ y2="105.1">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,255,255)"
+ id="stop130" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(0,0,0)"
+ id="stop132" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.5"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#000000" />
+ </linearGradient>
+ <path
+ a:adobe-blending-mode="screen"
+ d="M 58.923,86.796 C 58.349,86.812 57.873,87.249 57.806,87.822 C 57.389,91.381 56.392,94.776 54.842,97.915 C 50.548,106.606 42.532,112.006 33.923,112.006 C 25.895,112.006 18.417,107.379 13.92,99.629 C 11.962,96.255 10.686,92.525 10.129,88.537 C 10.05,87.974 9.579,87.553 9.015,87.538 C 9.015,87.538 5.377,87.443 2.734,87.376 C 5.106,85.012 9.769,80.361 9.769,80.361 C 9.95,80.182 10.067,79.946 10.101,79.692 C 11.908,66.21 22.148,56.043 33.923,56.043 C 45.869,56.043 56.131,66.384 57.792,80.096 C 57.824,80.362 57.944,80.607 58.135,80.79 C 58.135,80.79 61.931,84.479 64.177,86.665 C 61.805,86.724 58.923,86.796 58.923,86.796 z M 58.938,79.956 C 57.22,65.788 46.678,54.881 33.922,54.881 C 21.292,54.881 10.827,65.573 8.957,79.537 L 0,88.467 L 8.985,88.698 C 9.573,92.908 10.948,96.812 12.922,100.214 C 17.453,108.022 25.164,113.166 33.922,113.166 C 43.33,113.166 51.529,107.229 55.875,98.432 C 57.44,95.263 58.511,91.727 58.952,87.957 L 66.962,87.756 L 58.938,79.956 z"
+ style="fill:url(#linearGradient3171)"
+ id="path134" />
+ <linearGradient
+ id="XMLID_12_"
+ gradientUnits="userSpaceOnUse"
+ x1="33.829601"
+ y1="100.71"
+ x2="33.829601"
+ y2="110.822">
+ <stop
+ offset="0.0337"
+ style="stop-color:rgb(255,255,255)"
+ id="stop137" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(178,178,178)"
+ id="stop139" />
+ <a:midPointStop
+ offset="0.0337"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="0.5"
+ style="stop-color:#FFFFFF" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#B2B2B2" />
+ </linearGradient>
+ <path
+ a:adobe-blending-mode="multiply"
+ d="M 33.468,106.637 C 24.457,106.637 16.656,102.019 12.85,95.287 C 12.579,96.826 12.409,98.415 12.353,100.04 C 16.883,107.848 24.595,112.993 33.352,112.993 C 42.76,112.993 50.958,107.055 55.304,98.257 C 55.183,96.848 54.976,95.47 54.692,94.131 C 51.158,101.486 42.985,106.637 33.468,106.637 z"
+ style="opacity:0.4;fill:url(#linearGradient3173)"
+ id="path141" />
+ <g
+ id="g143">
+ <path
+ d="M 48.325,106.81 C 41.816,106.81 36.539,109.02 36.539,111.749 C 36.539,112.226 36.704,112.687 37.007,113.125 C 41.615,112.267 45.839,110.049 49.38,106.831 C 49.031,106.819 48.68,106.81 48.325,106.81 z"
+ style="opacity:0.2"
+ id="path145" />
+ <path
+ d="M 21.593,106.975 C 20.52,106.975 19.485,107.041 18.506,107.163 C 22.263,110.512 26.836,112.645 31.812,113.079 C 32.232,112.596 32.462,112.072 32.462,111.526 C 32.463,109.012 27.597,106.975 21.593,106.975 z"
+ style="opacity:0.2"
+ id="path147" />
+ <g
+ id="g149">
+ <linearGradient
+ id="XMLID_13_"
+ gradientUnits="userSpaceOnUse"
+ x1="49.4258"
+ y1="117.758"
+ x2="49.4258"
+ y2="105.512">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,194,0)"
+ id="stop152" />
+ <stop
+ offset="0.1548"
+ style="stop-color:rgb(247,181,0)"
+ id="stop154" />
+ <stop
+ offset="0.716"
+ style="stop-color:rgb(222,136,0)"
+ id="stop156" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(212,119,0)"
+ id="stop158" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFC200" />
+ <a:midPointStop
+ offset="0.4463"
+ style="stop-color:#FFC200" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#D47700" />
+ </linearGradient>
+ <path
+ d="M 37.949,111.906 C 37.949,114.554 43.097,116.711 49.425,116.711 C 55.755,116.711 60.903,114.555 60.903,111.906 C 60.903,109.259 55.755,107.101 49.425,107.101 C 43.097,107.102 37.949,109.259 37.949,111.906 z M 38.992,111.906 C 38.992,109.498 43.672,107.539 49.425,107.539 C 55.179,107.539 59.859,109.498 59.859,111.906 C 59.859,114.315 55.18,116.273 49.425,116.273 C 43.672,116.273 38.992,114.315 38.992,111.906 z"
+ style="fill:url(#linearGradient3175)"
+ id="path160" />
+ <linearGradient
+ id="XMLID_14_"
+ gradientUnits="userSpaceOnUse"
+ x1="49.4263"
+ y1="109.792"
+ x2="49.4263"
+ y2="117.86">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,167,0)"
+ id="stop163" />
+ <stop
+ offset="0.691"
+ style="stop-color:rgb(255,255,0)"
+ id="stop165" />
+ <stop
+ offset="0.792"
+ style="stop-color:rgb(255,252,0)"
+ id="stop167" />
+ <stop
+ offset="0.8546"
+ style="stop-color:rgb(255,244,0)"
+ id="stop169" />
+ <stop
+ offset="0.9067"
+ style="stop-color:rgb(255,229,0)"
+ id="stop171" />
+ <stop
+ offset="0.953"
+ style="stop-color:rgb(255,209,0)"
+ id="stop173" />
+ <stop
+ offset="0.9952"
+ style="stop-color:rgb(255,183,0)"
+ id="stop175" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(255,179,0)"
+ id="stop177" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFA700" />
+ <a:midPointStop
+ offset="0.5"
+ style="stop-color:#FFA700" />
+ <a:midPointStop
+ offset="0.691"
+ style="stop-color:#FFFF00" />
+ <a:midPointStop
+ offset="0.7952"
+ style="stop-color:#FFFF00" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#FFB300" />
+ </linearGradient>
+ <path
+ d="M 60.382,111.906 C 60.382,114.439 55.476,116.491 49.425,116.491 C 43.374,116.491 38.47,114.439 38.47,111.906 C 38.47,109.374 43.374,107.321 49.425,107.321 C 55.476,107.321 60.382,109.374 60.382,111.906 z"
+ style="fill:url(#linearGradient3177)"
+ id="path179" />
+ <radialGradient
+ id="XMLID_15_"
+ cx="50.122101"
+ cy="-1005.98"
+ r="17.6775"
+ fx="50.122101"
+ fy="-1005.98"
+ gradientTransform="matrix(0.9706,0,0,0.4062,0.2742,524.622)"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,255,0)"
+ id="stop182" />
+ <stop
+ offset="0.1643"
+ style="stop-color:rgb(255,241,0)"
+ id="stop184" />
+ <stop
+ offset="0.7192"
+ style="stop-color:rgb(255,196,0)"
+ id="stop186" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(255,179,0)"
+ id="stop188" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFFF00" />
+ <a:midPointStop
+ offset="0.4463"
+ style="stop-color:#FFFF00" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#FFB300" />
+ </radialGradient>
+ <path
+ d="M 59.397,112.671 C 59.397,114.576 54.933,116.121 49.425,116.121 C 43.918,116.121 39.454,114.576 39.454,112.671 C 39.454,110.767 43.918,109.222 49.425,109.222 C 54.933,109.222 59.397,110.767 59.397,112.671 z"
+ style="fill:url(#radialGradient3179)"
+ id="path190" />
+ <linearGradient
+ id="XMLID_16_"
+ gradientUnits="userSpaceOnUse"
+ x1="49.4263"
+ y1="107.75"
+ x2="49.4263"
+ y2="112.283">
+ <stop
+ offset="9.77011%"
+ style="stop-color:rgb(255,255,255)"
+ id="stop193" />
+ <stop
+ offset="100%"
+ style="stop-opacity:0;stop-color:rgb(255,255,255)"
+ id="stop195" />
+ </linearGradient>
+ <path
+ a:adobe-blending-mode="screen"
+ d="M 58.592,110.335 C 58.592,111.863 54.488,113.105 49.425,113.105 C 44.363,113.105 40.26,111.864 40.26,110.335 C 40.26,108.806 44.363,107.567 49.425,107.567 C 54.488,107.567 58.592,108.807 58.592,110.335 z"
+ style="fill:url(#linearGradient3181)"
+ id="path197" />
+ </g>
+ <g
+ id="g199">
+ <linearGradient
+ id="XMLID_17_"
+ gradientUnits="userSpaceOnUse"
+ x1="20.0718"
+ y1="118.006"
+ x2="20.0718"
+ y2="105.762">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,194,0)"
+ id="stop202" />
+ <stop
+ offset="0.1548"
+ style="stop-color:rgb(247,181,0)"
+ id="stop204" />
+ <stop
+ offset="0.716"
+ style="stop-color:rgb(222,136,0)"
+ id="stop206" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(212,119,0)"
+ id="stop208" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFC200" />
+ <a:midPointStop
+ offset="0.4463"
+ style="stop-color:#FFC200" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#D47700" />
+ </linearGradient>
+ <path
+ d="M 8.595,112.155 C 8.595,114.805 13.743,116.96 20.072,116.96 C 26.401,116.96 31.55,114.806 31.55,112.155 C 31.55,109.508 26.401,107.352 20.072,107.352 C 13.743,107.352 8.595,109.508 8.595,112.155 z M 9.637,112.155 C 9.637,109.747 14.319,107.788 20.072,107.788 C 25.825,107.788 30.505,109.747 30.505,112.155 C 30.505,114.563 25.826,116.523 20.072,116.523 C 14.319,116.523 9.637,114.563 9.637,112.155 z"
+ style="fill:url(#linearGradient3183)"
+ id="path210" />
+ <linearGradient
+ id="XMLID_18_"
+ gradientUnits="userSpaceOnUse"
+ x1="20.0718"
+ y1="110.042"
+ x2="20.0718"
+ y2="118.111">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,167,0)"
+ id="stop213" />
+ <stop
+ offset="0.691"
+ style="stop-color:rgb(255,255,0)"
+ id="stop215" />
+ <stop
+ offset="0.792"
+ style="stop-color:rgb(255,252,0)"
+ id="stop217" />
+ <stop
+ offset="0.8546"
+ style="stop-color:rgb(255,244,0)"
+ id="stop219" />
+ <stop
+ offset="0.9067"
+ style="stop-color:rgb(255,229,0)"
+ id="stop221" />
+ <stop
+ offset="0.953"
+ style="stop-color:rgb(255,209,0)"
+ id="stop223" />
+ <stop
+ offset="0.9952"
+ style="stop-color:rgb(255,183,0)"
+ id="stop225" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(255,179,0)"
+ id="stop227" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFA700" />
+ <a:midPointStop
+ offset="0.5"
+ style="stop-color:#FFA700" />
+ <a:midPointStop
+ offset="0.691"
+ style="stop-color:#FFFF00" />
+ <a:midPointStop
+ offset="0.7952"
+ style="stop-color:#FFFF00" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#FFB300" />
+ </linearGradient>
+ <path
+ d="M 31.028,112.155 C 31.028,114.689 26.123,116.743 20.072,116.743 C 14.02,116.743 9.116,114.689 9.116,112.155 C 9.116,109.624 14.02,107.571 20.072,107.571 C 26.123,107.571 31.028,109.624 31.028,112.155 z"
+ style="fill:url(#linearGradient3185)"
+ id="path229" />
+ <radialGradient
+ id="XMLID_19_"
+ cx="19.8799"
+ cy="-1005.37"
+ r="17.6759"
+ fx="19.8799"
+ fy="-1005.37"
+ gradientTransform="matrix(0.9706,0,0,0.4062,0.2742,524.622)"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ offset="0"
+ style="stop-color:rgb(255,255,0)"
+ id="stop232" />
+ <stop
+ offset="0.1643"
+ style="stop-color:rgb(255,241,0)"
+ id="stop234" />
+ <stop
+ offset="0.7192"
+ style="stop-color:rgb(255,196,0)"
+ id="stop236" />
+ <stop
+ offset="1"
+ style="stop-color:rgb(255,179,0)"
+ id="stop238" />
+ <a:midPointStop
+ offset="0"
+ style="stop-color:#FFFF00" />
+ <a:midPointStop
+ offset="0.4463"
+ style="stop-color:#FFFF00" />
+ <a:midPointStop
+ offset="1"
+ style="stop-color:#FFB300" />
+ </radialGradient>
+ <path
+ d="M 30.043,112.92 C 30.043,114.826 25.579,116.371 20.072,116.371 C 14.565,116.371 10.101,114.826 10.101,112.92 C 10.101,111.017 14.565,109.472 20.072,109.472 C 25.579,109.472 30.043,111.017 30.043,112.92 z"
+ style="fill:url(#radialGradient3187)"
+ id="path240" />
+ <linearGradient
+ id="XMLID_20_"
+ gradientUnits="userSpaceOnUse"
+ x1="20.0718"
+ y1="107.999"
+ x2="20.0718"
+ y2="112.532">
+ <stop
+ offset="10.9195%"
+ style="stop-color:rgb(255,255,255)"
+ id="stop243" />
+ <stop
+ offset="100%"
+ style="stop-opacity:0;stop-color:rgb(255,255,255)"
+ id="stop245" />
+ </linearGradient>
+ <path
+ a:adobe-blending-mode="screen"
+ d="M 29.238,110.584 C 29.238,112.113 25.134,113.354 20.071,113.354 C 15.008,113.354 10.904,112.114 10.904,110.584 C 10.904,109.056 15.008,107.816 20.071,107.816 C 25.134,107.816 29.238,109.056 29.238,110.584 z"
+ style="fill:url(#linearGradient3189)"
+ id="path247" />
+ </g>
+ </g>
+ <path
+ d="M 58.257,80.14 L 53.519,87.286 L 58.257,87.112 L 58.257,80.14 z"
+ id="path249" />
+ </g>
+<text
+ xml:space="preserve"
+ style="font-size:32px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Courier 10 Pitch;-inkscape-font-specification:Courier 10 Pitch"
+ x="38.191769"
+ y="79.055565"
+ id="text3090"><tspan
+ sodipodi:role="line"
+ id="tspan3092"
+ x="38.191769"
+ y="79.055565">abc</tspan></text>
+</svg>
\ No newline at end of file
Modified: tuxtype/trunk/src/setup.c
===================================================================
--- tuxtype/trunk/src/setup.c 2009-02-17 11:58:31 UTC (rev 892)
+++ tuxtype/trunk/src/setup.c 2009-02-17 13:29:03 UTC (rev 893)
@@ -45,6 +45,7 @@
int fs_res_y = 0;
/* Local function prototypes: */
+static void seticon(void);
static int load_settings_fp(FILE* fp);
static int load_settings_filename(const char* fn);
@@ -56,6 +57,11 @@
const SDL_VideoInfo* video_info = SDL_GetVideoInfo();
Uint32 surface_mode = 0;
+ //Set application's icon:
+ seticon();
+ //Set caption:
+ SDL_WM_SetCaption("Tux Typing", "TuxType");
+
if (video_info->hw_available)
{
surface_mode = SDL_HWSURFACE;
@@ -132,6 +138,8 @@
InitEngine();
+
+
DEBUGCODE
{
video_info = SDL_GetVideoInfo();
@@ -486,6 +494,34 @@
}
+/* Set the application's icon: */
+
+static void seticon(void)
+{
+ SDL_Surface* icon;
+ int colorkey;
+
+ /* Load icon into a surface: */
+ icon = IMG_Load(DATA_PREFIX "/images/icons/icon.png");
+ if (icon == NULL)
+ {
+ fprintf(stderr,
+ "\nWarning: I could not load the icon image: %s\n"
+ "The Simple DirectMedia error that occured was:\n"
+ "%s\n\n", DATA_PREFIX "/images/icons/icon.png", SDL_GetError());
+ return;
+ }
+
+ /* Set up key for transparency: */
+ colorkey = SDL_MapRGB(icon->format, 255, 0, 255);
+ SDL_SetColorKey(icon, SDL_SRCCOLORKEY, colorkey);
+
+ SDL_WM_SetIcon(icon,NULL);
+
+ SDL_FreeSurface(icon);
+}
+
+
void Cleanup(void)
{
SDL_FreeSurface(screen);
More information about the Tux4kids-commits
mailing list