current time ready : zoom efficient
[lttv.git] / ltt / branches / poly / lttv / modules / guiControlFlow / Draw_Item.h
index 63efcc11baa989d9fc529c59a3c373fdcc596a82..ff332f492b69a7e76788ef1ad25aeea857374020 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _DRAW_ITEM_H
 #define _DRAW_ITEM_H
 
+#include <lttv/state.h>
+
 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;
 };
 
 /*
This page took 0.022933 seconds and 4 git commands to generate.