add properties button and tab fixes
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / cfv.h
index 0d2ca3323a58c0be78f6caa799f4f7773060525b..d5410cafea2bcddbfc9eb336116a348c809ab9f7 100644 (file)
 
 #include <gtk/gtk.h>
 #include <lttvwindow/mainwindow.h>
+#include <lttv/filter.h>
 #include "processlist.h"
 
+extern GQuark LTT_NAME_CPU;
+
+
+#ifndef TYPE_DRAWING_T_DEFINED
+#define TYPE_DRAWING_T_DEFINED
+typedef struct _Drawing_t Drawing_t;
+#endif //TYPE_DRAWING_T_DEFINED
+
+#ifndef TYPE_CONTROLFLOWDATA_DEFINED
+#define TYPE_CONTROLFLOWDATA_DEFINED
+typedef struct _ControlFlowData ControlFlowData;
+#endif //TYPE_CONTROLFLOWDATA_DEFINED
 
 struct _ControlFlowData {
 
@@ -32,13 +45,15 @@ struct _ControlFlowData {
   Tab *tab;
 
   GtkWidget *box; /* box that contains the hpaned. necessary for it to work */
+  GtkWidget *toolbar; /* Vbox that contains the viewer's toolbar */
+  GtkWidget *button_prop; /* Properties button. */
   GtkWidget *h_paned;
 
   ProcessList *process_list;
 
   Drawing_t *drawing;
   GtkAdjustment *v_adjust ;
-  
+
   /* Shown events information */
 //  TimeWindow time_window;
 //  LttTime current_time;
@@ -48,15 +63,12 @@ struct _ControlFlowData {
   guint background_info_waiting; /* Number of background requests waited for
                                     in order to have all the info ready. */
 
-} ;
-
-
+  LttvFilter *filter;
 
-
-typedef struct _ControlFlowData ControlFlowData;
+} ;
 
 /* Control Flow Data constructor */
-ControlFlowData *guicontrolflow(void);
+ControlFlowData *guicontrolflow(Tab *tab);
 void
 guicontrolflow_destructor_full(ControlFlowData *control_flow_data);
 void
This page took 0.025218 seconds and 4 git commands to generate.