From: compudj Date: Fri, 30 Jan 2004 13:11:52 +0000 (+0000) Subject: line current : color white + dashed X-Git-Tag: v0.12.20~3035 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0e492a24aeca0c8268ecf216bafb0ea58e352796;p=lttv.git line current : color white + dashed git-svn-id: http://ltt.polymtl.ca/svn@454 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 10d23986..0a68304d 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c @@ -325,8 +325,12 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data ) if(x >= event->area.x && x <= event->area.x+event->area.width) { GdkGC *gc = gdk_gc_new(control_flow_data->drawing->pixmap); - gdk_gc_copy(gc, widget->style->black_gc); - + gdk_gc_copy(gc, widget->style->white_gc); + gdk_gc_set_line_attributes(gc, + 1, + GDK_LINE_ON_OFF_DASH, + GDK_CAP_BUTT, + GDK_JOIN_MITER); drawing_draw_line(NULL, widget->window, x, event->area.y, x, event->area.y+event->area.height,