From fc8a47041460821bd775fb5d41bc60b413c8eb17 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 20 Aug 1999 14:03:12 +0000 Subject: Default background colour for toolbar buttons added. --- images/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'images/Makefile') 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) -- cgit v1.2.3