Palette is a class which will help you handling palettes under OS2.0 and OS3.0+.
It minds about colours limits and the right OS calls for different OSes.
Under OS2.0 you'll be able to allocate and use up to 32 colour pens, while
under OS3.0+ this limit will reach the 256 colours.
|