projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
find_process corrected to match how processes are stored in trace state context
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
controlflow
/
eventhooks.h
diff --git
a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.h
b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.h
index 05e7e7c06f83091bd596529e1e6aea96f6d7ed09..73f9ab92dc7728a3cabd10bc9ded4278ddeafa9a 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.h
+++ b/
ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.h
@@
-40,16
+40,16
@@
* library call, then used by the drawing hooks. Then, once all the events are
* sent, it is freed by the hook called after the reading.
*/
* library call, then used by the drawing hooks. Then, once all the events are
* sent, it is freed by the hook called after the reading.
*/
-typedef struct _EventRequest
-{
- ControlFlowData *control_flow_data;
- LttTime time_begin, time_end;
- gint x_begin, x_end;
+
//
typedef struct _EventRequest
+
//
{
+
//
ControlFlowData *control_flow_data;
+
//
LttTime time_begin, time_end;
+
//
gint x_begin, x_end;
/* Fill the Events_Context during the initial expose, before calling for
* events.
*/
//GArray Events_Context; //FIXME
/* Fill the Events_Context during the initial expose, before calling for
* events.
*/
//GArray Events_Context; //FIXME
-} EventRequest ;
+
//
} EventRequest ;
@@
-57,20
+57,15
@@
typedef struct _EventRequest
void send_test_data(ProcessList *process_list, Drawing_t *drawing);
void send_test_data(ProcessList *process_list, Drawing_t *drawing);
-GtkWidget *h_guicontrolflow(
MainWindow *mw, LttvTracesetSelector * s, char * key
);
+GtkWidget *h_guicontrolflow(
Tab *tab
);
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);
-
/*
* The draw event hook is called by the reading API to have a
* particular event drawn on the screen.
* @param hook_data ControlFlowData structure of the viewer.
/*
* The draw event hook is called by the reading API to have a
* particular event drawn on the screen.
* @param hook_data ControlFlowData structure of the viewer.
- * @param call_data Event context.
+ * @param call_data Event context
with state
.
*
* This function basically draw lines and icons. Two types of lines are drawn :
* one small (3 pixels?) representing the state of the process and the second
*
* This function basically draw lines and icons. Two types of lines are drawn :
* one small (3 pixels?) representing the state of the process and the second
@@
-86,19
+81,23
@@
int draw_before_hook(void *hook_data, void *call_data);
* The choice of lines'color is defined by the context of the last event for this
* process.
*/
* 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_
before
_hook(void *hook_data, void *call_data);
int draw_after_hook(void *hook_data, void *call_data);
void draw_closure(gpointer key, gpointer value, gpointer user_data);
int draw_after_hook(void *hook_data, void *call_data);
void draw_closure(gpointer key, gpointer value, gpointer user_data);
-int after_data_request(void *hook_data, void *call_data);
+int before_chunk(void *hook_data, void *call_data);
+int after_chunk(void *hook_data, void *call_data);
+int before_request(void *hook_data, void *call_data);
+int after_request(void *hook_data, void *call_data);
+
gint update_time_window_hook(void *hook_data, void *call_data);
gint update_current_time_hook(void *hook_data, void *call_data);
gint update_time_window_hook(void *hook_data, void *call_data);
gint update_current_time_hook(void *hook_data, void *call_data);
-
-
-
+gint traceset_notify(void *hook_data, void *call_data);
+gint redraw_notify(void *hook_data, void *call_data);
+gint continue_notify(void *hook_data, void *call_data);
#endif // _EVENT_HOOKS_H
#endif // _EVENT_HOOKS_H
This page took
0.025945 seconds
and
4
git commands to generate.