authors in about
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / drawitem.h
index 1fca9ae7482283a0003e9b4fcf017d1ab8e9d0a8..fe46c0629e10512f089fa2aca824513362248646 100644 (file)
@@ -59,6 +59,8 @@ typedef enum _RelPos {
  * when we draw a text, an arc or an icon, while it's unneeded when we
  * draw a line or background.
  *
+ * The modify_* positions are altered by the draw item functions.
+ *
  */
 
 
@@ -67,42 +69,23 @@ struct _DrawContext {
   GdkGC   *gc;
   PangoLayout *pango_layout;
 
-  DrawInfo  *current;
-  DrawInfo  *previous;
-};
+  struct {
+    gint x_start;
+    gint x_end;
 
-/* LttvExecutionState is accessible through the LttvTracefileState. Is has
- * a pointer to the LttvProcessState which points to the top of stack
- * execution state : LttvExecutionState *state.
- *
- * LttvExecutionState contains (useful here):
- * LttvExecutionMode t,
- * LttvExecutionSubmode n,
- * LttvProcessStatus s
- * 
- *
- * LttvTraceState will be used in the case we need the string of the
- * different processes, eventtype_names, syscall_names, trap_names, irq_names.
- *
- * LttvTracefileState also gives the cpu_name and, as it herits from
- * 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;
-};
+    gint y_over;
+    gint y_middle;
+    gint y_under;
 
-struct _ItemInfo {
-  gint  x, y;
+    gint x_modify_over;
+    gint x_modify_middle;
+    gint x_modify_under;
+  } drawinfo;
 };
 
+
+
+
 /*
  * Structure used to keep information about icons.
  */
@@ -163,7 +146,7 @@ struct _PropertiesIcon {
 };
 
 struct _PropertiesLine {
-  GdkColor  *color;
+  GdkColor  color;
   gint    line_width;
   GdkLineStyle  style;
   RelPos    position;
This page took 0.022702 seconds and 4 git commands to generate.