projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set_time_window updates horizontal scroll bar
[lttv.git]
/
ltt
/
branches
/
poly
/
include
/
lttv
/
mainWindow.h
diff --git
a/ltt/branches/poly/include/lttv/mainWindow.h
b/ltt/branches/poly/include/lttv/mainWindow.h
index 0a43bfa59f6d9750b19a034e6d56f49c064675df..4103f72698076f49b0d47dd2ab8b6d9e50b956e5 100644
(file)
--- a/
ltt/branches/poly/include/lttv/mainWindow.h
+++ b/
ltt/branches/poly/include/lttv/mainWindow.h
@@
-9,7
+9,7
@@
#include <lttv/processTrace.h>
#include <lttv/common.h>
#include <lttv/processTrace.h>
#include <lttv/common.h>
-#include <lttv/gtk
custom
.h>
+#include <lttv/gtk
multivpaned
.h>
#include <lttv/hook.h>
#include <lttv/stats.h>
#include <lttv/hook.h>
#include <lttv/stats.h>
@@
-18,31
+18,17
@@
typedef struct _WindowCreationData {
char ** argv;
} WindowCreationData;
char ** argv;
} WindowCreationData;
-typedef struct _TimeWindow {
- LttTime startTime;
- LttTime Time_Width;
-} TimeWindow;
typedef struct _TracesetInfo {
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 ;
} TracesetInfo ;
-struct _
m
ainWindow{
- GtkWidget*
MW
indow; /* Main Window */
-// systemView * SystemView; /* System view displayed in this window*/
+struct _
M
ainWindow{
+ GtkWidget*
mw
indow; /* Main Window */
+ int window_width;
/* Status bar information */
// guint MainSBarContextID; /* Context ID of main status bar */
/* Status bar information */
// guint MainSBarContextID; /* Context ID of main status bar */
@@
-54,56
+40,51
@@
struct _mainWindow{
//viewTimeFrameWindow* ViewTimeFrameWindow;/*Window to select time frame */
//gotoEventWindow* GotoEventWindow; /*search for event description*/
//openFilterWindow* OpenFilterWindow; /* Open a filter selection window */
//viewTimeFrameWindow* ViewTimeFrameWindow;/*Window to select time frame */
//gotoEventWindow* GotoEventWindow; /*search for event description*/
//openFilterWindow* OpenFilterWindow; /* Open a filter selection window */
- GtkWidget*
HelpC
ontents;/* Window to display help contents */
- GtkWidget*
AboutB
ox; /* Window about information */
+ GtkWidget*
help_c
ontents;/* Window to display help contents */
+ GtkWidget*
about_b
ox; /* Window about information */
- //LttvTracesetContext * traceset_context;
- //LttvTraceset * traceset; /* trace set associated with the window */
// lttv_trace_filter * filter; /* trace filter associated with the window */
// 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 */
/* Attributes for trace reading hooks local to the main window */
- LttvIAttribute *
A
ttributes;
+ LttvIAttribute *
a
ttributes;
-
tab * T
ab;
-
tab * CurrentT
ab;
+
Tab * t
ab;
+
Tab * current_t
ab;
- WindowCreationData * winCreationData;
-};
+ WindowCreationData * win_creation_data;
+ GHashTable * hash_menu_item;
+ GHashTable * hash_toolbar_item;
+};
-//struct _systemView{
-// gpointer EventDB;
-// gpointer SystemInfo;
-// gpointer Options;
-// mainWindow * Window;
-// struct _systemView * Next;
-//};
-struct _
t
ab{
+struct _
T
ab{
GtkWidget * label;
GtkWidget * label;
- GtkCustom * custom;
-
-
- // Will have to read directly at the main window level, as we want
- // to be able to modify a traceset on the fly.
- //LttTime traceStartTime;
- //LttTime traceEndTime;
-
+ 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)
// 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_W
indow;
+ TimeWindow
time_w
indow;
// The current time is the time selected in the visible area by the user,
// not the scrollbar value.
// 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;
+ /* Traceset related information */
+ TracesetInfo * traceset_info;
};
};
+/**
+ * Remove menu and toolbar item when a module unloaded
+ */
+void main_window_remove_menu_item(lttv_constructor view_constructor);
+void main_window_remove_toolbar_item(lttv_constructor view_constructor);
+
#endif /* _MAIN_WINDOW_ */
#endif /* _MAIN_WINDOW_ */
This page took
0.024048 seconds
and
4
git commands to generate.