VgaGames 3 - Video man-pages

[.. upper level ..]

VG3_replace_colormap()

Replace current colormap with another one (to be used with VGAG3_VGAVERSION_LOW).
SYNTAX
void VG3_replace_colormap(struct vg3_window *wstruct, struct vg3_colormap *acolmap, struct vg3_colormap *ncolmap)

FUNCTION PARAMETERS
wstruct Window-struct
acolmap For returning previous colormap, or NULL
ncolmap New colormap, or NULL

DESCRIPTION
Replace current colormap with another one and return the previous colormap. Only relevant when the window is opened with VGAG3_VGAVERSION_LOW. Beware: the new colormap affects not already loaded images.