unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: storm@cua.dk, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Cursor on images not visible
Date: Tue, 14 Feb 2006 19:46:09 +0200	[thread overview]
Message-ID: <877j7x25r2.fsf@jurta.org> (raw)
In-Reply-To: <43F1A0C9.4080205@gmx.at> (martin rudalics's message of "Tue, 14 Feb 2006 10:20:09 +0100")

> Personally, I have even more problems distinguishing active checkboxes
> from inactive ones, the ticks are hardly visible.  Maybe you could do
> something about this too?  I currently use

Your checkbox images don't look too intuitive on the black background.

I have seen different checkbox images: ticks, crosses, percent signs,
filled areas.  The most widespread symbol currently is a tick.  There is
even a Unicode symbol for it: U+2611 - BALLOT BOX WITH CHECK.

So I think the current default value is ok.  But definitely it should be
easily customizable.  I noticed that in the same file wid-edit.el there is
the following definition of the radio button:

(define-widget 'radio-button 'toggle
  "A radio button for use in the `radio' widget."
  :notify 'widget-radio-button-notify
  :format "%[%v%]"
  :button-suffix ""
  :button-prefix ""
  :on "(*)"
  :on-glyph "radio1"
  :off "( )"
  :off-glyph "radio0")

After putting images of two states of the radio button to the files
emacs/etc/images/radio0.xpm and emacs/etc/images/radio1.xpm, customize
displayed them instead of their textual representations "(*)" and "( )".
I wonder why these images isn't in CVS?

It is possible to do the same for checkboxes and to install their default
images to emacs/etc/images/check0.xpm and emacs/etc/images/check1.xpm.

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2006-02-14 17:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-07 10:57 Cursor on images not visible Juri Linkov
2006-02-09 17:48 ` Richard M. Stallman
2006-02-09 19:18   ` Juri Linkov
2006-02-10 23:02     ` Richard M. Stallman
2006-02-11 18:51       ` Kim F. Storm
2006-02-12  0:57         ` David Kastrup
2006-02-12 19:28         ` Richard M. Stallman
2006-02-14  1:42           ` Juri Linkov
2006-02-14  9:20             ` martin rudalics
2006-02-14 17:46               ` Juri Linkov [this message]
2006-02-20  0:54                 ` Juri Linkov
2006-02-14 21:27               ` Kim F. Storm
2006-02-15 10:14                 ` martin rudalics
2006-02-14 22:17             ` Richard M. Stallman
2006-02-13  0:40         ` David Kastrup
2006-02-15 12:51           ` Kim F. Storm
2006-02-10 10:17   ` Mathias Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877j7x25r2.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=storm@cua.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).