Add and use SPL::swap().
[dcpomatic.git] / graphics / update
index 755b73fc0705fe4bea48877afa57d693d787fae1..f42c3182b80d4b06b667c70be737b9bccec3b6ac 100755 (executable)
@@ -95,8 +95,10 @@ 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
-        inkbatch --inkscape $INKSCAPE -i timeline-$i -o $i.png --width 32 --height 32 src/timeline.svg
+    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
 
     # Playlist editor tick/no-tick