1. Re Win32Lib and Bitmaps

Ralf wrote:

>Interestingly, Im not trying to annoy, David, im trying to make a point.

No offense taken.

>If you would use Neil for dos32lib, it would create a compatible palette
>without any effort from you.

Actually, I'd written the code for my XPM (X Pixmap) reader a while back; I
just didn't bother to include it.  I'm just suprised that the *Win32* code
doesn't do it automatically. I guess I'll have to dig into the book again.

I'm under the impression that Neil & Co. are aimed at the SVGA crowd, while
Dos32Lib targets VGA (mainly mode 18). I'm a bit leery about using SVGA when
it tends to choke up half the machines I use - because vendors are too lazy
to create SVGA drivers for DOS, relying on Win32 to supply the drivers
instead.

But I am trying to keep my options open by limiting the graphic calls to a
small part of the code - the renderXXXX routines. That way, if I decide to
change to another library (to run under Linux, for example), it shouldn't be
that hard to port the code.

As a side note, one of the (minor) reasons I dropped the Java Look and Feel
is that it required redefining several of the default palette colors. Give
the already constrained VGA palette, I wasn't that comfortable with
sacrificing those many colors.

-- David Cuny

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu