Make clients graphics use lighter random colors.

dev
Kristian Høgsberg 16 years ago
parent 48a33baec7
commit d311e8a061
  1. 8
      client.c

@ -70,10 +70,10 @@ static void
set_random_color(cairo_t *cr) set_random_color(cairo_t *cr)
{ {
cairo_set_source_rgba(cr, cairo_set_source_rgba(cr,
(random() % 100) / 99.0, 0.5 + (random() % 50) / 49.0,
(random() % 100) / 99.0, 0.5 + (random() % 50) / 49.0,
(random() % 100) / 99.0, 0.5 + (random() % 50) / 49.0,
(random() % 100) / 99.0); 0.5 + (random() % 100) / 99.0);
} }

Loading…
Cancel
Save