Color handling


MTColor MAllocColor(int r, int g, int b)
creates a shared color with the R-G-B components specified in parameters (r,g,b)
MAllocShiftColor
creates a color as a shade of the color 'col'
void MFreeColor(MTColor col)
frees a shared color
MTColor MAllocCell(int r, int g, int b)
creates a read-write color with the R-G-B components specified in parameters (r,g,b)
void MSetCellColor(MTColor c, int r, int g, int b)
changes the R-G-B components of the color cell using the parameters (r,g,b)
void MFreeCell(MTColor c)
frees a read-write color
void MQueryColor(MTColor col, int *pr, int *pg, int *pb)
returns the color's R-G-B components.
This group includes functions for color handling. For a detailed description, see: Color Management

alphabetic index hierarchy of classes


MGUI Copyright 1996-2000 Vincenzo Morello

generated by doc++