line current : color white + dashed
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 30 Jan 2004 13:11:52 +0000 (13:11 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 30 Jan 2004 13:11:52 +0000 (13:11 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@454 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c

index 10d23986bc51316be1e7063bee094e7d20c6e356..0a68304d96f13a56823d0dee0311ae6b65b96775 100644 (file)
@@ -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,
This page took 0.024939 seconds and 4 git commands to generate.