# HG changeset patch # User Stefano Rivera # Date 1315946261 -7200 # Node ID acfcd3db4bca3645be41e27a9cd417ac1cbeb6fb # Parent 9c47bf162ea19528d175ea0516258d817463991b Correct Lock color and size diff -r 9c47bf162ea1 -r acfcd3db4bca data/menus/lock.png Binary file data/menus/lock.png has changed diff -r 9c47bf162ea1 -r acfcd3db4bca scripts/make_pngs.sh --- a/scripts/make_pngs.sh Tue Sep 13 22:39:37 2011 +0200 +++ b/scripts/make_pngs.sh Tue Sep 13 22:37:41 2011 +0200 @@ -8,13 +8,15 @@ svgroot=source/svg pngroot=data -for sourcepath in `find $svgroot -name "*.svg"` +for sourcepath in `find "$svgroot" -name "*.svg"` do - sourcefile=`basename $sourcepath` - sourcedir=`dirname $sourcepath` - destdir=${sourcedir/#$svgroot/$pngroot} - mkdir -p $destdir - destpath=$destdir/${sourcefile/%svg/png} - rsvg-convert $sourcepath -w $tilesize -h $tilesize -o $destpath - pngcrush -q $destpath tmp && mv tmp $destpath + sourcefile="`basename $sourcepath`" + sourcedir="`dirname $sourcepath`" + destdir="${sourcedir/#$svgroot/$pngroot}" + mkdir -p "$destdir" + destpath="$destdir/${sourcefile/%svg/png}" + opts="" + echo "$sourcepath" | grep -Fq /tiles/ && opts="-w $tilesize -h $tilesize" + rsvg-convert "$sourcepath" $opts -o "$destpath" + pngcrush -q "$destpath" tmp && mv tmp "$destpath" done diff -r 9c47bf162ea1 -r acfcd3db4bca source/svg/menus/lock.svg --- a/source/svg/menus/lock.svg Tue Sep 13 22:39:37 2011 +0200 +++ b/source/svg/menus/lock.svg Tue Sep 13 22:37:41 2011 +0200 @@ -9,12 +9,12 @@ xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="100" - height="100" + width="50" + height="50" id="svg2" version="1.1" - inkscape:version="0.48.1 r9760" - sodipodi:docname="New document 1"> + inkscape:version="0.48.2 r9819" + sodipodi:docname="lock.svg"> + inkscape:window-y="24" + inkscape:window-maximized="1"> - - - - - - @@ -98,7 +74,7 @@ image/svg+xml - + @@ -106,15 +82,15 @@ inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1" - transform="translate(0,-952.36218)"> + transform="translate(0,-1002.3622)"> + style="fill:#ff0000;fill-opacity:1;stroke:none" + d="m 11.6665,1027.362 0,20.0002 26.667,0 0,-20.0002 -26.667,0 z M 25,1029.5842 c 1.840972,0 3.333375,1.4924 3.333375,3.3334 0,1.2301 -0.675259,2.2974 -1.666687,2.875 l 0,9.3474 -3.333375,0 0,-9.3474 c -0.991429,-0.5776 -1.666688,-1.6449 -1.666688,-2.875 0,-1.841 1.492403,-3.3334 3.333375,-3.3334 z" + id="rect2987" + inkscape:connector-curvature="0" />