Color


MAllocColor
Allocates a color with the R-G-B components specified in parameters (r,g,b) and returns its identifier
MAllocShiftColor
Allocates a shared color as a shade of the color c; shift specifies the shade intensity (darker if < 100, brighter if > 100)
MFreeColor
Frees a no longer needed shared color
MAllocCell
Allocates a read-write color cell for color animation purpose
MSetCellColor
Changes the R-G-B values of the color stored in the read-write cell 'c'
void MFreeCell(MTColor c)
Frees a read-write color cell and makes it available for both read-write and shared use
void MQueryColor(MTColor col, int *pr, int *pg, int *pb)
Returns in the integers pointed to by 'pr', 'pg', 'pb' the R, G, B values of the color 'col'
void MGetDefaultBackgroundRGB(int *pr, int *pg, int *pb)
Returns in the integers pointed to by 'pr', 'pg', 'pb' the R, G, B values of the default background color
void MSetDefaultBackgroundRGB(int r, int g, int b)
Sets the default background color used for MGUI object creation
void MGetDefaultForegroundRGB(int *pr, int *pg, int *pb)
Returns in the integers pointed to by 'pr', 'pg', 'pb' the R, G, B values of the default foreground color
void MSetDefaultForegroundRGB(int r, int g, int b)
Sets the default foreground color used for MGUI object creation
MAllocDefaultBackgroundColor
Re-allocates the default background color and returns its identifier

alphabetic index hierarchy of classes


MGUI Copyright 1996-1998 Vincenzo Morello

generated by doc++