Archived
1
0
This repository has been archived on 2023-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
luminotes/tools/tile_images.sh
Dan Helfman f46e2a8fec Refactored toolbar code and images. Now buttons come from a single composite / sprited image.
Remaining things to complete:
  * In WebKit, the button images are offset +5 pixels down. They shouldn't be.
  * Small "+" buttons under notebooks and the note tree are broken.
  * Toolbar resizing doesn't work anymore (TODO comment).
2009-03-29 12:23:55 -07:00

10 lines
516 B
Bash
Executable File

#!/bin/sh
montage -tile x1 -geometry 40x40 -background none static/images/toolbar/*_button.xcf static/images/toolbar/buttons.png
montage -tile x1 -geometry 20x20 -background none static/images/toolbar/small/*_button.xcf static/images/toolbar/small/buttons.png
for theme_dir in static/images/toolbar/themes/* ; do
montage -tile x1 -geometry 40x40 -background none $theme_dir/*.xcf $theme_dir/buttons.png
montage -tile x1 -geometry 20x20 -background none $theme_dir/small/*.xcf $theme_dir/small/buttons.png
done