4 #include <lttvwindow/lttvwindow.h>
5 #include <lttvwindow/lttv_plugin_tab.h>
7 typedef struct _EventViewerData EventViewerData
;
9 struct _EventViewerData
{
14 LttvHooks
* event_hooks
;
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.
20 double previous_value
;
22 //scroll window containing Tree View
23 GtkWidget
* scroll_win
;
25 /* Model containing list data */
26 GtkListStore
*store_m
;
28 GPtrArray
*pos
; /* Array of LttvTracesetContextPosition * */
30 GtkWidget
*top_widget
;
32 /* Widget to display the data in a columned list */
34 GtkAdjustment
*vtree_adjust_c
;
35 GtkWidget
*button
; /* a button of the header, used to get the header_height */
38 /* Vertical scrollbar and its adjustment */
39 GtkWidget
*vscroll_vc
;
40 GtkAdjustment
*vadjust_c
;
42 /* Selection handler */
43 GtkTreeSelection
*select_c
;
45 gint num_visible_events
;
47 LttvTracesetPosition
*currently_selected_position
;
48 gboolean update_cursor
; /* Speed optimisation : do not update cursor when
50 gboolean report_position
; /* do not report position when in current_time
52 LttvTracesetPosition
*first_event
; /* Time of the first event shown */
54 LttvTracesetPosition
*last_event
; /* Time of the last event shown */
56 LttvTracesetPosition
*current_time_get_first
;
58 LttvFilter
*main_win_filter
;
60 gint background_info_waiting
;
62 guint32 last_tree_update_time
; /* To filter out repeat keys */
64 guint num_events
; /* Number of events processed */
68 GtkToolItem
*button_filter
;
73 extern gint
evd_redraw_notify(void *hook_data
, void *call_data
);