[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : alex
Repository : xara
Revision : 826
Date : Sun Apr 16 21:24:45 BST 2006
Changed paths:
M /Trunk/XaraLX/Scripts/bmpconv
A /Trunk/XaraLX/Scripts/getres
M /Trunk/XaraLX/wxOil/xrc/IDB_GALLERY_FOLD0.png
M /Trunk/XaraLX/wxOil/xrc/IDB_GALLERY_FOLD1.png
M /Trunk/XaraLX/wxOil/xrc/IDB_GALLERY_FOLD2.png
M /Trunk/XaraLX/wxOil/xrc/IDB_GALLERY_SCROLLDOWN.png
M /Trunk/XaraLX/wxOil/xrc/IDB_GALLERY_SCROLLUP.png
M /Trunk/XaraLX/wxOil/xrc/IDB_LGAL_LOCKED.png
M /Trunk/XaraLX/wxOil/xrc/IDB_LGAL_SNAP.png
M /Trunk/XaraLX/wxOil/xrc/IDB_LGAL_TICKFORCED.png
M /Trunk/XaraLX/wxOil/xrc/IDB_LGAL_TICKOFF.png
M /Trunk/XaraLX/wxOil/xrc/IDB_LGAL_TICKOFFFORCED.png
M /Trunk/XaraLX/wxOil/xrc/IDB_LGAL_TICKON.png
M /Trunk/XaraLX/wxOil/xrc/IDB_LGAL_VISIBLE.png
Fixed some dodgy bitmap conversions
Diff:
Index: Trunk/XaraLX/Scripts/getres
===================================================================
--- Trunk/XaraLX/Scripts/getres (revision 0)
+++ Trunk/XaraLX/Scripts/getres (revision 826)
@@ -0,0 +1,12 @@
+#!/bin/sh
+RES=$1
+echo Finding $RES
+egrep -h "$RES" winoilres/UKEnglish/*.rc | perl -ne '{if (!(/^\s+#/)) {chomp; ($b,$t,$d,$n)=split(/\s+/) ; $n=~s/\"//g; $n=lc($n); print "$b $t $n
"} }' | while read BITMAP TYPE NAME ; do
+ if [ x$TYPE = xCURSOR ] ; then
+ echo Converting cursor $NAME to $BITMAP.cur
+ cp winoilres/UKEnglish/$NAME wxOil/xrc/$BITMAP.cur
+ else
+ echo Converting bitmap $NAME to $BITMAP.png
+ Scripts/bmpconv < winoilres/UKEnglish/$NAME > wxOil/xrc/$BITMAP.png
+ fi
+done
\ No newline at end of file
Property changes on: Trunk/XaraLX/Scripts/getres
___________________________________________________________________
Name: svn:executable
+ *
Index: Trunk/XaraLX/Scripts/bmpconv
===================================================================
--- Trunk/XaraLX/Scripts/bmpconv (revision 825)
+++ Trunk/XaraLX/Scripts/bmpconv (revision 826)
@@ -1,2 +1,2 @@
#!/bin/sh
-bmptopnm | pnmtopng -transparent magenta
+bmptopnm | pnmtopng -transparent =magenta
Index: Trunk/XaraLX/wxOil/xrc/IDB_GALLERY_SCROLLUP.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_LGAL_TICKOFF.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_LGAL_SNAP.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_GALLERY_FOLD0.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_LGAL_TICKFORCED.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_LGAL_LOCKED.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_LGAL_TICKOFFFORCED.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_GALLERY_FOLD1.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_GALLERY_FOLD2.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_LGAL_VISIBLE.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_GALLERY_SCROLLDOWN.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: Trunk/XaraLX/wxOil/xrc/IDB_LGAL_TICKON.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Xara