nanogui: 16bit color depth in microwindows
Subject:
Re: Re(2): [nanogui] 16bit color depth in microwindows
From:
"Greg Haerr" ####@####.####
Date:
31 Oct 2001 03:01:18 -0000
Message-Id: <005201c161b8$43ca6960$3aba46a6@xmission.com>
: The folks in Latvia report that this makes the code very non-portable
: between WInCE and LINUX/Microwindows. Does anyone have any
: experience with this? Is there a better way?
Yes, DrawDIB() is non-standard. Since, as they mentioned,
I haven't got around to getting the .rc files and LoadBMP()
functions implemented, the best bet would be to wrap the
DrawDIB() function with a win32-compatible function like
SetDIBits or SetDIBitsToDevice... This was initially
more trouble than it's worth, since the MWIMAGEHDR
structure isn't directly compatible with the MS DIB
structure since Microwindows handles more than one API.
Regards,
Greg