Subject: Re: rasops "attr"
To: Martin Husemann <martin@duskware.de>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-kern
Date: 05/23/2005 19:31:00
martin@duskware.de said:
> Rasops seems to use "long" to store character attributes.

This is not just the "rasops" library, but part of the
wsdisplay interface. The reason is that there might be
more complex display adapters where more than a bitmask
is needed to represent a color, or perhaps some dynamic
ressource allocation is needed. In that case, a pointer
could be used as handle.
"rasops" is free to use a 32-bit type internally for
calculations. Well, as long no display with a color
depth >32 shows up.

best regards
Matthias