nanogui: More on 16-bit color, and more
Subject:
Re: More on 16-bit color, and more
From:
Morten Rolland ####@####.####
Date:
5 Jan 2000 13:50:22 -0000
Message-Id: <38735726.606A01D6@screenmedia.no>
Greg Haerr wrote:
>
> : In device.h a simple test for __PIXEL16__ selects 16-bit PIXELVAL
> : if defined.
>
> This is fine, but I like your SCREEN_PIXTYPE idea below better.
So do I - my patches was really what I (thought...:-) I had to do
to make it run and demonstrate 16-bit colors, and nothing more.
Should have stated that better.
> : As to how microwin should be updated to support different PIXELVAL
> : sizes, I have the following suggestion:
[deleted]
> : I can write the patch itself if you think this is a good idea?
>
> Sure, go ahead. I like it. Since PIXELVAL needs to be defined
> early on, you might want two separate sections in device.h
> for the #if testing, so that all the RGB color stuff doesn't get
> dragged to the top of the file... I try to keep the type declarations
> ahead of all the macros.
OK, will try. 'Guess you want patches against pre3?
- Morten