Showing changes from revision #5 to #6:
Added | Removed | Changed
The ColourTrans module provides functionality for choosing the most appropriate colour available, given input values of Red, Green and Blue, and the colour depth of the desired Screen Mode. Because it understands all the pixel formats supported by the system, using ColourTrans is the recommended way of setting colours for rendering or converting RGB colours to pixel values.
ColourTrans also provides an intelligent way to handle colour with sprites and the Font Manager, and is the best way to set up colours when printing. Colour calibration functionality is also supported. It is recommended that colour routines be shared between screen and printer devices. This ensures that code is not duplicated within tasks and reduces code complexity and footprint size.