From 6f72af21c29396a0d1f0e865cc7d13709da29dc2 Mon Sep 17 00:00:00 2001 From: Cedric Roux <cedric.roux@eurecom.fr> Date: Thu, 9 Jun 2016 10:46:48 +0200 Subject: [PATCH] make tick larger in ticktime.c 3 pixels wide look better than 1 --- common/utils/T/tracer/view/ticktime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/utils/T/tracer/view/ticktime.c b/common/utils/T/tracer/view/ticktime.c index 90ded4dd43..1e1c7352a0 100644 --- a/common/utils/T/tracer/view/ticktime.c +++ b/common/utils/T/tracer/view/ticktime.c @@ -147,7 +147,8 @@ static void *ticktime_thread(void *_this) continue; p = &this->p[l]; /* TODO: only one call */ - timeline_add_points_silent(this->g, this->w, p->line, p->color, &i, 1); + int x[3] = {i==0?i:i-1, i, i==width-1?i:i+1}; + timeline_add_points_silent(this->g, this->w, p->line, p->color, x, 3); } } -- GitLab