From a2e850fffe01f27fc96b9dd309c2345e142796fc Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 13 Oct 2003 19:12:45 +0000 Subject: [PATCH] must keep operation type with the hook so the user can list and modify the operations in the GUI git-svn-id: http://ltt.polymtl.ca/svn@303 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.c b/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.c index 2877799d..de4bcd2a 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Draw_Item.c @@ -27,10 +27,14 @@ * * 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. + * draw an item. We execute each operation in order. An operation type + * is associated with each hook to permit user listing and modification + * of these operations. The operation type is also used to find the + * corresponding priority for the sorting. Operation type and priorities + * are enum and a static int table. * * The array has to be sorted by priority each time we add a task in it. - * A priority is associated with each hook. It permits + * A priority is associated with each operation type. 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. * -- 2.34.1