aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2000-11-24 11:36:27 +0000
committerMiles Bader2000-11-24 11:36:27 +0000
commit1ed744312dcb5df2f0c72ac0a2ee46357c054753 (patch)
tree75b347ff758d2be58ea4dad2f7a715cb823a1bab
parent51a1edab455583e9aa943e69a96092bd934a7950 (diff)
downloademacs-1ed744312dcb5df2f0c72ac0a2ee46357c054753.tar.gz
emacs-1ed744312dcb5df2f0c72ac0a2ee46357c054753.zip
(checkbox): Add a small `X' to the the :on-glyph, so that it's
distinguishable from the :off-glyph on dark-background displays. Set its background color too.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/wid-edit.el9
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7f41204fea5..a65ca378fb5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -10,6 +10,10 @@
10 functions. Add some IN-FILTER and OUT-FILTER functions in the few 10 functions. Add some IN-FILTER and OUT-FILTER functions in the few
11 cases they're needed. 11 cases they're needed.
12 12
13 * wid-edit.el (checkbox): Add a small `X' to the the :on-glyph, so
14 that it's distinguishable from the :off-glyph on dark-background
15 displays. Set its background color too.
16
132000-11-24 Michael Kifer <kifer@cs.sunysb.edu> 172000-11-24 Michael Kifer <kifer@cs.sunysb.edu>
14 18
15 * ediff-diff.el: Moved variables around to have it compile under NT. 19 * ediff-diff.el: Moved variables around to have it compile under NT.
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index dc43f76700c..db65fc1dfd4 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -1992,15 +1992,18 @@ when he invoked the menu."
1992 ;; We could probably do the same job as the images using single 1992 ;; We could probably do the same job as the images using single
1993 ;; space characters in a boxed face with a stretch specification to 1993 ;; space characters in a boxed face with a stretch specification to
1994 ;; make them square. 1994 ;; make them square.
1995 :on-glyph (create-image (make-bool-vector 49 1) 1995 :on-glyph (create-image "\377\311\301\343\301\311\377" ; this is an `X'
1996 'xbm t :width 7 :height 7 1996 'xbm t :width 7 :height 7
1997 :foreground "grey75" ; like default mode line 1997 :foreground "grey75" ; like default mode line
1998 :relief -3 :ascent 'center) 1998 :background "black"
1999 :relief -3
2000 :ascent 'center)
1999 :off "[ ]" 2001 :off "[ ]"
2000 :off-glyph (create-image (make-bool-vector 49 1) 2002 :off-glyph (create-image (make-bool-vector 49 1)
2001 'xbm t :width 7 :height 7 2003 'xbm t :width 7 :height 7
2002 :foreground "grey75" 2004 :foreground "grey75"
2003 :relief 3 :ascent 'center) 2005 :relief 3
2006 :ascent 'center)
2004 :help-echo "Toggle this item." 2007 :help-echo "Toggle this item."
2005 :action 'widget-checkbox-action) 2008 :action 'widget-checkbox-action)
2006 2009