Initial port of the detailed event view
[lttv.git] / lttv / modules / gui / detailedevents / events.h
CommitLineData
b139ad2a 1#ifndef _EVENTS_H
2#define _EVENTS_H
3
4#include <lttvwindow/lttvwindow.h>
5#include <lttvwindow/lttv_plugin_tab.h>
6
7typedef struct _EventViewerData EventViewerData;
8
9struct _EventViewerData {
9a366873 10
b139ad2a 11
12 Tab * tab;
13 LttvPluginTab *ptab;
14 LttvHooks * event_hooks;
15
16 /* previous value is used to determine if it is a page up/down or
17 * step up/down, in which case we move of a certain amount of events (one or
18 * the number of events shown on the screen) instead of changing begin time.
19 */
20 double previous_value;
21
22 //scroll window containing Tree View
23 GtkWidget * scroll_win;
24
25 /* Model containing list data */
26 GtkListStore *store_m;
27
28 GPtrArray *pos; /* Array of LttvTracesetContextPosition * */
29
30 GtkWidget *top_widget;
31 GtkWidget *hbox_v;
32 /* Widget to display the data in a columned list */
33 GtkWidget *tree_v;
34 GtkAdjustment *vtree_adjust_c ;
35 GtkWidget *button; /* a button of the header, used to get the header_height */
36 gint header_height;
37
38 /* Vertical scrollbar and its adjustment */
39 GtkWidget *vscroll_vc;
40 GtkAdjustment *vadjust_c;
41
42 /* Selection handler */
43 GtkTreeSelection *select_c;
44
45 gint num_visible_events;
46
9a366873 47 LttvTracesetPosition *currently_selected_position;
b139ad2a 48 gboolean update_cursor; /* Speed optimisation : do not update cursor when
49 unnecessary */
50 gboolean report_position; /* do not report position when in current_time
51 update */
9a366873
FD
52 LttvTracesetPosition *first_event; /* Time of the first event shown */
53
54 LttvTracesetPosition *last_event; /* Time of the last event shown */
b139ad2a 55
9a366873 56 LttvTracesetPosition *current_time_get_first;
b139ad2a 57
58 LttvFilter *main_win_filter;
59
60 gint background_info_waiting;
61
62 guint32 last_tree_update_time; /* To filter out repeat keys */
63
64 guint num_events; /* Number of events processed */
65
66 LttvFilter *filter;
67 GtkWidget *toolbar;
68 GtkToolItem *button_filter;
69
fb3d6047 70 guint init_done;
b139ad2a 71};
72
73extern gint evd_redraw_notify(void *hook_data, void *call_data);
74
75#endif //EVENTS_H
This page took 0.050032 seconds and 4 git commands to generate.