viscal

cairo/gtk vi-like timeblocking calendar
git clone git://jb55.com/viscal
Log | Files | Refs | README | LICENSE

commit a35be32ba85bb564a98539c0fffbb3a711b12eee
parent 4b87413babb4296d94ac8535f1160f7a0d507c4e
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 13 Apr 2021 12:45:57 -0700

ui: make events slightly transparent

so we can see overlap

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mviscal.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/viscal.c b/viscal.c @@ -2510,9 +2510,9 @@ int main(int argc, char *argv[]) ical->color.r = rand_0to1() > 0.5 ? 1.0 : 0; ical->color.g = rand_0to1() > 0.5 ? 1.0 : 0; ical->color.b = rand_0to1() > 0.5 ? 1.0 : 0; - ical->color.a = 1.0; + ical->color.a = 0.9; - saturate(&ical->color, 0.4); + saturate(&ical->color, 0.5); } else { printf("failed to load calendar\n");