X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fcontrolflow%2Fprocesslist.h;h=efb747f72e10b8c75d047ab96be9ad2259313436;hb=b9a010a28d9625c9d31968aa44f1a553daccb294;hp=112337892991a020d326c6580d8bd3c7b9a76f82;hpb=8aee234c8470fcd72a6fc70bd3dc85b8f3e47ac8;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h index 11233789..efb747f7 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h @@ -52,7 +52,11 @@ typedef struct _ProcessInfo { typedef struct _HashedProcessData { GtkTreeRowReference *row_ref; - DrawContext *draw_context; + // DrawContext *draw_context; + /* Information on current drawing */ + guint x; /* last x position saved by after state update */ + + // FIXME : add info on last event ? } HashedProcessData; @@ -60,6 +64,7 @@ struct _ProcessList { GtkWidget *process_list_widget; GtkListStore *list_store; + GtkWidget *button; /* one button of the tree view */ /* A hash table by PID to speed up process position find in the list */ GHashTable *process_hash; @@ -74,6 +79,8 @@ ProcessList *processlist_construct(void); void processlist_destroy(ProcessList *process_list); GtkWidget *processlist_get_widget(ProcessList *process_list); +void processlist_clear(ProcessList *process_list); + // out : success (0) and height int processlist_add(ProcessList *process_list, guint pid, LttTime *birth, guint trace_num, const gchar *name, guint *height,