First implementation of picture button theme, still no transparency
This commit is contained in:
BIN
project/themes/UltimateDroid/UltimateDroidButton7.png
Normal file
BIN
project/themes/UltimateDroid/UltimateDroidButton7.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
7
project/themes/converter/convert.sh
Executable file
7
project/themes/converter/convert.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
for f in ../UltimateDroid/*.png; do
|
||||
newname=`echo $f | sed 's@.*/@@' | tr '[A-Z]' '[a-z]'`.raw
|
||||
./converter $f ../../res/raw/$newname
|
||||
done
|
||||
|
||||
Binary file not shown.
@@ -33,6 +33,8 @@ main(int argc, char *argv[])
|
||||
fwrite( &w, 1, 4, ff );
|
||||
int h = htonl(dst->h);
|
||||
fwrite( &h, 1, 4, ff );
|
||||
int format = htonl(argc <= 3 ? 0 : 1);
|
||||
fwrite( &format, 1, 4, ff );
|
||||
for( int i = 0; i < dst->h; i++ )
|
||||
{
|
||||
for( int ii = 0; ii < dst->w; ii++ )
|
||||
|
||||
Reference in New Issue
Block a user