MTColor MAllocCell (int r, int g, int b)

Allocates a read-write color cell for color animation purpose

Documentation

Allocates a read-write color cell for color animation purpose. This feature works only in Palette mode (16 or 256 colors) and allows the program to change simultaneously all pixels in the screen drawn with a read-write cell id. The cell color can be changed via MSetCellColor(). Unlike MAllocColor() this function returns different identifiers for further calls with the same desired R-G-B. When no more cells are available or if the program runs in HiColor/TrueColor, the identifier of the shared black color is returned.

alphabetic index hierarchy of classes


MGUI Copyright 1996-1998 Vincenzo Morello

generated by doc++