minor arch modification : hooks instead of casting data types
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 13 Oct 2003 18:59:54 +0000 (18:59 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 13 Oct 2003 18:59:54 +0000 (18:59 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@302 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/README
ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.c

index 0adf43d7fc3bfce275d3173cab914e390615bb73..e5b3fcc47c5e7da781517f85ed012cc0edd1fe6e 100644 (file)
@@ -5,7 +5,7 @@ Some development libraries are needed for compiling :
 gtk 2 development libraries (libgtk2.0-dev)
 glib 2 development libraries (libglib2.0-dev)
 libpopt development libraries (libpopt-dev)
-
+libpango development libraries (libpango-dev)
 
 To compile the source tree from a tarball, simply follow these steps :
 
index 1c89f70192e0e2439b7ec21d0b265ff3b771ce54..2877799dc3f5e515c12ed138afcce6308144d8d5 100644 (file)
  * - point (color, size)
  * - background color (color)
  *
- * Each item has an array of pointers to operation structures, which define
- * the information type selector. We seek the array each time we want to
- * draw an item. We execute each operation in order, casting to the right
- * operation type corresponding to the information type selector.
+ * Each item has an array of hooks (hook list). Each hook represents an
+ * operation to perform. We seek the array each time we want to
+ * draw an item. We execute each operation in order.
  *
  * The array has to be sorted by priority each time we add a task in it.
- * A priority is associated with each information type selector. It permits
+ * A priority is associated with each hook. It permits
  * to perform background color selection before line or text drawing. We also
  * draw lines before text, so the text appears over the lines.
  *
  * has to be done in a same DrawContext. The goal there is to keep the offset
  * of the text and icons over and under the middle line, so a specific
  * event could be printed as (  R Si 0 for running, scheduled in, cpu 0  ),
- * text being easy to replace with icons.
+ * text being easy to replace with icons. The DrawContext is passed as
+ * call_data for the operation hooks.
  *
  * Author : Mathieu Desnoyers, October 2003
  */
+
+#include <glib.h>
+#include <lttv/hook.h>
+
+
This page took 0.024449 seconds and 4 git commands to generate.