formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics
Description
This will create a new color table with the number of colors specified. The color entries are undefined in the new color table. The function fzrt_ctab_set_rgb can be used to initialize the individual entries in the color table.
Plugin Prototype
fzrt_error_td fzrt_ctab_create(
short | nColors, |
short | flags, |
cTab ) |
Parameters
nColors [Input]
Number of colors in table
flags [Input]
flags for color table - current unused, set to 0
cTab [Result]
pointer to color table pointer received newly created color table
Returns
error number, FZRT_NOERR if successful
Availability
5.0.0.0
See Also
Function Set
Defined in