Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!math.lsa.umich.edu!zaphod.mps.ohio-state.edu!samsung!caen!ox.com!emv From: lehors@avahi.inria.fr (Arnaud Le Hors) Newsgroups: comp.archives Subject: [xpert] XPM The new release 2.8 Keywords: XPM patch Message-ID: <1990Dec21.174732.12934@ox.com> Date: 21 Dec 90 17:47:32 GMT References: <1990Dec20.144621@avahi.inria.fr> Sender: emv@ox.com (Edward Vielmetti) Reply-To: lehors@avahi.inria.fr (Arnaud Le Hors) Followup-To: comp.windows.x Organization: Koala Project, Bull Research France Lines: 62 Approved: emv@ox.com (Edward Vielmetti) X-Original-Newsgroups: comp.windows.x Archive-name: x11/image/xpm/1990-12-20 Archive: expo.lcs.mit.edu:/contrib/xpm-2.8.shar.Z [18.30.0.212] Original-posting-by: lehors@avahi.inria.fr (Arnaud Le Hors) Original-subject: XPM The new release 2.8 Reposted-by: emv@ox.com (Edward Vielmetti) A new release of XPM is now available, I don't include the patch here because it is 2800 lines long but you can get it by ftp from contrib on expo.lcs.mit.edu and from pub on avahi.inria.fr. If you can't ftp mail me and I'll send it to you by mail. Here is the extract of the CHANGES file which tell you everything to know: 2.8 (90/12/19) ******************************* WARNING ********************************* Since the last release two structures have been modified and have now bigger sizes, so ANY CODE USING THE libXPM2 NEEDS TO BE RECOMPILED. ************************************************************************* NEW FEATURES: - the ColorSymbol struct contains the new member 'pixel' which allow to override default colors by giving a pixel value (in such a case symbol value must be set to NULL), - the XpmInfo struct contains the new member 'rgb_fname' in which one can specify an rgb text file name while writing a pixmap with the XWritePixmapFile function (otherwise this member should be set to NULL). This way colorname will be searched and written out if found instead of the RGB value, - Imakefile originally provided by stolcke@ICSI.Berkeley.EDU, - the old Makefile is now distributed as Makefile.noXtree and presents install targets, - the demo application is renamed sxpm (Show XPM), creates a window of the size of the pixmap if no geometry is specified, prints out messages instead of status when an error occurs, handles the new option -p for overriding colors by giving a pixel value (not really useful but is just here to show this new feature), handles the new option -rgb for specifying an rgb text file, and ends on keypress as buttonpress, - defines for SYSV have been provided by Paul Breslaw , - the distribution includes a new directory called converters which contains xpm1to2 and xpm1to2c perl converters and a ppmtoxpm2 converter provided by Paul Breslaw who upgraded the original ppmtoxpm written by Mark W. Snitily . CHANGES TO THE DOC: - this file is created and will give old users a quick reference to changes made from one release to the next one, - documentation is changed to present the new ColorSymbol structure and the way to override colors by giving a pixel value, and to present the new XpmInfo structure and how to use it, - a man page for sxpm is added to the distrib, - the README file talks about sxpm and no more demo, and have reference to the different converters. -- Arnaud LE HORS XPM2 Designer BULL Research FRANCE -- Koala Project | Email : lehors@mirsa.inria.fr Inria - Sophia Antipolis | Phone : (33) 93 65 77 71 2004, Route des Lucioles | Telex : 97 00 50 F 06565 Valbonne CEDEX France | Fax : (33) 93 65 77 66