X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Finclude%2Flttv%2FmainWindow.h;h=4103f72698076f49b0d47dd2ab8b6d9e50b956e5;hb=58eecf4a1081e153d03f3a1bbff956f477a5b735;hp=61ef6b775a35133b82e8d64bdad9526b0a5d9764;hpb=68b48a457c0575bf1b126b03923dc78dc368f98f;p=lttv.git diff --git a/ltt/branches/poly/include/lttv/mainWindow.h b/ltt/branches/poly/include/lttv/mainWindow.h index 61ef6b77..4103f726 100644 --- a/ltt/branches/poly/include/lttv/mainWindow.h +++ b/ltt/branches/poly/include/lttv/mainWindow.h @@ -9,7 +9,7 @@ #include #include -#include +#include #include #include @@ -20,24 +20,15 @@ typedef struct _WindowCreationData { typedef struct _TracesetInfo { - gchar* path; - LttvHooks - *before_traceset, - *after_traceset, - *before_trace, - *after_trace, - *before_tracefile, - *after_tracefile, - *before_event, - *after_event; - //FIXME? TracesetContext and stats in same or different variable ? - LttvTracesetStats * TracesetContext; - LttvTraceset * traceset; + //FIXME? TracesetContext and stats in same or different variable ? + LttvTracesetStats * traceset_context; + LttvTraceset * traceset; } TracesetInfo ; -struct _mainWindow{ - GtkWidget* MWindow; /* Main Window */ +struct _MainWindow{ + GtkWidget* mwindow; /* Main Window */ + int window_width; /* Status bar information */ // guint MainSBarContextID; /* Context ID of main status bar */ @@ -49,42 +40,43 @@ struct _mainWindow{ //viewTimeFrameWindow* ViewTimeFrameWindow;/*Window to select time frame */ //gotoEventWindow* GotoEventWindow; /*search for event description*/ //openFilterWindow* OpenFilterWindow; /* Open a filter selection window */ - GtkWidget* HelpContents;/* Window to display help contents */ - GtkWidget* AboutBox; /* Window about information */ + GtkWidget* help_contents;/* Window to display help contents */ + GtkWidget* about_box; /* Window about information */ // lttv_trace_filter * filter; /* trace filter associated with the window */ - /* Traceset related information */ - TracesetInfo * Traceset_Info; /* Attributes for trace reading hooks local to the main window */ - LttvIAttribute * Attributes; + LttvIAttribute * attributes; - tab * Tab; - tab * CurrentTab; + Tab * tab; + Tab * current_tab; - WindowCreationData * winCreationData; + WindowCreationData * win_creation_data; GHashTable * hash_menu_item; GHashTable * hash_toolbar_item; }; -struct _tab{ +struct _Tab{ GtkWidget * label; - GtkCustom * custom; + GtkMultiVPaned * multi_vpaned; // 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; + TimeWindow time_window; // The current time is the time selected in the visible area by the user, // not the scrollbar value. - LttTime currentTime; - LttvIAttribute * Attributes; + LttTime current_time; + LttvIAttribute * attributes; + + struct _Tab * next; + MainWindow * mw; - struct _tab * Next; - mainWindow * mw; + /* Traceset related information */ + TracesetInfo * traceset_info; }; /**