X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fcontrolflow%2Fdrawing.h;h=58f562a2a6380e4be299b805e68807f1aaf29365;hb=d34141ca6fc6dd872a922134b22095bd74ec013d;hp=fc60dcad9640771f7b86bc551ee3c20717694624;hpb=0af21a5988637b25ce9568c6cc3b3019621032dc;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h index fc60dcad..58f562a2 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.h @@ -39,7 +39,8 @@ typedef enum _draw_color { COL_RUN_USER_MODE,/* green */ COL_RUN_SYSCALL, /* pale blue */ COL_RUN_TRAP, /* yellow */ - COL_RUN_IRQ, /* red */ + COL_RUN_IRQ, /* orange */ + COL_RUN_SOFT_IRQ, /* red */ COL_WAIT, /* dark red */ COL_WAIT_CPU, /* dark yellow */ COL_ZOMBIE, /* dark purple */ @@ -94,7 +95,7 @@ struct _Drawing_t { GtkWidget *ruler_hbox; GtkWidget *ruler; GtkWidget *padding; - GdkPixmap *pixmap; + //GdkPixmap *pixmap; ControlFlowData *control_flow_data; PangoLayout *pango_layout; @@ -109,6 +110,8 @@ struct _Drawing_t { LttTime last_start; GdkGC *dotted_gc; GdkGC *gc; + GdkGC *ruler_gc_butt; + GdkGC *ruler_gc_round; /* Position of the horizontal selector, -1 for none */ gint horizontal_sel; @@ -122,7 +125,6 @@ GtkWidget *drawing_get_drawing_area(Drawing_t *drawing); void drawing_data_request(Drawing_t *drawing, - GdkPixmap **pixmap, gint x, gint y, gint width, gint height);