diff options
| author | Miles Bader | 2001-10-20 15:16:30 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-10-20 15:16:30 +0000 |
| commit | b6715b9f8a69966c552e4f88fca7d791c0055ffb (patch) | |
| tree | 1da82474f432bd472b07f380d18578bebfc80648 | |
| parent | 39f624fabd6ffe3f79aa6b66588b48af368494be (diff) | |
| download | emacs-b6715b9f8a69966c552e4f88fca7d791c0055ffb.tar.gz emacs-b6715b9f8a69966c552e4f88fca7d791c0055ffb.zip | |
(checkbox): Swap bg/fg colors in images, and invert
image bits to compensate. Use `make-string' instead of
`make-bool-vector' (XBM apparently wants byte-aligned rows).
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/wid-edit.el | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7713340b855..96403ac69e5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2001-10-21 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * wid-edit.el (checkbox): Swap bg/fg colors in image, and invert | ||
| 4 | image bits to compensate. Use `make-string' instead of | ||
| 5 | `make-bool-vector' (XBM apparently wants byte-aligned rows). | ||
| 6 | |||
| 1 | 2001-10-20 Kim F. Storm <storm@cua.dk> | 7 | 2001-10-20 Kim F. Storm <storm@cua.dk> |
| 2 | 8 | ||
| 3 | * simple.el (kill-ring-save): Don't show extent of copied region | 9 | * simple.el (kill-ring-save): Don't show extent of copied region |
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 71af16d28bf..17f50794948 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el | |||
| @@ -2020,16 +2020,17 @@ when he invoked the menu." | |||
| 2020 | ;; We could probably do the same job as the images using single | 2020 | ;; We could probably do the same job as the images using single |
| 2021 | ;; space characters in a boxed face with a stretch specification to | 2021 | ;; space characters in a boxed face with a stretch specification to |
| 2022 | ;; make them square. | 2022 | ;; make them square. |
| 2023 | :on-glyph (create-image "\377\311\301\343\301\311\377" ; this is an `X' | 2023 | :on-glyph (create-image "\000\066\076\034\076\066\000" |
| 2024 | 'xbm t :width 7 :height 7 | 2024 | 'xbm t :width 7 :height 7 |
| 2025 | :foreground "grey75" ; like default mode line | 2025 | :background "grey75" ; like default mode line |
| 2026 | :background "black" | 2026 | :foreground "black" |
| 2027 | :relief -3 | 2027 | :relief -3 |
| 2028 | :ascent 'center) | 2028 | :ascent 'center) |
| 2029 | :off "[ ]" | 2029 | :off "[ ]" |
| 2030 | :off-glyph (create-image (make-bool-vector 49 1) | 2030 | :off-glyph (create-image (make-string 7 0) |
| 2031 | 'xbm t :width 7 :height 7 | 2031 | 'xbm t :width 7 :height 7 |
| 2032 | :foreground "grey75" | 2032 | :background "grey75" |
| 2033 | :foreground "black" | ||
| 2033 | :relief 3 | 2034 | :relief 3 |
| 2034 | :ascent 'center) | 2035 | :ascent 'center) |
| 2035 | :help-echo "Toggle this item." | 2036 | :help-echo "Toggle this item." |