6 #define MAX_COLORS 1024
24 unsigned char red, grn, blu;
35 if (count > max - min + 1)
36 count = max - min + 1;
38 for (n = 1; n <=
count; n++) {
int G_set_color_range(CELL min, CELL max, struct Colors *colors)
int G_add_modular_color_rule(CELL cat1, int r1, int g1, int b1, CELL cat2, int r2, int g2, int b2, struct Colors *colors)
Add modular color rule.
int G_make_random_colors(struct Colors *colors, CELL min, CELL max)
make random colors