From: David Reitter <david.reitter@gmail.com>
To: emacs- devel <emacs-devel@gnu.org>
Subject: Req: images for down-mouse and hover events
Date: Tue, 13 May 2008 10:39:53 +0100 [thread overview]
Message-ID: <662236F0-1906-4DCB-8FC5-F385EE14ED11@gmail.com> (raw)
I'm dealing with images included in a buffer, which implement buttons
for the user to click on.
I'd like to display a slightly darkened image when the user hovers
with the mouse over the images, and an even more darkened image when
they click on it (during mouse-down). This gives good visual feedback
and improves the UI.
Question is: how do I do it? While the tool-bar provides image vectors
to do just that, I can't seem to find functionality to implement this
for general images.
The `mouse-face' property of faces only allows me to specify another
face, so that's not useful to me. There is no way to darken anything
displayed via a face property, and I wouldn't really want to do that,
because I'm suppling the actual image.
Is this possible now in Emacs 22?
If not, could it be provided in 23?
next reply other threads:[~2008-05-13 9:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-13 9:39 David Reitter [this message]
2008-05-13 10:00 ` Req: images for down-mouse and hover events joakim
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=662236F0-1906-4DCB-8FC5-F385EE14ED11@gmail.com \
--to=david.reitter@gmail.com \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.