Home | History | Annotate | Download | only in dga

Lines Matching defs:ncolors

50 static int DGA_SetColors(_THIS, int firstcolor, int ncolors,
994 static int DGA_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
1003 xcmap = SDL_stack_alloc(XColor, ncolors);
1004 for ( i=0; i<ncolors; ++i ) {
1012 XStoreColors(DGA_Display, DGA_colormap, xcmap, ncolors);
1023 int i, ncolors;
1034 ncolors = 64; /* Is this right? */
1036 ncolors = 256;
1038 for ( i=0; i<ncolors; ++i ) {
1039 Uint8 c = (256 * i / ncolors);
1047 XStoreColors(DGA_Display, DGA_colormap, xcmap, ncolors);