unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: emacs-devel@gnu.org
Subject: Re: Tool-bar icons with disabled/selected states not displayed (Carbon port)
Date: Tue, 02 May 2006 09:39:13 +0900	[thread overview]
Message-ID: <wl1wvdb6q6.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <32503AD0-D6AB-428F-A3B3-35EA2577BB43@gmail.com>

>>>>> On Tue, 2 May 2006 00:43:40 +0100, David Reitter <david.reitter@gmail.com> said:

>> I suspect the issue is in displaying "s1.dis.xpm" simply, rather
>> than in general disabled image handling.  Can you show its
>> contents?

> Sure, these are the two files. Generated with ImageMagick.

> However, I'm getting the same effect with the other toolbar buttons
> that I've replaced.

Don't they contain `.' in their variable_name part (the part between
"static char *" and "[]" in the second line)?

The file "s1.dis.xpm" contains the following line:

  static char *saveas.dis[] = {

The specification of XPM (http://koala.ilog.fr/lehors/doc/xpm.PS) does
not explicitly state the syntax of the variable_name.  But I think it
is reasonable to assume that it coincides with that of identifiers in
C or C++, because XPM is designed so as to be included in these
languages.  (Chapter 2 starts with "The XPM format presents a C
syntax".)

I could display s1.dis.xpm if the variable_name part is replaced with
`saveas_dis'.

				     YAMAMOTO Mitsuharu
				mituharu@math.s.chiba-u.ac.jp

  reply	other threads:[~2006-05-02  0:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01 17:08 Tool-bar icons with disabled/selected states not displayed (Carbon port) David Reitter
2006-05-01 22:26 ` YAMAMOTO Mitsuharu
2006-05-01 23:43   ` David Reitter
2006-05-02  0:39     ` YAMAMOTO Mitsuharu [this message]
2006-05-02 10:44       ` David Reitter

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=wl1wvdb6q6.wl%mituharu@math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --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 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).