Home | History | Annotate | Download | only in windib

Lines Matching refs:ncolors

95 static int DIB_SetColors(_THIS, int firstcolor, int ncolors,
308 int ncolors;
310 ncolors = (1 << bpp);
312 ncolors*sizeof(PALETTEENTRY));
314 palette->palNumEntries = ncolors;
316 GetSystemPaletteEntries(hdc, 0, ncolors, palette->palPalEntry);
859 binfo_size += video->format->palette->ncolors *
892 video->format->palette->ncolors*sizeof(RGBQUAD));
1014 int DIB_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
1030 for ( i=0; i<ncolors; ++i ) {
1062 pal = SDL_stack_alloc(RGBQUAD, ncolors);
1063 for ( i=0; i<ncolors; ++i ) {
1073 SetDIBColorTable(mdc, firstcolor, ncolors, pal);