X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=inline;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2FDraw_Item.h;h=de3a51c1dbb744fd8204a00501382bd409965900;hb=80a52ff84b0196d969d8e4bffe0f698652d8801c;hp=63efcc11baa989d9fc529c59a3c373fdcc596a82;hpb=a6b3623edf87fccfbaf201e70c720d52f89a77fe;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..de3a51c1 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.h +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.h @@ -39,6 +39,8 @@ typedef enum _RelPos { * draw a line or background. * */ + + struct _DrawContext { GdkDrawable *drawable; GdkGC *gc; @@ -48,16 +50,6 @@ struct _DrawContext { 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. */