Searched refs:numcolors (Results 1 – 1 of 1) sorted by relevance
966 int numcolors = project->CountResources(DisplayIndex, RES_TYPE_COLOR); in BuildColorTable() local969 table->num_colors = numcolors; in BuildColorTable()971 if (numcolors) in BuildColorTable()973 table->colors = new GX_COLOR[numcolors]; in BuildColorTable()974 memset(table->colors, 0, (numcolors * sizeof(GX_COLOR))); in BuildColorTable()976 for (color_id = 0; color_id < numcolors; color_id++) in BuildColorTable()