oops, no modif to main window : the drawing request will come from the configure...
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 29 Sep 2003 12:42:27 +0000 (12:42 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 29 Sep 2003 12:42:27 +0000 (12:42 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@279 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c

index 5cbdae73e33975d1ac43614012faea9c6dae0af7..43b8fcbb15e18b4f5ee45b30922394e91925b104 100644 (file)
@@ -15,6 +15,8 @@
 #include "Process_List.h"
 #include "Drawing.h"
 
+/* NOTE : no draing data should be sent there, as the drawing widget
+ * has not been initialized */
 void send_test_data(ProcessList *Process_List, Drawing_t *Drawing)
 {
        guint height, size;
@@ -31,7 +33,7 @@ void send_test_data(ProcessList *Process_List, Drawing_t *Drawing)
                        1,
                        &birth,
                        &height);
-       Drawing_Insert_Square( Drawing, height, 5);
+       //Drawing_Insert_Square( Drawing, height, 5);
        
        g_critical("height : %u", height);
        
@@ -42,7 +44,7 @@ void send_test_data(ProcessList *Process_List, Drawing_t *Drawing)
                        156,
                        &birth,
                        &height);
-       Drawing_Insert_Square( Drawing, height, 5);
+       //Drawing_Insert_Square( Drawing, height, 5);
 
        g_critical("height : %u", height);
 
@@ -53,7 +55,7 @@ void send_test_data(ProcessList *Process_List, Drawing_t *Drawing)
                        10,
                        &birth,
                        &height);
-       Drawing_Insert_Square( Drawing, height, 5);
+       //Drawing_Insert_Square( Drawing, height, 5);
 
        for(i=0; i<10; i++)
        {
@@ -64,7 +66,7 @@ void send_test_data(ProcessList *Process_List, Drawing_t *Drawing)
                                i,
                                &birth,
                                &height);
-       Drawing_Insert_Square( Drawing, height, 5);
+       //Drawing_Insert_Square( Drawing, height, 5);
 
        }
        g_critical("height : %u", height);
@@ -76,14 +78,14 @@ void send_test_data(ProcessList *Process_List, Drawing_t *Drawing)
                        10,
                        &birth,
                        &height);
-       Drawing_Insert_Square( Drawing, height, 5);
+       //Drawing_Insert_Square( Drawing, height, 5);
        g_critical("height : %u", height);
 
        ProcessList_add(Process_List,
                        10000,
                        &birth,
                        &height);
-       Drawing_Insert_Square( Drawing, height, 5);
+       //Drawing_Insert_Square( Drawing, height, 5);
        g_critical("height : %u", height);
 
 
@@ -95,7 +97,7 @@ void send_test_data(ProcessList *Process_List, Drawing_t *Drawing)
                                10000,
                                &birth);
 
-       Drawing_Remove_Square( Drawing, height, 5);
+       //Drawing_Remove_Square( Drawing, height, 5);
        
        if(got_RowRef = 
                (GtkTreeRowReference*)g_hash_table_lookup(
This page took 0.024926 seconds and 4 git commands to generate.