aboutsummaryrefslogtreecommitdiffhomepage
path: root/images/Makefile
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>1999-08-20 14:03:12 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>1999-08-20 14:03:12 +0000
commitfc8a47041460821bd775fb5d41bc60b413c8eb17 (patch)
treeb7c15f2151ab7d5918ec19dbdbd256d4a942e215 /images/Makefile
parent738da0263445357818a0f0f88aa32e36a8d0606d (diff)
Default background colour for toolbar buttons added.
Diffstat (limited to 'images/Makefile')
-rw-r--r--images/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile
index a5f35f56..58b5eec9 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -45,8 +45,17 @@ all: buttons webpix
dist: all install distclean
+# Edit xpm files to add a substitution background colour for
+# the XEmacs toolbar background -- a hack that almost works
+# (only almost because the images have anti-aliasing with
+# a different background colour, and xpm files only allow
+# one-bit alpha).
+backgroundize-xpm: $(BUTTONS)
+ for f in *.xpm; do sed 's/#BCBCBC"/#BCBCBC s backgroundToolBarColor"/g' $$f > $$f.new; mv $$f.new $$f; done
+
buttons: $(BUTTONS)
$(GIMP) '(script-fu-proofgeneral-make-all-buttons 1)' '(gimp-quit 0)'
+ $(MAKE) backgroundize-xpm
touch buttons
webpix: $(WEBPIX)