#ifndef _DRAW_ITEM_H
#define _DRAW_ITEM_H
+#include <lttv/state.h>
+
typedef struct _DrawContext DrawContext;
typedef struct _DrawInfo DrawInfo;
typedef struct _ItemInfo ItemInfo;
* 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.
* 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;
};
/*