[qt] [trivial] share/qt/make_spinner.py => src/qt/res/movies/makespinner.sh

* Merge make_spinner.py into makespinner.sh
* Also delete now unused imgs
* Actually use all 36 frames for the spinner animation
This commit is contained in:
MarcoFalke
2015-09-12 12:09:16 +02:00
parent 3224936bed
commit d1acf938e6
7 changed files with 5 additions and 42 deletions

View File

@@ -42,7 +42,7 @@ static const int MAX_URI_LENGTH = 255;
#define EXPORT_IMAGE_SIZE 256
/* Number of frames in spinner animation */
#define SPINNER_FRAMES 35
#define SPINNER_FRAMES 36
#define QAPP_ORG_NAME "Bitcoin"
#define QAPP_ORG_DOMAIN "bitcoin.org"

View File

@@ -1,6 +1,7 @@
for i in {1..35}
FRAMEDIR=$(dirname $0)
for i in {0..35}
do
value=$(printf "%03d" $i)
frame=$(printf "%03d" $i)
angle=$(($i * 10))
convert spinner-000.png -background "rgba(0,0,0,0.0)" -distort SRT $angle spinner-$value.png
convert $FRAMEDIR/../src/spinner.png -background "rgba(0,0,0,0.0)" -distort SRT $angle $FRAMEDIR/spinner-$frame.png
done

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB