+/* Set the name of a process */
+void processlist_set_name(ProcessList *process_list,
+ GQuark name,
+ HashedProcessData *hashed_process_data);
+
+void processlist_set_brand(ProcessList *process_list,
+ GQuark brand,
+ HashedProcessData *hashed_process_data);
+
+/* Set the ppid of a process */
+void processlist_set_tgid(ProcessList *process_list,
+ guint tgid,
+ HashedProcessData *hashed_process_data);
+void processlist_set_ppid(ProcessList *process_list,
+ guint ppid,
+ HashedProcessData *hashed_process_data);
+
+
+/* Synchronize the list at the left and the drawing */
+void update_index_to_pixmap(ProcessList *process_list);
+
+/* Update the width of each pixmap buffer for each process */
+void update_pixmap_size(ProcessList *process_list, guint width);
+
+
+/* Put src and/or dest to NULL to copy from/to the each PID specific pixmap */
+void copy_pixmap_region(ProcessList *process_list, GdkDrawable *dest,
+ GdkGC *gc, GdkDrawable *src,
+ gint xsrc, gint ysrc,
+ gint xdest, gint ydest, gint width, gint height);
+
+/* If height is -1, the height of each pixmap is used */
+void rectangle_pixmap(ProcessList *process_list, GdkGC *gc,
+ gboolean filled, gint x, gint y, gint width, gint height);
+
+/* Renders each pixmaps into on big drawable */
+void copy_pixmap_to_screen(ProcessList *process_list,
+ GdkDrawable *dest,
+ GdkGC *gc,
+ gint x, gint y,
+ gint width, gint height);
+
+
+static inline gint get_cell_height(GtkTreeView *TreeView)
+{
+ gint height;
+ GtkTreeViewColumn *column = gtk_tree_view_get_column(TreeView, 0);
+
+ gtk_tree_view_column_cell_get_size(column, NULL, NULL, NULL, NULL, &height);
+
+ gint vertical_separator;
+ gtk_widget_style_get (GTK_WIDGET (TreeView),
+ "vertical-separator", &vertical_separator,
+ NULL);
+ height += vertical_separator;
+
+ return height;
+}
+
+static inline guint processlist_get_height(ProcessList *process_list)
+{
+ return process_list->cell_height * process_list->number_of_process ;
+}
+