nanogui: Confused with SCREENDEVICE
Subject:
Re: [nanogui] Confused with SCREENDEVICE
From:
"Robbie" ####@####.####
Date:
3 Jan 2006 16:23:58 +0000
Message-Id: <20060103162353.3A7879204B@xprdmxin.myway.com>
This was taken from devdraw.c:
/**
* Draw a color bitmap image in 1, 4, 8, 24 or 32 bits per pixel. The
* Microwindows color image format is DWORD padded bytes, with
* the upper bits corresponding to the left side (identical to
* the MS Windows format). This format is currently different
* than the MWIMAGEBITS format, which uses word-padded bits
* for monochrome display only, where the upper bits in the word
* correspond with the left side.
**/
What happened to 16bpp?
--- On Sat 12/31, Greg Haerr < ####@####.#### > wrote:
From: Greg Haerr [mailto: ####@####.####
To: ####@####.#### ####@####.####
Date: Sat, 31 Dec 2005 11:01:51 -0800
Subject: Re: [nanogui] Confused with SCREENDEVICE
> There is one thing that's bugging me and although I not sitting infont of
the source, I think the names are pretty close if ot exact. What's the
difference between RGB2PIXEL and COLORVAL2PIXELVAL? I could see where
RGB2PIXELVAL comes in, but COLORVAL2PIXELVAL? They seem to be saying the
same thing to me.
The two act the same when microwindows is compiled for a 32-bit
pixel size, MWPF_TRUECOLOR0888, which is the default. They
change when a COLORVAL is 8 or 16 bits in length. Study the
config file and the source for more details.
Regards,
Greg
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!