git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@588 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-04 02:18:33 +00:00
parent 83340f95a2
commit 639be7db09
18 changed files with 15416 additions and 15442 deletions

View File

@@ -31,7 +31,7 @@ for i in resource/icon/*.png; do
echo >> $OUT
echo "unsigned int $NAME[] = {" >> $OUT
echo " ($WIDTH << 16) | $HEIGHT," >> $OUT
convert $i txt:- 2>/dev/null | grep -oE '[0-9a-fA-F]{8}' | xargs printf ' 0x%s,\n' >> $OUT
convert $i txt:- 2>/dev/null | grep -oE '#[0-9a-fA-F]{8}' | sed 's/^#/ 0x/' | sed -E 's/$/,/' >> $OUT
echo " 0" >> $OUT
echo "};" >> $OUT
echo $NAME