gnome-edu r9 - in trunk/garfunkel: . pixmaps pixmaps/default src



Author: brunobol
Date: Fri Apr 25 11:01:27 2008
New Revision: 9
URL: http://svn.gnome.org/viewvc/gnome-edu?rev=9&view=rev

Log:
Garfunkel - more simple theme (librsvg is slow using blur in SVGs)

Modified:
   trunk/garfunkel/configure.ac
   trunk/garfunkel/pixmaps/Makefile.am
   trunk/garfunkel/pixmaps/default/garfunkel.svg
   trunk/garfunkel/src/Makefile.am
   trunk/garfunkel/src/garfunkel.c

Modified: trunk/garfunkel/configure.ac
==============================================================================
--- trunk/garfunkel/configure.ac	(original)
+++ trunk/garfunkel/configure.ac	Fri Apr 25 11:01:27 2008
@@ -24,6 +24,7 @@
         Makefile
         pixmaps/Makefile
         pixmaps/default/Makefile
+        pixmaps/simple/Makefile
         src/Makefile
 ])
 AC_OUTPUT

Modified: trunk/garfunkel/pixmaps/Makefile.am
==============================================================================
--- trunk/garfunkel/pixmaps/Makefile.am	(original)
+++ trunk/garfunkel/pixmaps/Makefile.am	Fri Apr 25 11:01:27 2008
@@ -1,2 +1,2 @@
-SUBDIRS = default
+SUBDIRS = default simple
 

Modified: trunk/garfunkel/pixmaps/default/garfunkel.svg
==============================================================================
--- trunk/garfunkel/pixmaps/default/garfunkel.svg	(original)
+++ trunk/garfunkel/pixmaps/default/garfunkel.svg	Fri Apr 25 11:01:27 2008
@@ -15,8 +15,8 @@
    sodipodi:version="0.32"
    inkscape:version="0.45.1"
    version="1.0"
-   sodipodi:docbase="/home/bruno/development/simon/pixmaps/default"
-   sodipodi:docname="background.svg"
+   sodipodi:docbase="/home/bruno/development/gnome/subversion/gnome-edu/garfunkel/pixmaps/default"
+   sodipodi:docname="garfunkel.svg"
    inkscape:output_extension="org.inkscape.output.svg.inkscape">
   <defs
      id="defs4">
@@ -1295,7 +1295,8 @@
      inkscape:groupmode="layer"
      id="layer1">
     <g
-       id="background">
+       id="background"
+       transform="matrix(1.0361252,0,0,1.0361252,-1.8062601,-1.8062598)">
       <path
          id="path3458"
          d="M 95.843882,49.999999 C 95.843882,75.305824 75.305833,95.843882 50.00001,95.843882 C 24.694177,95.843882 4.1561181,75.305824 4.1561181,49.999999 C 4.1561181,24.694176 24.694177,4.1561177 50.00001,4.1561177 C 75.305833,4.1561177 95.843882,24.694176 95.843882,49.999999 z "
@@ -1318,7 +1319,7 @@
          inkscape:original="M 46.96875 10.09375 C 27.257546 11.560895 11.560897 27.257543 10.09375 46.96875 C 10.093105 46.979157 10.093105 46.989593 10.09375 47 C 10.08553 47.15159 10.172522 47.270412 10.28125 47.375 C 10.37143 47.469309 10.462839 47.554283 10.59375 47.5625 C 10.604157 47.563145 10.614593 47.563145 10.625 47.5625 L 29.28125 47.5625 C 29.291657 47.563145 29.302093 47.563145 29.3125 47.5625 C 29.363579 47.555473 29.422068 47.55281 29.46875 47.53125 C 29.482337 47.526316 29.486937 47.506013 29.5 47.5 C 29.572779 47.466501 29.637045 47.406191 29.6875 47.34375 C 29.69408 47.336351 29.681372 47.320236 29.6875 47.3125 C 29.738274 47.248404 29.796167 47.205403 29.8125 47.125 C 29.813145 47.114593 29.813145 47.104157 29.8125 47.09375 C 31.088417 38.129978 38.129969 31.088409 47.09375 29.8125 C 47.104157 29.813145 47.114593 29.813145 47.125 29.8125 C 47.22883 29.79207 47.301547 29.731453 47.375 29.65625 L 47.375 29.625 L 47.40625 29.625 C 47.493755 29.535991 47.55462
 1 29.438031 47.5625 29.3125 C 47.563145 29.302093 47.563145 29.291657 47.5625 29.28125 L 47.5625 10.625 C 47.563145 10.614593 47.563145 10.604157 47.5625 10.59375 C 47.555473 10.542671 47.55281 10.484182 47.53125 10.4375 C 47.529136 10.431677 47.502315 10.44323 47.5 10.4375 C 47.496913 10.42986 47.503436 10.413715 47.5 10.40625 C 47.466501 10.333471 47.406191 10.269205 47.34375 10.21875 C 47.335611 10.211914 47.320997 10.225043 47.3125 10.21875 C 47.215172 10.146666 47.121561 10.087047 47 10.09375 C 46.989593 10.093105 46.979157 10.093105 46.96875 10.09375 z M 52.875 10.09375 C 52.77117 10.11418 52.698453 10.174797 52.625 10.25 C 52.617481 10.256413 52.632105 10.274456 52.625 10.28125 C 52.530691 10.37143 52.445717 10.462839 52.4375 10.59375 C 52.436855 10.604157 52.436855 10.614593 52.4375 10.625 L 52.4375 29.28125 C 52.436855 29.291657 52.436855 29.302093 52.4375 29.3125 C 52.444527 29.363579 52.44719 29.422068 52.46875 29.46875 C 52.473684 29.482337 52.493987 29.486937 52
 .5 29.5 C 52.533499 29.572779 52.593809 29.637045 52.65625 29.6875 L 52.6875 29.6875 C 52.751596 29.738274 52.794597 29.796167 52.875 29.8125 C 52.885407 29.813145 52.895843 29.813145 52.90625 29.8125 C 61.870031 31.088409 68.911593 38.129975 70.1875 47.09375 C 70.186855 47.104157 70.186855 47.114593 70.1875 47.125 C 70.209132 47.234937 70.292454 47.299939 70.375 47.375 C 70.46518 47.469309 70.556589 47.554283 70.6875 47.5625 C 70.697907 47.563145 70.708343 47.563145 70.71875 47.5625 L 89.375 47.5625 C 89.385407 47.563145 89.395843 47.563145 89.40625 47.5625 C 89.457329 47.555473 89.515818 47.55281 89.5625 47.53125 C 89.576087 47.526316 89.580687 47.506013 89.59375 47.5 C 89.666529 47.466501 89.730795 47.406191 89.78125 47.34375 C 89.788086 47.335611 89.774957 47.320997 89.78125 47.3125 C 89.853334 47.215172 89.912953 47.121561 89.90625 47 C 89.906895 46.989593 89.906895 46.979157 89.90625 46.96875 C 88.439103 27.257546 72.742454 11.560895 53.03125 10.09375 C 52.990968 10.08
 9029 52.946532 10.089029 52.90625 10.09375 C 52.895843 10.093105 52.885407 10.093105 52.875 10.09375 z M 10.5 52.4375 C 10.479167 52.447917 10.395833 52.489583 10.375 52.5 C 10.311315 52.533045 10.26403 52.600213 10.21875 52.65625 L 10.21875 52.6875 C 10.146666 52.784828 10.087047 52.878439 10.09375 53 C 10.093105 53.010407 10.093105 53.020843 10.09375 53.03125 C 11.560897 72.742458 27.257546 88.439105 46.96875 89.90625 C 46.979157 89.906895 46.989593 89.906895 47 89.90625 C 47.146852 89.914213 47.271116 89.852279 47.375 89.75 L 47.375 89.71875 L 47.40625 89.71875 C 47.493755 89.629741 47.554621 89.531781 47.5625 89.40625 C 47.563145 89.395843 47.563145 89.385407 47.5625 89.375 L 47.5625 70.71875 C 47.563145 70.708343 47.563145 70.697907 47.5625 70.6875 C 47.555473 70.636421 47.55281 70.577932 47.53125 70.53125 C 47.529136 70.525427 47.502315 70.53698 47.5 70.53125 C 47.496913 70.52361 47.503436 70.507465 47.5 70.5 C 47.466501 70.427221 47.406191 70.362955 47.34375 70.3125 C
  47.336351 70.30592 47.320236 70.318628 47.3125 70.3125 C 47.248404 70.261726 47.205403 70.203833 47.125 70.1875 C 47.114593 70.186855 47.104157 70.186855 47.09375 70.1875 C 38.129969 68.911593 31.088407 61.870025 29.8125 52.90625 C 29.813145 52.895843 29.813145 52.885407 29.8125 52.875 C 29.79207 52.77117 29.731453 52.698453 29.65625 52.625 C 29.649837 52.617481 29.631794 52.632105 29.625 52.625 C 29.53482 52.530691 29.443411 52.445717 29.3125 52.4375 C 29.302093 52.436855 29.291657 52.436855 29.28125 52.4375 L 10.625 52.4375 C 10.604803 52.436322 10.613947 52.436322 10.59375 52.4375 C 10.562774 52.431647 10.530976 52.431647 10.5 52.4375 z M 70.59375 52.4375 C 70.572917 52.447917 70.489583 52.489583 70.46875 52.5 C 70.405065 52.533045 70.35778 52.600213 70.3125 52.65625 L 70.3125 52.6875 C 70.261726 52.751596 70.203833 52.794597 70.1875 52.875 C 70.186855 52.885407 70.186855 52.895843 70.1875 52.90625 C 68.911593 61.870027 61.870031 68.911591 52.90625 70.1875 C 52.895843 70
 .186855 52.885407 70.186855 52.875 70.1875 C 52.77117 70.20793 52.698453 70.268547 52.625 70.34375 C 52.617481 70.350163 52.632105 70.368206 52.625 70.375 C 52.530691 70.46518 52.445717 70.556589 52.4375 70.6875 C 52.436855 70.697907 52.436855 70.708343 52.4375 70.71875 L 52.4375 89.375 C 52.436855 89.385407 52.436855 89.395843 52.4375 89.40625 C 52.444527 89.457329 52.44719 89.515818 52.46875 89.5625 C 52.473684 89.576087 52.493987 89.580687 52.5 89.59375 C 52.533499 89.666529 52.593809 89.730795 52.65625 89.78125 L 52.6875 89.78125 C 52.784828 89.853334 52.878439 89.912953 53 89.90625 C 53.010407 89.906895 53.020843 89.906895 53.03125 89.90625 C 72.742454 88.439107 88.439103 72.742456 89.90625 53.03125 C 89.906895 53.020843 89.906895 53.010407 89.90625 53 C 89.914213 52.853148 89.852279 52.728884 89.75 52.625 C 89.743587 52.617481 89.725544 52.632105 89.71875 52.625 C 89.62857 52.530691 89.537161 52.445717 89.40625 52.4375 C 89.395843 52.436855 89.385407 52.436855 89.375 5
 2.4375 L 70.71875 52.4375 C 70.698553 52.436322 70.707697 52.436322 70.6875 52.4375 C 70.656524 52.431647 70.624726 52.431647 70.59375 52.4375 z "
          style="fill:#eeeeec;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:2, 1;stroke-dashoffset:0;stroke-opacity:1"
          id="path2317"
-         d="M 46.96875,10.34375 C 27.394918,11.815991 11.800988,27.421924 10.34375,47 C 10.341117,47.048559 10.380335,47.102452 10.46875,47.1875 C 10.552403,47.274983 10.595114,47.310624 10.625,47.3125 L 29.28125,47.3125 C 29.281282,47.312502 29.312468,47.312502 29.3125,47.3125 L 29.3125,47.34375 C 29.317229,47.336152 29.332586,47.323917 29.34375,47.3125 C 29.350129,47.305976 29.365874,47.3196 29.375,47.3125 C 29.374353,47.302093 29.374353,47.291657 29.375,47.28125 C 29.386494,47.274039 29.391189,47.288183 29.40625,47.28125 C 29.409523,47.279743 29.43309,47.284066 29.4375,47.28125 C 29.44191,47.278434 29.432242,47.253976 29.4375,47.25 C 29.437752,47.248805 29.499234,47.157217 29.5,47.15625 C 29.557376,47.08382 29.559765,47.091133 29.5625,47.09375 C 29.561853,47.083343 29.561853,47.072907 29.5625,47.0625 C 30.854041,37.988963 37.988953,30.854033 47.0625,29.5625 C 47.072907,29.561853 47.083343,29.561853 47.09375,29.5625 C 47.111142,29.556833 47.13148,29.522173 47.15625,29.5 C 
 47.165731,29.488688 47.176188,29.478231 47.1875,29.46875 C 47.196981,29.457438 47.207438,29.446981 47.21875,29.4375 C 47.233732,29.42226 47.239713,29.418743 47.25,29.40625 C 47.259481,29.394938 47.269938,29.384481 47.28125,29.375 C 47.295704,29.350187 47.310746,29.309191 47.3125,29.28125 L 47.3125,10.625 C 47.305128,10.615658 47.321258,10.604867 47.3125,10.59375 C 47.303742,10.582633 47.319857,10.571852 47.3125,10.5625 C 47.301464,10.548471 47.281293,10.531357 47.28125,10.53125 C 47.281096,10.530868 47.284392,10.511343 47.28125,10.5 C 47.276537,10.482985 47.251139,10.479672 47.25,10.46875 C 47.249051,10.459648 47.250113,10.444325 47.25,10.4375 C 47.245013,10.431683 47.2246,10.443588 47.21875,10.4375 C 47.218174,10.437249 47.156781,10.406643 47.15625,10.40625 C 47.067616,10.340605 47.032494,10.341958 47,10.34375 L 46.96875,10.34375 z M 52.90625,10.34375 C 52.888858,10.349417 52.86852,10.384077 52.84375,10.40625 C 52.833081,10.424523 52.819445,10.425724 52.8125,10.4375 C 52.80
 787,10.44535 52.812678,10.46858 52.8125,10.46875 C 52.725017,10.552403 52.689376,10.595114 52.6875,10.625 L 52.6875,29.28125 C 52.690631,29.304011 52.684993,29.297817 52.6875,29.3125 C 52.682195,29.307332 52.660215,29.315343 52.65625,29.3125 C 52.663848,29.317229 52.676083,29.332586 52.6875,29.34375 C 52.705441,29.361293 52.699685,29.364832 52.71875,29.40625 C 52.720257,29.409523 52.715934,29.43309 52.71875,29.4375 C 52.721566,29.44191 52.746024,29.432242 52.75,29.4375 C 52.761312,29.446981 52.771769,29.457438 52.78125,29.46875 C 52.787101,29.474838 52.805935,29.46268 52.8125,29.46875 C 52.823812,29.478231 52.834269,29.488688 52.84375,29.5 C 52.91618,29.557376 52.908867,29.559766 52.90625,29.5625 C 52.905465,29.56332 52.94124,29.56326 52.9375,29.5625 C 62.011047,30.854033 69.145969,37.988959 70.4375,47.0625 C 70.438147,47.072907 70.438147,47.083343 70.4375,47.09375 C 70.444214,47.105128 70.454463,47.117676 70.53125,47.1875 C 70.541657,47.186853 70.552093,47.186853 70.5625,47
 .1875 C 70.646153,47.274983 70.688864,47.310624 70.71875,47.3125 L 89.375,47.3125 C 89.375032,47.312502 89.406218,47.312502 89.40625,47.3125 L 89.40625,47.34375 C 89.410979,47.336152 89.426336,47.323917 89.4375,47.3125 C 89.453373,47.300526 89.439147,47.292 89.46875,47.28125 C 89.480244,47.274039 89.484939,47.288183 89.5,47.28125 C 89.503273,47.279743 89.52684,47.284066 89.53125,47.28125 C 89.53566,47.278434 89.525992,47.253976 89.53125,47.25 C 89.534609,47.233918 89.562249,47.219326 89.5625,47.21875 C 89.562751,47.218174 89.593357,47.156781 89.59375,47.15625 C 89.659395,47.067616 89.658042,47.032494 89.65625,47 C 89.656252,46.999968 89.656252,46.968782 89.65625,46.96875 C 88.198238,27.380274 72.588476,11.80176 53,10.34375 C 52.980985,10.341521 52.956515,10.341521 52.9375,10.34375 C 52.932205,10.344792 52.911219,10.342131 52.90625,10.34375 z M 10.53125,52.6875 C 10.520833,52.697917 10.479167,52.71875 10.46875,52.71875 C 10.363828,52.86924 10.730366,52.515939 10.4375,52.78125
  C 10.431264,52.788293 10.445198,52.803468 10.4375,52.8125 C 10.428019,52.823812 10.417562,52.834269 10.40625,52.84375 C 10.340605,52.932384 10.341958,52.967506 10.34375,53 C 10.343748,53.000032 10.343748,53.031218 10.34375,53.03125 C 11.801762,72.61973 27.411524,88.19824 47,89.65625 C 47.054947,89.659229 47.106808,89.633428 47.15625,89.59375 C 47.165731,89.582438 47.176188,89.571981 47.1875,89.5625 C 47.196981,89.551188 47.207438,89.540731 47.21875,89.53125 C 47.233732,89.51601 47.239713,89.512493 47.25,89.5 C 47.259481,89.488688 47.269938,89.478231 47.28125,89.46875 C 47.295704,89.443937 47.310746,89.402941 47.3125,89.375 L 47.3125,70.71875 C 47.305128,70.709408 47.321258,70.698617 47.3125,70.6875 C 47.303742,70.676383 47.319857,70.665602 47.3125,70.65625 C 47.301464,70.642221 47.281293,70.625107 47.28125,70.625 C 47.281096,70.624618 47.284392,70.605093 47.28125,70.59375 C 47.276537,70.576735 47.251139,70.573422 47.25,70.5625 C 47.24908,70.562306 47.216818,70.513876 47.187
 5,70.5 C 47.178705,70.495837 47.156473,70.500177 47.15625,70.5 C 47.08382,70.442624 47.091133,70.440235 47.09375,70.4375 C 47.094535,70.43668 47.05876,70.43674 47.0625,70.4375 C 37.988953,69.145969 30.854031,62.011041 29.5625,52.9375 C 29.561853,52.927093 29.561853,52.916657 29.5625,52.90625 C 29.556833,52.888858 29.522173,52.86852 29.5,52.84375 C 29.481727,52.833081 29.480526,52.819445 29.46875,52.8125 C 29.4609,52.80787 29.43767,52.812678 29.4375,52.8125 C 29.353847,52.725017 29.311136,52.689376 29.28125,52.6875 L 10.625,52.6875 C 10.605742,52.697129 10.559496,52.673377 10.53125,52.6875 z M 70.625,52.6875 C 70.614583,52.697917 70.572917,52.71875 70.5625,52.71875 C 70.563147,52.729157 70.563147,52.739593 70.5625,52.75 C 70.553019,52.761312 70.542562,52.771769 70.53125,52.78125 C 70.525014,52.788293 70.538948,52.803468 70.53125,52.8125 C 70.521769,52.823812 70.511312,52.834269 70.5,52.84375 C 70.442624,52.91618 70.440234,52.908867 70.4375,52.90625 C 70.43668,52.905465 70.436
 74,52.94124 70.4375,52.9375 C 69.145969,62.011043 62.011047,69.145967 52.9375,70.4375 C 52.932205,70.438542 52.911219,70.435881 52.90625,70.4375 C 52.888858,70.443167 52.86852,70.477827 52.84375,70.5 C 52.831365,70.511087 52.830047,70.513285 52.8125,70.53125 C 52.80787,70.5391 52.812678,70.56233 52.8125,70.5625 C 52.725017,70.646153 52.689376,70.688864 52.6875,70.71875 L 52.6875,89.375 C 52.690631,89.397761 52.684993,89.391567 52.6875,89.40625 C 52.682195,89.401082 52.660215,89.409093 52.65625,89.40625 C 52.663848,89.410979 52.676083,89.426336 52.6875,89.4375 C 52.705441,89.455043 52.699685,89.458582 52.71875,89.5 C 52.720257,89.503273 52.715934,89.52684 52.71875,89.53125 C 52.721566,89.53566 52.746024,89.525992 52.75,89.53125 C 52.761312,89.540731 52.771769,89.551188 52.78125,89.5625 C 52.787101,89.568588 52.805935,89.55643 52.8125,89.5625 C 52.823812,89.571981 52.834269,89.582438 52.84375,89.59375 C 52.932384,89.659395 52.967506,89.658042 53,89.65625 C 53.000032,89.656252 
 53.031218,89.656252 53.03125,89.65625 C 72.619726,88.198242 88.198238,72.588478 89.65625,53 C 89.659478,52.940474 89.610479,52.898937 89.5625,52.84375 C 89.557374,52.840741 89.566425,52.814815 89.5625,52.8125 C 89.55465,52.80787 89.53142,52.812678 89.53125,52.8125 C 89.447597,52.725017 89.404886,52.689376 89.375,52.6875 L 70.71875,52.6875 C 70.699492,52.697129 70.653246,52.673377 70.625,52.6875 z " />
+         d="M 46.96875,10.34375 C 27.394918,11.815991 11.800988,27.421924 10.34375,47 C 10.341117,47.048559 10.380335,47.102452 10.46875,47.1875 C 10.552403,47.274983 10.595114,47.310624 10.625,47.3125 L 29.28125,47.3125 C 29.281282,47.312502 29.312468,47.312502 29.3125,47.3125 L 29.3125,47.34375 C 29.317229,47.336152 29.332586,47.323917 29.34375,47.3125 C 29.350129,47.305976 29.365874,47.3196 29.375,47.3125 C 29.374353,47.302093 29.374353,47.291657 29.375,47.28125 C 29.386494,47.274039 29.391189,47.288183 29.40625,47.28125 C 29.409523,47.279743 29.43309,47.284066 29.4375,47.28125 C 29.44191,47.278434 29.432242,47.253976 29.4375,47.25 C 29.437752,47.248805 29.499234,47.157217 29.5,47.15625 C 29.557376,47.08382 29.559765,47.091133 29.5625,47.09375 C 29.561853,47.083343 29.561853,47.072907 29.5625,47.0625 C 30.854041,37.988963 37.988953,30.854033 47.0625,29.5625 C 47.072907,29.561853 47.083343,29.561853 47.09375,29.5625 C 47.111142,29.556833 47.13148,29.522173 47.15625,29.5 C 
 47.165731,29.488688 47.176188,29.478231 47.1875,29.46875 C 47.196981,29.457438 47.207438,29.446981 47.21875,29.4375 C 47.233732,29.42226 47.239713,29.418743 47.25,29.40625 C 47.259481,29.394938 47.269938,29.384481 47.28125,29.375 C 47.295704,29.350187 47.310746,29.309191 47.3125,29.28125 L 47.3125,10.625 C 47.305128,10.615658 47.321258,10.604867 47.3125,10.59375 C 47.303742,10.582633 47.319857,10.571852 47.3125,10.5625 C 47.301464,10.548471 47.281293,10.531357 47.28125,10.53125 C 47.281096,10.530868 47.284392,10.511343 47.28125,10.5 C 47.276537,10.482985 47.251139,10.479672 47.25,10.46875 C 47.249051,10.459648 47.250113,10.444325 47.25,10.4375 C 47.245013,10.431683 47.2246,10.443588 47.21875,10.4375 C 47.218174,10.437249 47.156781,10.406643 47.15625,10.40625 C 47.067616,10.340605 47.032494,10.341958 47,10.34375 L 46.96875,10.34375 z M 52.90625,10.34375 C 52.888858,10.349417 52.86852,10.384077 52.84375,10.40625 C 52.833081,10.424523 52.819445,10.425724 52.8125,10.4375 C 52.80
 787,10.44535 52.812678,10.46858 52.8125,10.46875 C 52.725017,10.552403 52.689376,10.595114 52.6875,10.625 L 52.6875,29.28125 C 52.690631,29.304011 52.684993,29.297817 52.6875,29.3125 C 52.682195,29.307332 52.660215,29.315343 52.65625,29.3125 C 52.663848,29.317229 52.676083,29.332586 52.6875,29.34375 C 52.705441,29.361293 52.699685,29.364832 52.71875,29.40625 C 52.720257,29.409523 52.715934,29.43309 52.71875,29.4375 C 52.721566,29.44191 52.746024,29.432242 52.75,29.4375 C 52.761312,29.446981 52.771769,29.457438 52.78125,29.46875 C 52.787101,29.474838 52.805935,29.46268 52.8125,29.46875 C 52.823812,29.478231 52.834269,29.488688 52.84375,29.5 C 52.91618,29.557376 52.908867,29.559766 52.90625,29.5625 C 52.905465,29.56332 52.94124,29.56326 52.9375,29.5625 C 62.011047,30.854033 69.145969,37.988959 70.4375,47.0625 C 70.438147,47.072907 70.438147,47.083343 70.4375,47.09375 C 70.444214,47.105128 70.454463,47.117676 70.53125,47.1875 C 70.541657,47.186853 70.552093,47.186853 70.5625,47
 .1875 C 70.646153,47.274983 70.688864,47.310624 70.71875,47.3125 L 89.375,47.3125 C 89.375032,47.312502 89.406218,47.312502 89.40625,47.3125 L 89.40625,47.34375 C 89.410979,47.336152 89.426336,47.323917 89.4375,47.3125 C 89.453373,47.300526 89.439147,47.292 89.46875,47.28125 C 89.480244,47.274039 89.484939,47.288183 89.5,47.28125 C 89.503273,47.279743 89.52684,47.284066 89.53125,47.28125 C 89.53566,47.278434 89.525992,47.253976 89.53125,47.25 C 89.534609,47.233918 89.562249,47.219326 89.5625,47.21875 C 89.562751,47.218174 89.593357,47.156781 89.59375,47.15625 C 89.659395,47.067616 89.658042,47.032494 89.65625,47 C 89.656252,46.999968 89.656252,46.968782 89.65625,46.96875 C 88.198238,27.380274 72.588476,11.80176 53,10.34375 C 52.980985,10.341521 52.956515,10.341521 52.9375,10.34375 C 52.932205,10.344792 52.911219,10.342131 52.90625,10.34375 z M 10.53125,52.6875 C 10.517127,52.694561 10.506245,52.715627 10.5,52.71875 C 10.502486,52.71746 10.468875,52.7179 10.46875,52.71875 C 1
 0.468625,52.7196 10.471199,52.747047 10.46875,52.75 C 10.459269,52.761312 10.448812,52.771769 10.4375,52.78125 C 10.431264,52.788293 10.445198,52.803468 10.4375,52.8125 C 10.428019,52.823812 10.417562,52.834269 10.40625,52.84375 C 10.340605,52.932384 10.341958,52.967506 10.34375,53 C 10.343748,53.000032 10.343748,53.031218 10.34375,53.03125 C 11.801762,72.61973 27.411524,88.19824 47,89.65625 C 47.054947,89.659229 47.106808,89.633428 47.15625,89.59375 C 47.165731,89.582438 47.176188,89.571981 47.1875,89.5625 C 47.196981,89.551188 47.207438,89.540731 47.21875,89.53125 C 47.233732,89.51601 47.239713,89.512493 47.25,89.5 C 47.259481,89.488688 47.269938,89.478231 47.28125,89.46875 C 47.295704,89.443937 47.310746,89.402941 47.3125,89.375 L 47.3125,70.71875 C 47.305128,70.709408 47.321258,70.698617 47.3125,70.6875 C 47.303742,70.676383 47.319857,70.665602 47.3125,70.65625 C 47.301464,70.642221 47.281293,70.625107 47.28125,70.625 C 47.281096,70.624618 47.284392,70.605093 47.28125,70
 .59375 C 47.276537,70.576735 47.251139,70.573422 47.25,70.5625 C 47.24908,70.562306 47.216818,70.513876 47.1875,70.5 C 47.178705,70.495837 47.156473,70.500177 47.15625,70.5 C 47.08382,70.442624 47.091133,70.440235 47.09375,70.4375 C 47.094535,70.43668 47.05876,70.43674 47.0625,70.4375 C 37.988953,69.145969 30.854031,62.011041 29.5625,52.9375 C 29.561853,52.927093 29.561853,52.916657 29.5625,52.90625 C 29.556833,52.888858 29.522173,52.86852 29.5,52.84375 C 29.481727,52.833081 29.480526,52.819445 29.46875,52.8125 C 29.4609,52.80787 29.43767,52.812678 29.4375,52.8125 C 29.353847,52.725017 29.311136,52.689376 29.28125,52.6875 L 10.625,52.6875 C 10.605742,52.697129 10.559496,52.673377 10.53125,52.6875 z M 70.625,52.6875 C 70.610877,52.694561 70.599995,52.715627 70.59375,52.71875 C 70.596236,52.71746 70.562625,52.7179 70.5625,52.71875 C 70.563147,52.729157 70.563147,52.739593 70.5625,52.75 C 70.553019,52.761312 70.542562,52.771769 70.53125,52.78125 C 70.525014,52.788293 70.538948,
 52.803468 70.53125,52.8125 C 70.521769,52.823812 70.511312,52.834269 70.5,52.84375 C 70.442624,52.91618 70.440234,52.908867 70.4375,52.90625 C 70.43668,52.905465 70.43674,52.94124 70.4375,52.9375 C 69.145969,62.011043 62.011047,69.145967 52.9375,70.4375 C 52.932205,70.438542 52.911219,70.435881 52.90625,70.4375 C 52.888858,70.443167 52.86852,70.477827 52.84375,70.5 C 52.831365,70.511087 52.830047,70.513285 52.8125,70.53125 C 52.80787,70.5391 52.812678,70.56233 52.8125,70.5625 C 52.725017,70.646153 52.689376,70.688864 52.6875,70.71875 L 52.6875,89.375 C 52.690631,89.397761 52.684993,89.391567 52.6875,89.40625 C 52.682195,89.401082 52.660215,89.409093 52.65625,89.40625 C 52.663848,89.410979 52.676083,89.426336 52.6875,89.4375 C 52.705441,89.455043 52.699685,89.458582 52.71875,89.5 C 52.720257,89.503273 52.715934,89.52684 52.71875,89.53125 C 52.721566,89.53566 52.746024,89.525992 52.75,89.53125 C 52.761312,89.540731 52.771769,89.551188 52.78125,89.5625 C 52.787101,89.568588 52.
 805935,89.55643 52.8125,89.5625 C 52.823812,89.571981 52.834269,89.582438 52.84375,89.59375 C 52.932384,89.659395 52.967506,89.658042 53,89.65625 C 53.000032,89.656252 53.031218,89.656252 53.03125,89.65625 C 72.619726,88.198242 88.198238,72.588478 89.65625,53 C 89.659478,52.940474 89.610479,52.898937 89.5625,52.84375 C 89.557374,52.840741 89.566425,52.814815 89.5625,52.8125 C 89.55465,52.80787 89.53142,52.812678 89.53125,52.8125 C 89.447597,52.725017 89.404886,52.689376 89.375,52.6875 L 70.71875,52.6875 C 70.699492,52.697129 70.653246,52.673377 70.625,52.6875 z " />
       <g
          id="g10198">
         <path
@@ -1356,7 +1357,8 @@
       </g>
     </g>
     <g
-       id="g2475">
+       id="g2475"
+       transform="matrix(1.0361252,0,0,1.0361252,-1.80626,-1.80626)">
       <g
          id="green">
         <path
@@ -1404,7 +1406,7 @@
     </g>
     <g
        id="g2449"
-       transform="translate(-89.604338,-4.7683716e-7)">
+       transform="matrix(1.0361252,0,0,1.0361252,-94.647573,-1.8062605)">
       <g
          id="red-on">
         <g

Modified: trunk/garfunkel/src/Makefile.am
==============================================================================
--- trunk/garfunkel/src/Makefile.am	(original)
+++ trunk/garfunkel/src/Makefile.am	Fri Apr 25 11:01:27 2008
@@ -8,6 +8,7 @@
 	$(LIBS) \
 	$(WARN_FLAGS) \
 	-DDEFAULT_THEME_DIR=\""$(datadir)/garfunkel/pixmaps/default"\"	\
+	-DSIMPLE_THEME_DIR=\""$(datadir)/garfunkel/pixmaps/simple"\"	\
 	-DDATADIR=\"$(pkgdatadir)\" \
 	-I$(top_srcdir)
 
@@ -16,7 +17,7 @@
 bin_PROGRAMS = garfunkel
 garfunkel_SOURCES = main.c \
                  garfunkel.c \
-                 garfunkel.h
+                 garfunkel.h 
 
 CLEANFILES = *~
 

Modified: trunk/garfunkel/src/garfunkel.c
==============================================================================
--- trunk/garfunkel/src/garfunkel.c	(original)
+++ trunk/garfunkel/src/garfunkel.c	Fri Apr 25 11:01:27 2008
@@ -34,6 +34,8 @@
 
 G_DEFINE_TYPE (Garfunkel, garfunkel, GTK_TYPE_DRAWING_AREA);
 
+
+
 struct _GarfunkelPrivate {
   RsvgHandle *svg_handle;
 };
@@ -45,6 +47,11 @@
 garfunkel_init (Garfunkel* garfunkel)
 {
 	garfunkel->priv = g_new0 (GarfunkelPrivate, 1);
+	
+//	garfunkel->priv->green  = FALSE;
+//	garfunkel->priv->red    = FALSE;
+//	garfunkel->priv->blue   = FALSE;
+//	garfunkel->priv->yellow = FALSE;
 }
 
 static void garfunkel_finalize(GObject* object) {
@@ -81,7 +88,7 @@
 
   gp = garfunkel->priv;
 		       
-  filename = g_build_filename (DEFAULT_THEME_DIR, "garfunkel.svg");
+  filename = g_build_filename (SIMPLE_THEME_DIR, "garfunkel.svg");
   
   gp->svg_handle = rsvg_handle_new_from_file (filename, NULL);
 
@@ -93,7 +100,7 @@
 static void
 garfunkel_draw (GtkWidget *widget, cairo_t *cr)
 {
-  Garfunkel * garfunkel;
+  Garfunkel *garfunkel;
   GarfunkelPrivate * gp= NULL;
 
   garfunkel = GARFUNKEL (widget);
@@ -109,9 +116,13 @@
   height = widget->allocation.height;
 
   factor = (width > height) ? height : width;
-  
-  cairo_translate(cr, (width - (100 * (factor / 100))) / 2 , 0);
 
+  /* Centering the draw */  
+  cairo_translate(cr,
+                  (width - (100 * (factor / 100))) / 2 ,
+                  (height - (100 * (factor / 100))) / 2);
+
+  /* Scaling */
   cairo_scale (cr, factor / 100.0, factor / 100.0); 
 
   rsvg_handle_render_cairo_sub (gp->svg_handle, cr, "#background");
@@ -121,7 +132,6 @@
   rsvg_handle_render_cairo_sub (gp->svg_handle, cr, "#yellow");
 }
 
-
 static gboolean
 garfunkel_expose (GtkWidget *widget, GdkEventExpose *event)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]