* @return The widget created.
*/
ControlFlowData *
-GuiControlFlow(void)
+guicontrolflow(void)
{
GtkWidget *Process_List_Widget, *Drawing_Widget;
ControlFlowData* Control_Flow_Data = g_new(ControlFlowData,1) ;
/* Create the Drawing */
- Control_Flow_Data->Drawing = Drawing_construct(Control_Flow_Data);
+ Control_Flow_Data->Drawing = drawing_construct(Control_Flow_Data);
Drawing_Widget =
- Drawing_getWidget(Control_Flow_Data->Drawing);
+ drawing_get_widget(Control_Flow_Data->Drawing);
/* TEST DATA, TO BE READ FROM THE TRACE */
Control_Flow_Data->Number_Of_Events = 1000 ;
/* Create the Process list */
- Control_Flow_Data->Process_List = ProcessList_construct();
+ Control_Flow_Data->Process_List = processlist_construct();
Process_List_Widget =
- ProcessList_getWidget(Control_Flow_Data->Process_List);
+ processlist_get_widget(Control_Flow_Data->Process_List);
Control_Flow_Data->Inside_HBox_V = gtk_hbox_new(0, 0);
G_OBJECT(Control_Flow_Data->Scrolled_Window_VC),
"Control_Flow_Data",
Control_Flow_Data,
- (GDestroyNotify)GuiControlFlow_Destructor);
+ (GDestroyNotify)guicontrolflow_destructor);
gControl_Flow_Data_List = g_slist_append(
gControl_Flow_Data_List,
/* Destroys widget also */
void
-GuiControlFlow_Destructor_Full(ControlFlowData *Control_Flow_Data)
+guicontrolflow_destructor_full(ControlFlowData *Control_Flow_Data)
{
/* May already have been done by GTK window closing */
if(GTK_IS_WIDGET(Control_Flow_Data->Scrolled_Window_VC))
gtk_widget_destroy(Control_Flow_Data->Scrolled_Window_VC);
- GuiControlFlow_Destructor(Control_Flow_Data);
+ guicontrolflow_destructor(Control_Flow_Data);
}
void
-GuiControlFlow_Destructor(ControlFlowData *Control_Flow_Data)
+guicontrolflow_destructor(ControlFlowData *Control_Flow_Data)
{
guint index;
g_free(Control_Flow_Data);
}
-GtkWidget *GuiControlFlow_get_Widget(ControlFlowData *Control_Flow_Data)
+GtkWidget *guicontrolflow_get_widget(ControlFlowData *Control_Flow_Data)
{
return Control_Flow_Data->Scrolled_Window_VC ;
}
-ProcessList *GuiControlFlow_get_Process_List
+ProcessList *guicontrolflow_get_process_list
(ControlFlowData *Control_Flow_Data)
{
return Control_Flow_Data->Process_List ;
}
-TimeWindow *GuiControlFlow_get_Time_Window(ControlFlowData *Control_Flow_Data)
+TimeWindow *guicontrolflow_get_time_window(ControlFlowData *Control_Flow_Data)
{
return &Control_Flow_Data->Time_Window;
}
-LttTime *GuiControlFlow_get_Current_Time(ControlFlowData *Control_Flow_Data)
+LttTime *guicontrolflow_get_current_time(ControlFlowData *Control_Flow_Data)
{
return &Control_Flow_Data->Current_Time;
}
typedef struct _ControlFlowData ControlFlowData;
/* Control Flow Data constructor */
-ControlFlowData *GuiControlFlow(void);
+ControlFlowData *guicontrolflow(void);
void
-GuiControlFlow_Destructor_Full(ControlFlowData *Control_Flow_Data);
+guicontrolflow_destructor_full(ControlFlowData *Control_Flow_Data);
void
-GuiControlFlow_Destructor(ControlFlowData *Control_Flow_Data);
-GtkWidget *GuiControlFlow_get_Widget(ControlFlowData *Control_Flow_Data);
-ProcessList *GuiControlFlow_get_Process_List(ControlFlowData *Control_Flow_Data);
-TimeWindow *GuiControlFlow_get_Time_Window(ControlFlowData *Control_Flow_Data);
-LttTime *GuiControlFlow_get_Current_Time(ControlFlowData *Control_Flow_Data);
+guicontrolflow_destructor(ControlFlowData *Control_Flow_Data);
+GtkWidget *guicontrolflow_get_widget(ControlFlowData *Control_Flow_Data);
+ProcessList *guicontrolflow_get_process_list(ControlFlowData *Control_Flow_Data);
+TimeWindow *guicontrolflow_get_time_window(ControlFlowData *Control_Flow_Data);
+LttTime *guicontrolflow_get_current_time(ControlFlowData *Control_Flow_Data);
#endif // _CFV_H
/* Drawing hook functions */
-gboolean DrawText( void *hook_data, void *call_data)
+gboolean draw_text( void *hook_data, void *call_data)
{
PropertiesText *Properties = (PropertiesText*)hook_data;
DrawContext *Draw_Context = (DrawContext*)call_data;
}
-gboolean DrawIcon( void *hook_data, void *call_data)
+gboolean draw_icon( void *hook_data, void *call_data)
{
PropertiesIcon *Properties = (PropertiesIcon*)hook_data;
DrawContext *Draw_Context = (DrawContext*)call_data;
}
-gboolean DrawLine( void *hook_data, void *call_data)
+gboolean draw_line( void *hook_data, void *call_data)
{
PropertiesLine *Properties = (PropertiesLine*)hook_data;
DrawContext *Draw_Context = (DrawContext*)call_data;
}
-gboolean DrawArc( void *hook_data, void *call_data)
+gboolean draw_arc( void *hook_data, void *call_data)
{
PropertiesArc *Properties = (PropertiesArc*)hook_data;
DrawContext *Draw_Context = (DrawContext*)call_data;
}
-gboolean DrawBG( void *hook_data, void *call_data)
+gboolean draw_bg( void *hook_data, void *call_data)
{
PropertiesBG *Properties = (PropertiesBG*)hook_data;
DrawContext *Draw_Context = (DrawContext*)call_data;
typedef struct _PropertiesBG PropertiesBG;
-void Draw_Item( GdkDrawable *drawable,
+void draw_item( GdkDrawable *drawable,
gint x,
gint y,
LttvTraceState *ts,
*/
/*
- * The AddOperation has to do a quick sort by priority to keep the operations
+ * The add_operation has to do a quick sort by priority to keep the operations
* in the right order.
*/
-void AddOperation( LttvIAttribute *attributes,
+void add_operation( LttvIAttribute *attributes,
gchar *pathname,
DrawOperation *Operation);
/*
- * The DelOperation seeks the array present at pathname (if any) and
+ * The del_operation seeks the array present at pathname (if any) and
* removes the DrawOperation if present. It returns 0 on success, -1
* if it fails.
*/
-gint DelOperation( LttvIAttribute *attributes,
+gint del_operation( LttvIAttribute *attributes,
gchar *pathname,
DrawOperation *Operation);
/*
- * The CleanOperations removes all operations present at a pathname.
+ * The clean_operations removes all operations present at a pathname.
* returns 0 on success, -1 if it fails.
*/
-gint DelOperations( LttvIAttribute *attributes,
+gint clean_operations( LttvIAttribute *attributes,
gchar *pathname );
/*
- * The ListOperation gives a pointer to the operation array associated
+ * The list_operations gives a pointer to the operation array associated
* with the pathname. It will be NULL if no operation is present.
*/
-void ListOperations( LttvIAttribute *attributes,
+void list_operations( LttvIAttribute *attributes,
gchar *pathname,
GArray **Operation);
/*
- * ExecOperation executes the operations if present in the attributes, or
+ * exec_operation executes the operations if present in the attributes, or
* do nothing if not present.
*/
-void ExecOperations( LttvIAttribute *attributes,
+void exec_operations( LttvIAttribute *attributes,
gchar *pathname);
* different items.
*/
-gboolean DrawText( void *hook_data, void *call_data);
-gboolean DrawIcon( void *hook_data, void *call_data);
-gboolean DrawLine( void *hook_data, void *call_data);
-gboolean DrawArc( void *hook_data, void *call_data);
-gboolean DrawBG( void *hook_data, void *call_data);
+gboolean draw_text( void *hook_data, void *call_data);
+gboolean draw_icon( void *hook_data, void *call_data);
+gboolean draw_line( void *hook_data, void *call_data);
+gboolean draw_arc( void *hook_data, void *call_data);
+gboolean draw_bg( void *hook_data, void *call_data);
#endif // _DRAW_ITEM_H
/* Function responsible for updating the exposed area.
* It must call processTrace() to ask for this update.
*/
-void Drawing_Data_Request(Drawing_t *Drawing,
+void drawing_data_request(Drawing_t *Drawing,
GdkPixmap **Pixmap,
gint x, gint y,
- gint width,
+ gint width,
gint height)
{
if(width < 0) return ;
height);
send_test_process(
- GuiControlFlow_get_Process_List(Drawing->Control_Flow_Data),
+ guicontrolflow_get_process_list(Drawing->Control_Flow_Data),
Drawing);
send_test_drawing(
- GuiControlFlow_get_Process_List(Drawing->Control_Flow_Data),
+ guicontrolflow_get_process_list(Drawing->Control_Flow_Data),
Drawing, *Pixmap, x, y, width, height);
}
Drawing->height = widget->allocation.height;
g_critical("init data");
/* Initial data request */
- Drawing_Data_Request(Drawing, &Drawing->Pixmap, 0, 0,
+ drawing_data_request(Drawing, &Drawing->Pixmap, 0, 0,
widget->allocation.width,
widget->allocation.height);
/* Request data for missing space */
g_critical("missing data");
- Drawing_Data_Request(Drawing, &Pixmap, Drawing->width, 0,
+ drawing_data_request(Drawing, &Pixmap, Drawing->width, 0,
widget->allocation.width - Drawing->width,
widget->allocation.height);
- Drawing_Data_Request(Drawing, &Pixmap, 0, Drawing->height,
+ drawing_data_request(Drawing, &Pixmap, 0, Drawing->height,
Drawing->width,
widget->allocation.height - Drawing->height);
return FALSE;
}
-Drawing_t *Drawing_construct(ControlFlowData *Control_Flow_Data)
+Drawing_t *drawing_construct(ControlFlowData *Control_Flow_Data)
{
Drawing_t *Drawing = g_new(Drawing_t, 1);
return Drawing;
}
-void Drawing_destroy(Drawing_t *Drawing)
+void drawing_destroy(Drawing_t *Drawing)
{
// Do not unref here, Drawing_t destroyed by it's widget.
g_free(Drawing);
}
-GtkWidget *Drawing_getWidget(Drawing_t *Drawing)
+GtkWidget *drawing_get_widget(Drawing_t *Drawing)
{
return Drawing->Drawing_Area_V;
}
}
-void Drawing_Refresh ( Drawing_t *Drawing,
+void drawing_refresh ( Drawing_t *Drawing,
guint x, guint y,
guint width, guint height)
{
}
-void Drawing_draw_line( Drawing_t *Drawing,
+void drawing_draw_line( Drawing_t *Drawing,
GdkPixmap *Pixmap,
guint x1, guint y1,
guint x2, guint y2,
-void Drawing_Resize(Drawing_t *Drawing, guint h, guint w)
+void drawing_resize(Drawing_t *Drawing, guint h, guint w)
{
Drawing->height = h ;
Drawing->width = w ;
/* Insert a square corresponding to a new process in the list */
/* Applies to whole Drawing->width */
-void Drawing_Insert_Square(Drawing_t *Drawing,
+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,
+void drawing_remove_square(Drawing_t *Drawing,
guint y,
guint height)
{
};
-Drawing_t *Drawing_construct(ControlFlowData *Control_Flow_Data);
-void Drawing_destroy(Drawing_t *Drawing);
+Drawing_t *drawing_construct(ControlFlowData *Control_Flow_Data);
+void drawing_destroy(Drawing_t *Drawing);
-GtkWidget *Drawing_getWidget(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,
+void drawing_draw_line( Drawing_t *Drawing,
GdkPixmap *Pixmap,
guint x1, guint y1,
guint x2, guint y2,
// guint width, guint height);
/* Insert a square corresponding to a new process in the list */
-void Drawing_Insert_Square(Drawing_t *Drawing,
+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,
+void drawing_remove_square(Drawing_t *Drawing,
guint y,
guint height);
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,
+ 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_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,
+ processlist_get_process_pixels(Process_List,
156,
&birth,
&y,
&height);
- Drawing_draw_line(
+ drawing_draw_line(
Drawing, Pixmap, x,
y+(height/2), x + width, y+(height/2),
Drawing->Drawing_Area_V->style->black_gc);
birth.tv_sec = 12000;
birth.tv_nsec = 55700;
- ProcessList_get_process_pixels(Process_List,
+ processlist_get_process_pixels(Process_List,
10,
&birth,
&y,
&height);
- Drawing_draw_line(
+ drawing_draw_line(
Drawing, Pixmap, x,
y+(height/2), x + width, y+(height/2),
Drawing->Drawing_Area_V->style->black_gc);
birth.tv_sec = i*12000;
birth.tv_nsec = i*55700;
- ProcessList_get_process_pixels(Process_List,
+ processlist_get_process_pixels(Process_List,
i,
&birth,
&y,
&height);
- Drawing_draw_line(
+ drawing_draw_line(
Drawing, Pixmap, x,
y+(height/2), x + width, y+(height/2),
Drawing->Drawing_Area_V->style->black_gc);
birth.tv_sec = 12000;
birth.tv_nsec = 55600;
- ProcessList_get_process_pixels(Process_List,
+ processlist_get_process_pixels(Process_List,
10,
&birth,
&y,
&height);
- Drawing_draw_line(
+ drawing_draw_line(
Drawing, Pixmap, x,
y+(height/2), x + width, y+(height/2),
Drawing->Drawing_Area_V->style->black_gc);
birth.tv_sec = 12000;
birth.tv_nsec = 55500;
- ProcessList_add(Process_List,
+ processlist_add(Process_List,
1,
&birth,
&y);
- ProcessList_get_process_pixels(Process_List,
+ processlist_get_process_pixels(Process_List,
1,
&birth,
&y,
&height);
- Drawing_Insert_Square( Drawing, y, height);
+ drawing_insert_square( Drawing, y, height);
//g_critical("y : %u, height : %u", y, height);
birth.tv_sec = 14000;
birth.tv_nsec = 55500;
- ProcessList_add(Process_List,
+ processlist_add(Process_List,
156,
&birth,
&y);
- ProcessList_get_process_pixels(Process_List,
+ processlist_get_process_pixels(Process_List,
156,
&birth,
&y,
&height);
- Drawing_Insert_Square( Drawing, y, height);
+ drawing_insert_square( Drawing, y, height);
//g_critical("y : %u, height : %u", y, height);
birth.tv_sec = 12000;
birth.tv_nsec = 55700;
- ProcessList_add(Process_List,
+ processlist_add(Process_List,
10,
&birth,
&height);
- ProcessList_get_process_pixels(Process_List,
+ processlist_get_process_pixels(Process_List,
10,
&birth,
&y,
&height);
- Drawing_Insert_Square( Drawing, y, height);
+ drawing_insert_square( Drawing, y, height);
//g_critical("y : %u, height : %u", y, height);
- //Drawing_Insert_Square( Drawing, height, 5);
+ //drawing_insert_square( Drawing, height, 5);
for(i=0; i<10; i++)
{
birth.tv_sec = i*12000;
birth.tv_nsec = i*55700;
- ProcessList_add(Process_List,
+ processlist_add(Process_List,
i,
&birth,
&height);
- ProcessList_get_process_pixels(Process_List,
+ processlist_get_process_pixels(Process_List,
i,
&birth,
&y,
&height);
- Drawing_Insert_Square( Drawing, y, height);
+ drawing_insert_square( Drawing, y, height);
// g_critical("y : %u, height : %u", y, height);
birth.tv_sec = 12000;
birth.tv_nsec = 55600;
- ProcessList_add(Process_List,
+ processlist_add(Process_List,
10,
&birth,
&y);
- ProcessList_get_process_pixels(Process_List,
+ processlist_get_process_pixels(Process_List,
10,
&birth,
&y,
&height);
- Drawing_Insert_Square( Drawing, y, height);
+ drawing_insert_square( Drawing, y, height);
//g_critical("y : %u, height : %u", y, height);
- ProcessList_add(Process_List,
+ processlist_add(Process_List,
10000,
&birth,
&height);
- ProcessList_get_process_pixels(Process_List,
+ processlist_get_process_pixels(Process_List,
10000,
&birth,
&y,
&height);
- Drawing_Insert_Square( Drawing, y, height);
+ drawing_insert_square( Drawing, y, height);
//g_critical("y : %u, height : %u", y, height);
- //Drawing_Insert_Square( Drawing, height, 5);
+ //drawing_insert_square( Drawing, height, 5);
//g_critical("height : %u", height);
- ProcessList_get_process_pixels(Process_List,
+ processlist_get_process_pixels(Process_List,
10000,
&birth,
&y, &height);
- ProcessList_remove( Process_List,
+ processlist_remove( Process_List,
10000,
&birth);
- Drawing_Remove_Square( Drawing, y, height);
+ drawing_remove_square( Drawing, y, height);
if(got_RowRef =
(GtkTreeRowReference*)g_hash_table_lookup(
* @return The widget created.
*/
GtkWidget *
-hGuiControlFlow(MainWindow *pmParentWindow, LttvTracesetSelector * s, char * key)
+h_guicontrolflow(MainWindow *pmParentWindow, LttvTracesetSelector * s, char * key)
{
g_critical("hGuiControlFlow");
- ControlFlowData *Control_Flow_Data = GuiControlFlow() ;
+ ControlFlowData *Control_Flow_Data = guicontrolflow() ;
get_time_window(pmParentWindow,
GuiControlFlow_get_Time_Window(Control_Flow_Data));
// Control_Flow_Data->Currently_Selected_Event = *Event_Number;
// Control_Flow_Data->Selected_Event = TRUE ;
-// Tree_V_set_cursor(Control_Flow_Data);
+// tree_v_set_cursor(Control_Flow_Data);
}
/* Hook called before drawing. Gets the initial context at the beginning of the
* drawing interval and copy it to the context in Event_Request.
*/
-int Draw_Before_Hook(void *hook_data, void *call_data)
+int draw_before_hook(void *hook_data, void *call_data)
{
EventRequest *Event_Request = (EventRequest*)hook_data;
EventsContext Events_Context = (EventsContext*)call_data;
* The choice of lines'color is defined by the context of the last event for this
* process.
*/
-int Draw_Event_Hook(void *hook_data, void *call_data)
+int draw_event_hook(void *hook_data, void *call_data)
{
EventRequest *Event_Request = (EventRequest*)hook_data;
}
-int Draw_After_Hook(void *hook_data, void *call_data)
+int draw_after_hook(void *hook_data, void *call_data)
{
EventRequest *Event_Request = (EventRequest*)hook_data;
-void Update_Time_Window_Hook(void *hook_data, void *call_data)
+void update_time_window_hook(void *hook_data, void *call_data)
{
ControlFlowData *Control_Flow_Data = (ControlFlowData*) hook_data;
TimeWindow* Time_Window =
Time_Window->time_width.tv_sec,
Time_Window->time_width.tv_nsec);
- Drawing_Data_Request(Control_Flow_Data->Drawing,
+ drawing_data_request(Control_Flow_Data->Drawing,
&Control_Flow_Data->Drawing->Pixmap,
0, 0,
Control_Flow_Data->Drawing->width,
Control_Flow_Data->Drawing->height);
- Drawing_Refresh(Control_Flow_Data->Drawing,
+ drawing_refresh(Control_Flow_Data->Drawing,
0, 0,
Control_Flow_Data->Drawing->width,
Control_Flow_Data->Drawing->height);
}
-void Update_Current_Time_Hook(void *hook_data, void *call_data)
+void update_current_time_hook(void *hook_data, void *call_data)
{
ControlFlowData *Control_Flow_Data = (ControlFlowData*) hook_data;
LttTime* Current_Time =
- GuiControlFlow_get_Current_Time(Control_Flow_Data);
+ guicontrolflow_get_current_time(Control_Flow_Data);
*Current_Time = *((LttTime*)call_data);
g_critical("New Current time HOOK : %u, %u", Current_Time->tv_sec,
Current_Time->tv_nsec);
void send_test_data(ProcessList *Process_List, Drawing_t *Drawing);
-GtkWidget *hGuiControlFlow(MainWindow *pmParentWindow, LttvTracesetSelector * s, char * key);
+GtkWidget *h_guicontrolflow(MainWindow *pmParentWindow, LttvTracesetSelector * s, char * key);
-int Event_Selected_Hook(void *hook_data, void *call_data);
+int event_selected_hook(void *hook_data, void *call_data);
/* Hook called before drawing. Gets the initial context at the beginning of the
* drawing interval and copy it to the context in Event_Request.
*/
-int Draw_Before_Hook(void *hook_data, void *call_data);
+int draw_before_hook(void *hook_data, void *call_data);
/*
* The draw event hook is called by the reading API to have a
* The choice of lines'color is defined by the context of the last event for this
* process.
*/
-int Draw_Event_Hook(void *hook_data, void *call_data);
+int draw_event_hook(void *hook_data, void *call_data);
-int Draw_After_Hook(void *hook_data, void *call_data);
+int draw_after_hook(void *hook_data, void *call_data);
-void Update_Time_Window_Hook(void *hook_data, void *call_data);
-void Update_Current_Time_Hook(void *hook_data, void *call_data);
+void update_time_window_hook(void *hook_data, void *call_data);
+void update_current_time_hook(void *hook_data, void *call_data);
#endif // _EVENT_HOOKS_H
return 1;
}
-void Destroy_hash_key(gpointer key);
+void destroy_hash_key(gpointer key);
-void Destroy_hash_data(gpointer data);
+void destroy_hash_data(gpointer data);
-ProcessList *ProcessList_construct(void)
+ProcessList *processlist_construct(void)
{
GtkTreeViewColumn *column;
GtkCellRenderer *renderer;
Process_List->Process_Hash = g_hash_table_new_full(
hash_fct, equ_fct,
- Destroy_hash_key, Destroy_hash_data
+ destroy_hash_key, destroy_hash_data
);
G_OBJECT(Process_List->Process_List_VC),
"Process_List_Data",
Process_List,
- (GDestroyNotify)ProcessList_destroy);
+ (GDestroyNotify)processlist_destroy);
Process_List->Test_Process_Sent = 0;
return Process_List;
}
-void ProcessList_destroy(ProcessList *Process_List)
+void processlist_destroy(ProcessList *Process_List)
{
g_hash_table_destroy(Process_List->Process_Hash);
Process_List->Process_Hash = NULL;
g_free(Process_List);
}
-GtkWidget *ProcessList_getWidget(ProcessList *Process_List)
+GtkWidget *processlist_get_widget(ProcessList *Process_List)
{
return Process_List->Process_List_VC;
}
return height;
}
-void Destroy_hash_key(gpointer key)
+void destroy_hash_key(gpointer key)
{
g_free(key);
}
-void Destroy_hash_data(gpointer data)
+void destroy_hash_data(gpointer data)
{
g_free(data);
}
-int ProcessList_add( ProcessList *Process_List,
+int processlist_add( ProcessList *Process_List,
guint pid,
LttTime *birth,
guint *height)
}
-int ProcessList_remove( ProcessList *Process_List,
+int processlist_remove( ProcessList *Process_List,
guint pid,
LttTime *birth)
{
}
-guint ProcessList_get_height(ProcessList *Process_List)
+guint processlist_get_height(ProcessList *Process_List)
{
return get_cell_height(GTK_TREE_VIEW(Process_List->Process_List_VC))
* Process_List->Number_Of_Process ;
}
-gint ProcessList_get_process_pixels( ProcessList *Process_List,
+gint processlist_get_process_pixels( ProcessList *Process_List,
guint pid, LttTime *birth,
guint *y,
guint *height)
typedef struct _ProcessList ProcessList;
-ProcessList *ProcessList_construct(void);
-void ProcessList_destroy(ProcessList *Process_List);
-GtkWidget *ProcessList_getWidget(ProcessList *Process_List);
+ProcessList *processlist_construct(void);
+void processlist_destroy(ProcessList *Process_List);
+GtkWidget *processlist_get_widget(ProcessList *Process_List);
// out : success (0) and height
-int ProcessList_add(ProcessList *Process_List, guint pid, LttTime *birth,
+int processlist_add(ProcessList *Process_List, guint pid, LttTime *birth,
guint *height);
// out : success (0) and height
-int ProcessList_remove(ProcessList *Process_List, guint pid, LttTime *birth);
+int processlist_remove(ProcessList *Process_List, guint pid, LttTime *birth);
-guint ProcessList_get_height(ProcessList *Process_List);
+guint processlist_get_height(ProcessList *Process_List);
// Returns 0 on success
-gint ProcessList_get_process_pixels(ProcessList *Process_List,
+gint processlist_get_process_pixels(ProcessList *Process_List,
guint pid, LttTime *birth,
guint *y, guint *height);
#endif // _PROCESS_LIST_H
//ListViewer = hGuiEvents(Window);
//gtk_box_pack_start(GTK_BOX(VBox_V), ListViewer, FALSE, TRUE, 0);
- Control_Flow_Data = GuiControlFlow();
+ Control_Flow_Data = guicontrolflow();
CF_Viewer = Control_Flow_Data->Scrolled_Window_VC;
gtk_box_pack_start(GTK_BOX(VBox_V), CF_Viewer, TRUE, TRUE, 0);
g_critical("main loop finished");
- //hGuiEvents_Destructor(ListViewer);
+ //h_guievents_destructor(ListViewer);
//g_critical("GuiEvents Destructor finished");
destroy();