From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.devel Subject: XPM via Lisp in the toolbar Date: Tue, 12 Nov 2002 18:32:25 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1037201030 20040 80.91.224.249 (13 Nov 2002 15:23:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 13 Nov 2002 15:23:50 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18BzCR-00046Q-00 for ; Wed, 13 Nov 2002 16:13:03 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18BzOO-00066k-01 for ; Wed, 13 Nov 2002 16:25:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18BfBv-0007vU-00; Tue, 12 Nov 2002 12:51:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18Beyh-0001tA-00 for emacs-devel@gnu.org; Tue, 12 Nov 2002 12:37:31 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18Beyd-0001rl-00 for emacs-devel@gnu.org; Tue, 12 Nov 2002 12:37:30 -0500 Original-Received: from sproxy.gmx.de ([213.165.64.20] helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.10) id 18BexI-0001f8-00 for emacs-devel@gnu.org; Tue, 12 Nov 2002 12:36:04 -0500 Original-Received: (qmail 5757 invoked by uid 0); 12 Nov 2002 17:35:53 -0000 Original-Received: from dialin-145-254-203-187.arcor-ip.net (HELO HERMES) (145.254.203.187) by mail.gmx.net (mp006-rz3) with SMTP; 12 Nov 2002 17:35:53 -0000 X-Mailer: emacs 21.2.1 (via feedmail 11-beta-1 Q) Original-To: emacs-devel@gnu.org X-Operating-System: GNU/Linux, built from scratch: http://www.linuxfromscratch.org/ X-Attribution: os X-Face: "HgH2sgK|bfH$;PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6;Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-msvc-nt5.1.2600) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:9338 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9338 Some time ago I posted a library to deal with XPM images (internally: convert them to PPM) to this group. I am currently working on this again and at the same time I am hooking this library into the functions that deal with images in general (mainly `create-image' and `find-image'). The goal of the latter is that Emacs would support XPM transparently wether it was compiled with xpmlib or not. I understood that this was considered to be useful. My original purpose was to make only gamegrid.el DTRT when Emacs was compiled without XPM support. Now tool-bar.el uses `find-image' to find the appropriate image type -- so far either XPM, PBM or XBM. With xpm.el hooked in, Emacs tries to convert the icon in XPM format and put it on the tool-bar. I would consider this as a feature, but: I am currently using MS Windows XP and I noticed that the :mask property is not supported for images on the toolbar. Images don't work properly on XP in general, but in the normal case the image is displayed only with false colours. On the toolbar they don't show up at all. This leads to a "tool-bar" which is unusable. So is this going to be fixed? The image support on MS Windows needs some bug fixes anyways, but at least the toolbar currently works (with the PBM icons). Or should I disable my stuff for toolbar-icons in general? Oliver -- 22 Brumaire an 211 de la Révolution Liberté, Egalité, Fraternité!