From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Tool-bar icons with disabled/selected states not displayed (Carbon port) Date: Tue, 02 May 2006 07:26:37 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1146522423 29083 80.91.229.2 (1 May 2006 22:27:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 May 2006 22:27:03 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 02 00:27:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fagr0-0001c2-3d for ged-emacs-devel@m.gmane.org; Tue, 02 May 2006 00:26:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fagqz-00087Y-HZ for ged-emacs-devel@m.gmane.org; Mon, 01 May 2006 18:26:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fagqo-00087J-J4 for emacs-devel@gnu.org; Mon, 01 May 2006 18:26:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fagqn-00086Z-5I for emacs-devel@gnu.org; Mon, 01 May 2006 18:26:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fagqm-00086W-Va for emacs-devel@gnu.org; Mon, 01 May 2006 18:26:41 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fagqn-0002CK-Q4 for emacs-devel@gnu.org; Mon, 01 May 2006 18:26:42 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 1E0952CAA; Tue, 2 May 2006 07:26:38 +0900 (JST) Original-To: David Reitter In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53751 Archived-At: >>>>> On Mon, 1 May 2006 18:08:29 +0100, David Reitter said: > At least the Carbon port has an issue with drawing xpm icons (e.g. > typical tool-bar icons) when icons for the "disabled" state are > specified. Key definitions for the tool-bar map allow for a vector > of four image descriptors to be given. > This works fine for xpm on X, but not in the Carbon port. Here, if a > "disabled" state is given, it is not displayed - see screenshot. > Interestingly, png images may be specified here and things work fine > then. Have a look at the test case below to demonstrate. I suspect the issue is in displaying "s1.dis.xpm" simply, rather than in general disabled image handling. Can you show its contents? > (As a side-note, png masks don't seem to be supported, not even with > bitmasks rather than a full alpha-channel. Is that correct? that's > the reason why I find myself using xpm in the first place). For the Carbon port, yes. Because QuickTime cannot tell the difference between them as far as I know. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp