diff options
author | MarcoFalke <falke.marco@gmail.com> | 2015-09-12 12:09:16 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2015-09-13 17:57:12 +0200 |
commit | d1acf938e69397347490defaf4b675524dbffcd9 (patch) | |
tree | 1820d61d496a299f7ea8a1ddb7df8d515eaca321 /src/qt/res/movies/makespinner.sh | |
parent | 3224936bedd8fe777b23d43c253abd2c0cd95d22 (diff) |
[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
Diffstat (limited to 'src/qt/res/movies/makespinner.sh')
-rwxr-xr-x | src/qt/res/movies/makespinner.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/qt/res/movies/makespinner.sh b/src/qt/res/movies/makespinner.sh index 625fb17173..a4c2fddbbf 100755 --- a/src/qt/res/movies/makespinner.sh +++ b/src/qt/res/movies/makespinner.sh @@ -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 |