4 #include <lttvwindow/lttvwindow.h>
5 #include <lttvwindow/lttv_plugin_tab.h>
7 typedef struct _EventViewerData EventViewerData
;
9 struct _EventViewerData
{
13 LttvHooks
* event_hooks
;
15 /* previous value is used to determine if it is a page up/down or
16 * step up/down, in which case we move of a certain amount of events (one or
17 * the number of events shown on the screen) instead of changing begin time.
19 double previous_value
;
21 //scroll window containing Tree View
22 GtkWidget
* scroll_win
;
24 /* Model containing list data */
25 GtkListStore
*store_m
;
27 GPtrArray
*pos
; /* Array of LttvTracesetContextPosition * */
29 GtkWidget
*top_widget
;
31 /* Widget to display the data in a columned list */
33 GtkAdjustment
*vtree_adjust_c
;
34 GtkWidget
*button
; /* a button of the header, used to get the header_height */
37 /* Vertical scrollbar and its adjustment */
38 GtkWidget
*vscroll_vc
;
39 GtkAdjustment
*vadjust_c
;
41 /* Selection handler */
42 GtkTreeSelection
*select_c
;
44 gint num_visible_events
;
46 LttvTracesetContextPosition
*currently_selected_position
;
47 gboolean update_cursor
; /* Speed optimisation : do not update cursor when
49 gboolean report_position
; /* do not report position when in current_time
52 LttvTracesetContextPosition
*first_event
; /* Time of the first event shown */
53 LttvTracesetContextPosition
*last_event
; /* Time of the first event shown */
55 LttvTracesetContextPosition
*current_time_get_first
;
57 LttvFilter
*main_win_filter
;
59 gint background_info_waiting
;
61 guint32 last_tree_update_time
; /* To filter out repeat keys */
63 guint num_events
; /* Number of events processed */
67 GtkToolItem
*button_filter
;
72 extern gint
evd_redraw_notify(void *hook_data
, void *call_data
);