6 #include <lttv/mainWindow.h>
8 GtkWidget
*hGuiControlFlow(mainWindow
*pmParentWindow
);
10 int Event_Selected_Hook(void *hook_data
, void *call_data
);
12 /* Hook called before drawing. Gets the initial context at the beginning of the
13 * drawing interval and copy it to the context in Event_Request.
15 int Draw_Before_Hook(void *hook_data
, void *call_data
);
18 * The draw event hook is called by the reading API to have a
19 * particular event drawn on the screen.
20 * @param hook_data ControlFlowData structure of the viewer.
21 * @param call_data Event context.
23 * This function basically draw lines and icons. Two types of lines are drawn :
24 * one small (3 pixels?) representing the state of the process and the second
25 * type is thicker (10 pixels?) representing on which CPU a process is running
26 * (and this only in running state).
28 * Extremums of the lines :
29 * x_min : time of the last event context for this process kept in memory.
30 * x_max : time of the current event.
31 * y : middle of the process in the process list. The process is found in the
32 * list, therefore is it's position in pixels.
34 * The choice of lines'color is defined by the context of the last event for this
37 int Draw_Event_Hook(void *hook_data
, void *call_data
);
39 int Draw_After_Hook(void *hook_data
, void *call_data
);
41 #endif // _EVENT_HOOKS_H
This page took 0.030164 seconds and 4 git commands to generate.