diff options
| -rw-r--r-- | etc/NEWS | 9 | ||||
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | src/ChangeLog | 13 |
3 files changed, 24 insertions, 0 deletions
| @@ -2423,6 +2423,15 @@ character units (fractions of the width/height of the frame's default | |||
| 2423 | font). FRAME is the frame on which the image will be displayed. | 2423 | font). FRAME is the frame on which the image will be displayed. |
| 2424 | FRAME nil or omitted means use the selected frame. | 2424 | FRAME nil or omitted means use the selected frame. |
| 2425 | 2425 | ||
| 2426 | ** The function `image-mask-p' can be used to determine if an image | ||
| 2427 | has a mask bitmap. | ||
| 2428 | |||
| 2429 | - Function: image-mask-p SPEC &optional FRAME | ||
| 2430 | |||
| 2431 | Return t if image SPEC has a mask bitmap. | ||
| 2432 | FRAME is the frame on which the image will be displayed. FRAME nil | ||
| 2433 | or omitted means use the selected frame. | ||
| 2434 | |||
| 2426 | +++ | 2435 | +++ |
| 2427 | ** The function `find-image' can be used to find a usable image | 2436 | ** The function `find-image' can be used to find a usable image |
| 2428 | satisfying one of a list of specifications. | 2437 | satisfying one of a list of specifications. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6f05d56c6cd..7d742e7ffbb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2000-09-15 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-09-15 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p. | ||
| 4 | |||
| 3 | * image.el (create-image): Doc fix. | 5 | * image.el (create-image): Doc fix. |
| 4 | 6 | ||
| 5 | * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic' | 7 | * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic' |
diff --git a/src/ChangeLog b/src/ChangeLog index 15f88c91a58..00a9f4f426a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,18 @@ | |||
| 1 | 2000-09-15 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-09-15 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * xfns.c (ALLOC_XPM_COLORS): Define if we can use Emacs' color | ||
| 4 | allocation functions with the XPM lib. | ||
| 5 | (struct xpm_cached_color) [ALLOC_XPM_COLORS]: New structure. | ||
| 6 | (XPM_COLOR_CACHE_BUCKETS) [ALLOC_XPM_COLORS]: New macro. | ||
| 7 | (xpm_color_cache) [ALLOC_XPM_COLORS]: New variable. | ||
| 8 | (xpm_init_color_cache, xpm_free_color_cache, xpm_lookup_color) | ||
| 9 | (xpm_alloc_color, xpm_free_colors) [ALLOC_XPM_COLORS]: New | ||
| 10 | functions. | ||
| 11 | (xpm_load) [ALLOC_XPM_COLORS]: Use Emacs' own color allocation | ||
| 12 | functions, if possible, because these handle color allocation | ||
| 13 | failure more gracefully. | ||
| 14 | (Fimage_mask_p): New function. | ||
| 15 | |||
| 3 | * xfns.c (QCmatrix, QCcolor_adjustment, QCmask, Qemboss) | 16 | * xfns.c (QCmatrix, QCcolor_adjustment, QCmask, Qemboss) |
| 4 | (Qedge_detection, Qheuristic): New symbols. | 17 | (Qedge_detection, Qheuristic): New symbols. |
| 5 | (syms_of_xfns): Initialize new symbols. | 18 | (syms_of_xfns): Initialize new symbols. |