Home | History | Annotate | Download | only in dga

Lines Matching defs:ncolors

55 static int DGA_SetColors(_THIS, int firstcolor, int ncolors,
990 static int DGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
999 xcmap = SDL_stack_alloc(XColor, ncolors);
1000 for ( i=0; i<ncolors; ++i ) {
1008 XStoreColors(DGA_Display, DGA_colormap, xcmap, ncolors);
1019 int i, ncolors;
1030 ncolors = 64; /* Is this right? */
1032 ncolors = 256;
1034 for ( i=0; i<ncolors; ++i ) {
1035 Uint8 c = (256 * i / ncolors);
1043 XStoreColors(DGA_Display, DGA_colormap, xcmap, ncolors);