Originally posted by droidhacker
View Post
Code:
// num_of_lines and an array of line objects assumed here called line const ColorMax= #FFFFFF; int ColorStep = ColorMax/num_of_lines; for (int i =0; i < num_of_lines; i++) { templine* = line[i] templine->setColor(ColorStep*i); }
Comment