+void send_test_drawing(ProcessList *Process_List,
+ Drawing_t *Drawing,
+ GdkPixmap *Pixmap,
+ gint x, gint y, // y not used here?
+ gint width,
+ gint height) // height won't be used here ?
+{
+ int i;
+ ProcessInfo Process_Info = {10000, 12000, 55600};
+ //ProcessInfo Process_Info = {156, 14000, 55500};
+ GtkTreeRowReference *got_RowRef;
+
+ LttTime birth;
+ birth.tv_sec = 12000;
+ birth.tv_nsec = 55500;
+ g_critical("we have : x : %u, y : %u, width : %u, height : %u", x, y, width, height);
+ ProcessList_get_process_pixels(Process_List,
+ 1,
+ &birth,
+ &y,
+ &height);
+
+ g_critical("we draw : x : %u, y : %u, width : %u, height : %u", x, y, width, height);
+ Drawing_draw_line(
+ Drawing, Pixmap, x,
+ y+(height/2), x + width, y+(height/2),
+ Drawing->Drawing_Area_V->style->black_gc);
+
+ birth.tv_sec = 14000;
+ birth.tv_nsec = 55500;
+
+ ProcessList_get_process_pixels(Process_List,
+ 156,
+ &birth,
+ &y,
+ &height);
+
+
+ Drawing_draw_line(
+ Drawing, Pixmap, x,
+ y+(height/2), x + width, y+(height/2),
+ Drawing->Drawing_Area_V->style->black_gc);
+
+ g_critical("y : %u, height : %u", y, height);
+
+ birth.tv_sec = 12000;
+ birth.tv_nsec = 55700;
+
+ ProcessList_get_process_pixels(Process_List,
+ 10,
+ &birth,
+ &y,
+ &height);
+
+
+ Drawing_draw_line(
+ Drawing, Pixmap, x,
+ y+(height/2), x + width, y+(height/2),
+ Drawing->Drawing_Area_V->style->black_gc);
+
+ g_critical("y : %u, height : %u", y, height);
+
+ for(i=0; i<10; i++)
+ {
+ birth.tv_sec = i*12000;
+ birth.tv_nsec = i*55700;
+
+ ProcessList_get_process_pixels(Process_List,
+ i,
+ &birth,
+ &y,
+ &height);
+
+
+ Drawing_draw_line(
+ Drawing, Pixmap, x,
+ y+(height/2), x + width, y+(height/2),
+ Drawing->Drawing_Area_V->style->black_gc);
+
+ g_critical("y : %u, height : %u", y, height);
+
+ }
+
+ birth.tv_sec = 12000;
+ birth.tv_nsec = 55600;
+
+ ProcessList_get_process_pixels(Process_List,
+ 10,
+ &birth,
+ &y,
+ &height);
+
+
+ Drawing_draw_line(
+ Drawing, Pixmap, x,
+ y+(height/2), x + width, y+(height/2),
+ Drawing->Drawing_Area_V->style->black_gc);
+
+ g_critical("y : %u, height : %u", y, height);
+
+}
+
+void send_test_process(ProcessList *Process_List, Drawing_t *Drawing)