aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-10-15 19:32:23 +0200
committeriNPUTmice <daniel@gultsch.de>2014-10-15 19:32:23 +0200
commit89cc4d12477e4c5593d10b69e0ed42cbaedfb190 (patch)
tree225317ab27825634d82b93c4a23f540471083b87
parentcb4069f0f213ed1a38ce074d981b0c367dc2cdfd (diff)
parent4c9ac61349cbfbe0e599f39505f4058ef06297de (diff)
Merge branch 'development' of github.com:siacs/Conversations into development
-rwxr-xr-xart/render.rb14
1 files changed, 12 insertions, 2 deletions
diff --git a/art/render.rb b/art/render.rb
index f2d66b9a..2847891d 100755
--- a/art/render.rb
+++ b/art/render.rb
@@ -1,6 +1,16 @@
#!/bin/env ruby
-resolutions={'mdpi'=> 1, 'hdpi' => 1.5, 'xhdpi' => 2, 'xxhdpi' => 3}
-images = { 'conversations.svg' => ['ic_launcher', 48], 'conversations_baloon.svg' => ['ic_activity', 32], 'conversations_mono.svg' => ['ic_notification', 24], 'ic_received_indicator.svg' => ['ic_received_indicator', 12] }
+resolutions={
+ 'mdpi'=> 1,
+ 'hdpi' => 1.5,
+ 'xhdpi' => 2,
+ 'xxhdpi' => 3,
+ }
+images = {
+ 'conversations.svg' => ['ic_launcher', 48],
+ 'conversations_baloon.svg' => ['ic_activity', 32],
+ 'conversations_mono.svg' => ['ic_notification', 24],
+ 'ic_received_indicator.svg' => ['ic_received_indicator', 12],
+ }
images.each do |source, result|
resolutions.each do |name, factor|
size = factor * result[1]