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 +++++++++ images/goal.xpm | 2 +- images/next.xpm | 2 +- images/qed.xpm | 2 +- images/restart.xpm | 2 +- images/retract.xpm | 2 +- images/undo.xpm | 2 +- images/use.xpm | 2 +- 8 files changed, 16 insertions(+), 7 deletions(-) (limited to 'images') 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) diff --git a/images/goal.xpm b/images/goal.xpm index 4eb5278d..131b5b81 100644 --- a/images/goal.xpm +++ b/images/goal.xpm @@ -2,7 +2,7 @@ static char * goal_xpm[] = { "32 32 551 2", " c None", -". c #BCBCBC", +". c #BCBCBC s backgroundToolBarColor", "+ c #B09595", "@ c #AA8181", "# c #984747", diff --git a/images/next.xpm b/images/next.xpm index ee2bfa2b..5a6887db 100644 --- a/images/next.xpm +++ b/images/next.xpm @@ -2,7 +2,7 @@ static char * next_xpm[] = { "32 32 24 1", " c None", -". c #BCBCBC", +". c #BCBCBC s backgroundToolBarColor", "+ c #B09595", "@ c #AA8181", "# c #984747", diff --git a/images/qed.xpm b/images/qed.xpm index 9b6da418..d5bcad8a 100644 --- a/images/qed.xpm +++ b/images/qed.xpm @@ -2,7 +2,7 @@ static char * qed_xpm[] = { "32 32 538 2", " c None", -". c #BCBCBC", +". c #BCBCBC s backgroundToolBarColor", "+ c #B09595", "@ c #AA8181", "# c #984747", diff --git a/images/restart.xpm b/images/restart.xpm index d83de704..b570d84c 100644 --- a/images/restart.xpm +++ b/images/restart.xpm @@ -2,7 +2,7 @@ static char * restart_xpm[] = { "32 32 20 1", " c None", -". c #BCBCBC", +". c #BCBCBC s backgroundToolBarColor", "+ c #B09595", "@ c #AA8181", "# c #984747", diff --git a/images/retract.xpm b/images/retract.xpm index 8d3e7434..e52e0bca 100644 --- a/images/retract.xpm +++ b/images/retract.xpm @@ -2,7 +2,7 @@ static char * retract_xpm[] = { "32 32 26 1", " c None", -". c #BCBCBC", +". c #BCBCBC s backgroundToolBarColor", "+ c #B09595", "@ c #AA8181", "# c #984747", diff --git a/images/undo.xpm b/images/undo.xpm index 0c3872fe..bfa193b4 100644 --- a/images/undo.xpm +++ b/images/undo.xpm @@ -2,7 +2,7 @@ static char * undo_xpm[] = { "32 32 24 1", " c None", -". c #BCBCBC", +". c #BCBCBC s backgroundToolBarColor", "+ c #B09595", "@ c #AA8181", "# c #984747", diff --git a/images/use.xpm b/images/use.xpm index 2eda6ffe..97fd968b 100644 --- a/images/use.xpm +++ b/images/use.xpm @@ -2,7 +2,7 @@ static char * use_xpm[] = { "32 32 26 1", " c None", -". c #BCBCBC", +". c #BCBCBC s backgroundToolBarColor", "+ c #984747", "@ c #A46E6E", "# c #870D0D", -- cgit v1.2.3