viscal

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

commit c752f9de8f8ffc29c59a42e8d93144d371ae1ce8
parent bc4a12e4f55635cca011fede48d7628196fe71e5
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 18 Nov 2021 16:26:10 -0800

adjust color again

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

diff --git a/viscal.c b/viscal.c @@ -2315,8 +2315,9 @@ draw_event_summary(cairo_t *cr, struct cal *cal, time_t st, time_t et, ey += exts.height + 4; + double tadj = 0.8; cairo_move_to(cr, x + EVPAD, ey); - cairo_set_source_rgb(cr, color.r * 0.9, color.g * 0.9, color.b * 0.9); + cairo_set_source_rgb(cr, color.r * tadj, color.g * tadj, color.b * tadj); cairo_show_text(cr, buffer); }