nanogui: Inline XPMs?
Subject:
Re: [nanogui] Inline XPMs?
From:
Jordan Crouse ####@####.####
Date:
3 Jul 2001 14:12:51 -0000
Message-Id: <01070308134201.07200@cosmic>
This has been on my TODO list for months now. I will try my very best to
get to it this week, and provide a patch.
Jordan
On Tuesday 03 July 2001 08:04, Greg Haerr mentioned:
> : I'd like to convert inline-XPMs into HBITMAPs, presumably via a DrawDIB
> : call on a memory DC.
> :
> : I see from the archive that inline (#included) XPMs weren't supported as
> : of Jan. this year -- but maybe someone has written code to do this since?
>
> The CVS version of Microwindows has a new function, GrNewBitmapFromData,
> which will decode inline bitmap data. This might be combined with the
> devimage.c code that decodes XPMs, and you should have what you
> need. GrNewBitmapFromData is in nanox/nxutil.c.
>
> Regards,
>
> Greg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####