Make clients graphics use lighter random colors.
This commit is contained in:
parent
48a33baec7
commit
d311e8a061
8
client.c
8
client.c
|
@ -70,10 +70,10 @@ static void
|
|||
set_random_color(cairo_t *cr)
|
||||
{
|
||||
cairo_set_source_rgba(cr,
|
||||
(random() % 100) / 99.0,
|
||||
(random() % 100) / 99.0,
|
||||
(random() % 100) / 99.0,
|
||||
(random() % 100) / 99.0);
|
||||
0.5 + (random() % 50) / 49.0,
|
||||
0.5 + (random() % 50) / 49.0,
|
||||
0.5 + (random() % 50) / 49.0,
|
||||
0.5 + (random() % 100) / 99.0);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue