From 0e492a24aeca0c8268ecf216bafb0ea58e352796 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 30 Jan 2004 13:11:52 +0000 Subject: [PATCH] line current : color white + dashed git-svn-id: http://ltt.polymtl.ca/svn@454 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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, -- 2.34.1