Use icons at the top of the batch converter rather than text buttons at the bottom...
[dcpomatic.git] / graphics / update
index f518b5b5bf39ba224c0cf16aa876056cd077cacc..ff3baca04e5245bae728e2ef217714c3b0f3a1f9 100755 (executable)
@@ -80,9 +80,11 @@ else
 
     # OS X preferences icons
     mkdir -p osx/preferences
-    for i in defaults email kdm_email cover_sheet keys tms notifications locations sound identifiers servers general advanced; do
-        inkbatch --inkscape $INKSCAPE -i bounds-$i -o osx/preferences/$i.png --width 32 --height 32 src/preferences.svg
-        inkbatch --inkscape $INKSCAPE -i bounds-$i -o osx/preferences/$i@2x.png --width 64 --height 64 src/preferences.svg
+    for c in black white; do
+       for i in defaults email kdm_email cover_sheet keys tms notifications locations sound identifiers servers general advanced; do
+           inkbatch --inkscape $INKSCAPE -i bounds-$i -o osx/preferences/${i}_${c}.png --width 32 --height 32 src/preferences_$c.svg
+           inkbatch --inkscape $INKSCAPE -i bounds-$i -o osx/preferences/${i}@2x_${c}.png --width 64 --height 64 src/preferences_$c.svg
+       done
     done
 
     # OS X menu bar icon for the server (in dark and light mode)
@@ -93,8 +95,17 @@ else
     $INKSCAPE_EXPORT --export-filename=splash.png src/splash.svg -w 400 -h 300
 
     # Timeline toolbar icons (all platforms)
-    for i in select zoom zoom_all snap sequence; do
-        $INKSCAPE_EXPORT --export-filename=$i.png src/$i.svg -w 32 -h 32
+    for c in black white; do
+        for i in select zoom zoom_all snap sequence; do
+            inkbatch --inkscape $INKSCAPE -i timeline-$i -o ${i}_${c}.png --width 32 --height 32 src/timeline_$c.svg
+        done
+    done
+
+    # Batch converter toolbar icons (all platforms)
+    for c in black white; do
+        for i in add pause; do
+            inkbatch --inkscape $INKSCAPE -i batch-$i -o ${i}_${c}.png --width 32 --height 32 src/batch_$c.svg
+        done
     done
 
     # Playlist editor tick/no-tick