X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2FDraw_Item.h;h=6c35e97769baa470b0d89fcc5d9ec6d5d633abaa;hb=e8814eec2e5ba7e735892c3a7d03ff1872f9a0d2;hp=63efcc11baa989d9fc529c59a3c373fdcc596a82;hpb=8d088fb270b8b2e03e3632f1b5733485a6675c07;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.h b/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.h index 63efcc11..6c35e977 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.h +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.h @@ -39,25 +39,17 @@ typedef enum _RelPos { * draw a line or background. * */ + + struct _DrawContext { GdkDrawable *drawable; GdkGC *gc; - + PangoLayout *pango_layout; DrawInfo *Current; DrawInfo *Previous; }; -struct _DrawInfo { - ItemInfo *over; - ItemInfo *middle; - ItemInfo *under; - - ItemInfo *modify_over; - ItemInfo *modify_middle; - ItemInfo *modify_under; -}; - /* LttvExecutionState is accessible through the LttvTracefileState. Is has * a pointer to the LttvProcessState which points to the top of stack * execution state : LttvExecutionState *state. @@ -75,12 +67,22 @@ struct _DrawInfo { * LttvTracefileContext, it gives the LttEvent structure, which is needed * to get facility name and event name. */ -struct _ItemInfo { - gint x, y; +struct _DrawInfo { + ItemInfo *over; + ItemInfo *middle; + ItemInfo *under; + + ItemInfo *modify_over; + ItemInfo *modify_middle; + ItemInfo *modify_under; LttvTraceState *ts; LttvTracefileState *tfs; }; +struct _ItemInfo { + gint x, y; +}; + /* * Structure used to keep information about icons. */