-Drawing_t *Drawing(void);
-void Drawing_destroy(Drawing_t *Drawing);
-void Drawing_Resize(Drawing_t *Drawing, guint h, guint w);
+struct _Drawing_t {
+ GtkWidget *Drawing_Area_V;
+ GdkPixmap *Pixmap;
+ ControlFlowData *Control_Flow_Data;
+
+ PangoLayout *pango_layout;
+
+ gint height, width, depth;
+
+};
+
+Drawing_t *drawing_construct(ControlFlowData *Control_Flow_Data);
+void drawing_destroy(Drawing_t *Drawing);
+
+GtkWidget *drawing_get_widget(Drawing_t *Drawing);
+
+//void Drawing_Refresh ( Drawing_t *Drawing,
+// guint x, guint y,
+// guint width, guint height);
+
+void drawing_draw_line( Drawing_t *Drawing,
+ GdkPixmap *Pixmap,
+ guint x1, guint y1,
+ guint x2, guint y2,
+ GdkGC *GC);
+
+//void Drawing_copy( Drawing_t *Drawing,
+// guint xsrc, guint ysrc,
+// guint xdest, guint ydest,
+// guint width, guint height);
+
+/* Insert a square corresponding to a new process in the list */
+void drawing_insert_square(Drawing_t *Drawing,
+ guint y,
+ guint height);
+
+/* Remove a square corresponding to a removed process in the list */
+void drawing_remove_square(Drawing_t *Drawing,
+ guint y,
+ guint height);