#include <lttv/tracecontext.h>
#include <lttv/hook.h>
#include <lttv/stats.h>
-#include <lttvwindow/gtkmultivpaned.h>
+//#include <lttvwindow/gtkmultivpaned.h>
#include <lttvwindow/mainwindow.h>
+#define SCROLL_STEP_PER_PAGE 10.0
+
struct _TracesetInfo {
//FIXME? TracesetContext and stats in same or different variable ?
LttvTracesetStats * traceset_context;
struct _Tab{
- GtkWidget * label;
- GtkMultiVPaned * multi_vpaned;
+ GtkWidget *label;
+
+ GtkWidget *vbox; /* contains viewer_container and scrollbar */
+ //GtkWidget *multivpaned;
+ GtkWidget *viewer_container;
+ GtkWidget *scrollbar;
+
+ /* Paste zones */
+ GtkTooltips *tooltips;
+
+ /* time bar */
+ GtkWidget *MTimebar;
+ GtkWidget *MEventBox1a;
+ GtkWidget *MText1a;
+ GtkWidget *MEventBox1b;
+ GtkWidget *MText1b;
+ GtkWidget *MEntry1;
+ GtkWidget *MText2;
+ GtkWidget *MEntry2;
+ GtkWidget *MText3a;
+ GtkWidget *MEventBox3b;
+ GtkWidget *MText3b;
+ GtkWidget *MEntry3;
+ GtkWidget *MText4;
+ GtkWidget *MEntry4;
+ GtkWidget *MText5a;
+ GtkWidget *MEventBox5b;
+ GtkWidget *MText5b;
+ GtkWidget *MEntry5;
+ GtkWidget *MText6;
+ GtkWidget *MEntry6;
+ GtkWidget *MText7;
// startTime is the left of the visible area. Corresponds to the scrollbar
// value.
// Time_Width is a zoom dependant value (corresponding to page size)
TimeWindow time_window;
+ gboolean time_manager_lock;
// The current time is the time selected in the visible area by the user,
// not the scrollbar value.
LttTime current_time;
+ gboolean current_time_manager_lock;
+
LttvIAttribute * attributes;
//struct _Tab * next;
/* Traceset related information */
TracesetInfo * traceset_info;
+ /* Filter to apply to the tab's traceset */
+ LttvFilter *filter;
+
/* A list of time requested for the next process trace */
GSList *events_requests;
gboolean events_request_pending;