X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2FDraw_Item.h;h=ff332f492b69a7e76788ef1ad25aeea857374020;hb=8b90e6486401fa3388e550e0f3d55a3d70f4d0bf;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..ff332f49 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.h +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.h @@ -1,6 +1,8 @@ #ifndef _DRAW_ITEM_H #define _DRAW_ITEM_H +#include + typedef struct _DrawContext DrawContext; typedef struct _DrawInfo DrawInfo; typedef struct _ItemInfo ItemInfo; @@ -39,25 +41,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,10 +69,19 @@ struct _DrawInfo { * LttvTracefileContext, it gives the LttEvent structure, which is needed * to get facility name and event name. */ +struct _DrawInfo { + ItemInfo *over; + ItemInfo *middle; + ItemInfo *under; + + ItemInfo *modify_over; + ItemInfo *modify_middle; + ItemInfo *modify_under; + LttvProcessStatus status; +}; + struct _ItemInfo { gint x, y; - LttvTraceState *ts; - LttvTracefileState *tfs; }; /*