From: compudj Date: Tue, 17 Aug 2004 02:55:54 +0000 (+0000) Subject: current time in cfv more cute X-Git-Tag: v0.12.20~2691 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=08489c1e5921ed99401e387419a9163308e3d5a6;p=lttv.git current time in cfv more cute git-svn-id: http://ltt.polymtl.ca/svn@798 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c index b31549d7..b09853d3 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c @@ -598,7 +598,17 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data ) event->area.x, event->area.y, event->area.x, event->area.y, event->area.width, event->area.height); - + + /* Erase the dotted lines left.. */ + if(widget->allocation.height > drawing->height) + gdk_draw_rectangle (widget->window, + drawing->drawing_area->style->black_gc, + TRUE, + event->area.x, drawing->height, + event->area.width, // do not overlap + widget->allocation.height - drawing->height); + + if(ltt_time_compare(time_window.start_time, current_time) <= 0 && ltt_time_compare(window_end, current_time) >= 0) { @@ -626,10 +636,10 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data ) dash_list, 2); } - + drawing_draw_line(NULL, widget->window, cursor_x, 0, - cursor_x, drawing->height, + cursor_x, widget->allocation.height, drawing->dotted_gc); } return FALSE;