Exemplo n.º 1
0
int GAL_SetColors(GAL_Surface *screen, GAL_Color *colors, int firstcolor,
          int ncolors)
{
        return GAL_SetPalette(screen, GAL_LOGPAL | GAL_PHYSPAL,
                  colors, firstcolor, ncolors);

}
Exemplo n.º 2
0
BOOL GUIAPI SetPalette (HDC hdc, int start, int len, GAL_Color* cmap)
{
    PDC pdc;

    pdc = dc_HDC2PDC (hdc);
    return GAL_SetPalette (pdc->surface, GAL_LOGPAL, cmap, start, len);
}