aboutsummaryrefslogtreecommitdiffstats
path: root/Graphics/update-drawables.sh
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-01-29 17:02:01 +0100
committerDominik Schürmann <dominik@dominikschuermann.de>2015-01-29 17:02:01 +0100
commite0369a2f14864cc16bb46488cd25df294bec91c6 (patch)
tree2ba3f55738c3d137b717b344d2ed8b60f3df2a52 /Graphics/update-drawables.sh
parente4e3360866f070e7d53fe6ea7fb610afcfa94018 (diff)
downloadopen-keychain-e0369a2f14864cc16bb46488cd25df294bec91c6.tar.gz
open-keychain-e0369a2f14864cc16bb46488cd25df294bec91c6.tar.bz2
open-keychain-e0369a2f14864cc16bb46488cd25df294bec91c6.zip
Header image tryout
Diffstat (limited to 'Graphics/update-drawables.sh')
-rwxr-xr-xGraphics/update-drawables.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Graphics/update-drawables.sh b/Graphics/update-drawables.sh
index c96b6dd90..264f7eea6 100755
--- a/Graphics/update-drawables.sh
+++ b/Graphics/update-drawables.sh
@@ -1,6 +1,7 @@
#!/bin/bash
APP_DIR=../OpenKeychain/src/main
+DRAWABLE_DIR=$APP_DIR/res/drawable
MDPI_DIR=$APP_DIR/res/drawable-mdpi
HDPI_DIR=$APP_DIR/res/drawable-hdpi
XDPI_DIR=$APP_DIR/res/drawable-xhdpi
@@ -63,4 +64,10 @@ inkscape -w 48 -h 48 -e "$MDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
inkscape -w 64 -h 64 -e "$HDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
inkscape -w 96 -h 96 -e "$XDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
inkscape -w 128 -h 128 -e "$XXDPI_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
+done
+
+for NAME in "drawer_header"
+do
+echo $NAME
+inkscape -w 512 -h 288 -e "$DRAWABLE_DIR/$NAME.png" "$SRC_DIR/$NAME.svg"
done \ No newline at end of file