Commit graph

44 commits

Author SHA1 Message Date
Eli Zaretskii
ef32aa0283 (tool-bar-mode): Make it a no-op if images
aren't supported.  This avoids the annoying grey strip drawn by
the Windows version instead of the missing tool bar.
2001-08-30 06:52:19 +00:00
Gerd Moellmann
98a8938cdd (tool-bar-add-item-from-menu): Handle
old-style menu definitions.
2001-08-06 10:41:52 +00:00
Eli Zaretskii
196de866ae (tool-bar-add-item-from-menu, tool-bar-add-item): Don't call image-related
primitives if the display doesn't support images.
2001-07-17 12:59:14 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Gerd Moellmann
1d9f4dc126 Cleaned up.
From Luis Fernandes <elf@ee.ryerson.ca>.
2001-07-09 10:54:37 +00:00
Eli Zaretskii
7a03d9cdcf (tool-bar-setup): Remove the EXIT button. 2001-06-21 12:48:03 +00:00
Dave Love
5ec176363c (tool-bar-setup): Don't suppress write-file
and save-buffer if buffer-file-name non-nil.  From rms.
2001-03-10 13:20:47 +00:00
Eli Zaretskii
cb4aae0475 (tool-bar-add-item): Doc fix. 2001-01-31 13:23:12 +00:00
Gerd Moellmann
1e2f58742e Use the same colors as exit.xpm. 2001-01-11 13:37:03 +00:00
Gerd Moellmann
3fae165ccb (tool-bar-add-item-from-menu): Use
face-attribute instead of face-foreground and face-background.
(tool-bar-add-item): Likewise, and handle unspecified colors.
2000-11-29 19:21:47 +00:00
Gerd Moellmann
a81fc5106e (tool-bar-mode): Doc fix. 2000-11-29 15:29:45 +00:00
Gerd Moellmann
7e6369044d (tool-bar-add-item-from-menu): Handle case
that foreground and/or background colors of the face `tool-bar'
are unspecified.
2000-11-27 11:28:24 +00:00
Dave Love
c129b5ef1e comment fix 2000-11-17 17:50:48 +00:00
Stefan Monnier
ff49cf9a7b (tool-bar-mode): Drop unneeded positional args. 2000-11-03 23:06:40 +00:00
Dave Love
3b6d80f1ed (tool-bar-add-item-from-menu)
(tool-bar-add-item): Set foreground and background for XBM icons.
2000-10-23 18:00:51 +00:00
Miles Bader
cf1e7b12ba Re-convert from full-color version (using the Gimp) to eliminate
dithering artifacts.
2000-10-16 08:42:22 +00:00
Dave Love
8d74fbd262 Retouch. 2000-10-13 12:28:56 +00:00
Gerd Moellmann
db46018979 Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8). 2000-10-13 10:39:33 +00:00
Dave Love
9a45f9afa0 Reduce colour requirements to 25 overall. (Probably wants
revisiting from the originals to reduce further.)
2000-10-11 18:05:19 +00:00
Eli Zaretskii
b28e72df6e Fix a typo. 2000-10-11 14:11:47 +00:00
Dave Love
20a6e76aa2 *** empty log message *** 2000-10-10 13:04:09 +00:00
Dave Love
99bd82f657 Fix transparent index. 2000-10-10 13:03:22 +00:00
Dave Love
d646c82853 *** empty log message *** 2000-10-10 09:31:50 +00:00
Dave Love
34e86ea33b (tool-bar-add-item)
(tool-bar-add-item-from-menu): Don't favour XPM icons on mono
display.
2000-10-10 09:31:04 +00:00
Dave Love
3885aa01bd Make b/g transparent. 2000-10-09 20:19:11 +00:00
Dave Love
c2156508df (tool-bar-add-item-from-menu): Add autoload cookie. 2000-10-09 17:56:11 +00:00
Dave Love
adf7d3a874 (tool-bar-mode): Check whether tool-bar-map
has been initialized before calling tool-bar-setup.
2000-10-09 11:12:06 +00:00
Miles Bader
29e0814b58 Flip to put highlight in correct place.
Correct image size.
2000-10-09 01:03:32 +00:00
Miles Bader
682e57092d Correct image size. 2000-10-09 01:01:02 +00:00
Dave Love
a30ed6ace6 *** empty log message *** 2000-10-08 15:52:38 +00:00
Dave Love
9a4b8870fe (tool-bar-map): Define it empty.
(global-map): Bind [tool-bar] to a filtered map.
(tool-bar-add-item): Remove MAP arg.  Allow PBM icons.
(tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
Allow PBM icons.
(tool-bar-setup): Adjust calls of tool-bar-add-item.
2000-10-08 15:29:52 +00:00
Dave Love
ebd4825d4a (tool-bar-setup): New function.
(tool-bar-mode): Use it.
2000-10-04 09:36:30 +00:00
Miles Bader
c5785b73db (tool-bar-help): Use `mouse-pixel-position'. 2000-09-27 04:20:25 +00:00
Gerd Moellmann
cd3b81be39 (tool-bar-help): New function. 2000-09-26 09:35:27 +00:00
Miles Bader
ddba99ad14 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
(tool-bar-add-item-from-menu): Like in toolbar-add-item, if image
  doesn't have a mask add a `:mask heuristic'.
2000-09-20 07:18:35 +00:00
Dave Love
532cb34d50 renamed 2000-09-19 17:37:42 +00:00
Dave Love
ec7f4585a2 Renamed from toolbar.el. Change `toolbar'
to `tool-bar' generally in symbols.  Make some items invisible in
`special' major modes.
(tool-bar-add-item-from-menu): Renamed from
toolbar-like-menu-item.  Add arg PROPS.
2000-09-19 17:36:49 +00:00
Gerd Moellmann
72e28eeb5a (toolbar-like-menu-item): Like in
toolbar-add-item, if image doesn't have a mask add a `:mask
heuristic'.
2000-09-18 12:25:36 +00:00
Gerd Moellmann
2b26ac776d (toolbar-add-item): Use the same image
specification if or if not tool-bar item contains an `:enabled'
property.
2000-09-15 21:00:32 +00:00
Gerd Moellmann
fc68490910 (toolbar-add-item): Use image-mask-p. 2000-09-15 15:21:42 +00:00
Gerd Moellmann
b5d618ba93 (toolbar-add-item): Use `:mask heuristic'
instead of `:heuristic-mask t'.
2000-09-15 11:48:44 +00:00
Dave Love
896160ba96 (toolbar-like-menu-item): Doc fix. 2000-09-14 13:17:02 +00:00
Dave Love
a5d8b3ddbc New. (Gnome icon by tigert.) 2000-09-14 11:56:36 +00:00
Dave Love
b719979056 New. 2000-09-14 11:55:46 +00:00