1bbd4fbf05a5c13a0e8673f23a8b01884d238b67
[lttv.git] /
1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2003-2004 XangXiu Yang
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License Version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
16 * MA 02111-1307, USA.
17 */
18
19 #include <gtk/gtk.h>
20 #include <lttvwindow/mainwindow.h>
21
22 /* internal functions */
23
24 void create_new_window(GtkWidget* widget, gpointer user_data, gboolean clone);
25 void insert_menu_toolbar_item(MainWindow * mw, gpointer user_data);
26 MainWindow *construct_main_window(MainWindow * parent);
27 void main_window_free(MainWindow * mw);
28 void main_window_destructor(MainWindow * mw);
29
30 void create_main_window_with_trace_list(GSList *traces);
31
32 void insert_viewer_wrap(GtkWidget *menuitem, gpointer user_data);
33 gboolean execute_events_requests(Tab *tab);
34
35
36 /* callback functions*/
37
38 void
39 on_empty_traceset_activate (GtkMenuItem *menuitem,
40 gpointer user_data);
41
42 void
43 on_clone_traceset_activate (GtkMenuItem *menuitem,
44 gpointer user_data);
45
46 void
47 on_tab_activate (GtkMenuItem *menuitem,
48 gpointer user_data);
49
50 void
51 on_open_activate (GtkMenuItem *menuitem,
52 gpointer user_data);
53
54 void
55 on_close_activate (GtkMenuItem *menuitem,
56 gpointer user_data);
57
58 void
59 on_close_tab_X_clicked (GtkWidget *widget,
60 gpointer user_data);
61
62 void
63 on_close_tab_activate (GtkWidget *widget,
64 gpointer user_data);
65
66 void
67 on_add_trace_activate (GtkMenuItem *menuitem,
68 gpointer user_data);
69
70 void
71 on_remove_trace_activate (GtkMenuItem *menuitem,
72 gpointer user_data);
73
74 void
75 on_save_activate (GtkMenuItem *menuitem,
76 gpointer user_data);
77
78 void
79 on_save_as_activate (GtkMenuItem *menuitem,
80 gpointer user_data);
81
82 void
83 on_quit_activate (GtkMenuItem *menuitem,
84 gpointer user_data);
85
86 void
87 on_cut_activate (GtkMenuItem *menuitem,
88 gpointer user_data);
89
90 void
91 on_copy_activate (GtkMenuItem *menuitem,
92 gpointer user_data);
93
94 void
95 on_paste_activate (GtkMenuItem *menuitem,
96 gpointer user_data);
97
98 void
99 on_delete_activate (GtkMenuItem *menuitem,
100 gpointer user_data);
101
102 void
103 on_zoom_in_activate (GtkMenuItem *menuitem,
104 gpointer user_data);
105
106 void
107 on_zoom_out_activate (GtkMenuItem *menuitem,
108 gpointer user_data);
109
110 void
111 on_zoom_extended_activate (GtkMenuItem *menuitem,
112 gpointer user_data);
113
114 void
115 on_go_to_time_activate (GtkMenuItem *menuitem,
116 gpointer user_data);
117
118 void
119 on_show_time_frame_activate (GtkMenuItem *menuitem,
120 gpointer user_data);
121
122 void
123 on_move_viewer_up_activate (GtkMenuItem *menuitem,
124 gpointer user_data);
125
126 void
127 on_move_viewer_down_activate (GtkMenuItem *menuitem,
128 gpointer user_data);
129
130 void
131 on_remove_viewer_activate (GtkMenuItem *menuitem,
132 gpointer user_data);
133
134 void
135 on_trace_filter_activate (GtkMenuItem *menuitem,
136 gpointer user_data);
137
138 void
139 on_trace_facility_activate (GtkMenuItem *menuitem,
140 gpointer user_data);
141
142 void
143 on_load_library_activate (GtkMenuItem *menuitem,
144 gpointer user_data);
145
146 void
147 on_unload_library_activate (GtkMenuItem *menuitem,
148 gpointer user_data);
149
150
151 void
152 on_load_module_activate (GtkMenuItem *menuitem,
153 gpointer user_data);
154
155 void
156 on_unload_module_activate (GtkMenuItem *menuitem,
157 gpointer user_data);
158
159 void
160 on_add_library_search_path_activate (GtkMenuItem *menuitem,
161 gpointer user_data);
162 void
163 on_remove_library_search_path_activate (GtkMenuItem *menuitem,
164 gpointer user_data);
165
166 void
167 on_color_activate (GtkMenuItem *menuitem,
168 gpointer user_data);
169
170 void
171 on_filter_activate (GtkMenuItem *menuitem,
172 gpointer user_data);
173
174 void
175 on_save_configuration_activate (GtkMenuItem *menuitem,
176 gpointer user_data);
177
178 void
179 on_content_activate (GtkMenuItem *menuitem,
180 gpointer user_data);
181
182 void
183 on_about_activate (GtkMenuItem *menuitem,
184 gpointer user_data);
185
186 void
187 on_button_new_clicked (GtkButton *button,
188 gpointer user_data);
189 void
190 on_button_new_tab_clicked (GtkButton *button,
191 gpointer user_data);
192 void
193 on_button_open_clicked (GtkButton *button,
194 gpointer user_data);
195
196 void
197 on_button_add_trace_clicked (GtkButton *button,
198 gpointer user_data);
199
200 void
201 on_button_remove_trace_clicked (GtkButton *button,
202 gpointer user_data);
203 void
204 on_button_redraw_clicked (GtkButton *button,
205 gpointer user_data);
206
207 void
208 on_button_continue_processing_clicked (GtkButton *button,
209 gpointer user_data);
210
211 void
212 on_button_stop_processing_clicked (GtkButton *button,
213 gpointer user_data);
214
215 void
216 on_button_save_clicked (GtkButton *button,
217 gpointer user_data);
218
219 void
220 on_button_save_as_clicked (GtkButton *button,
221 gpointer user_data);
222
223 void
224 on_button_zoom_in_clicked (GtkButton *button,
225 gpointer user_data);
226
227 void
228 on_button_zoom_out_clicked (GtkButton *button,
229 gpointer user_data);
230
231 void
232 on_button_zoom_extended_clicked (GtkButton *button,
233 gpointer user_data);
234
235 void
236 on_button_go_to_time_clicked (GtkButton *button,
237 gpointer user_data);
238
239 void
240 on_button_show_time_frame_clicked (GtkButton *button,
241 gpointer user_data);
242
243 void
244 on_button_move_up_clicked (GtkButton *button,
245 gpointer user_data);
246
247 void
248 on_button_move_down_clicked (GtkButton *button,
249 gpointer user_data);
250
251 void
252 on_button_delete_viewer_clicked (GtkButton *button,
253 gpointer user_data);
254
255 void
256 on_MWindow_destroy (GtkWidget *widget,
257 gpointer user_data);
258
259 gboolean
260 on_MWindow_configure (GtkWidget *widget,
261 GdkEventConfigure *event,
262 gpointer user_data);
263
264 gboolean
265 on_MWindow_expose (GtkWidget *widget,
266 GdkEventExpose *event,
267 gpointer user_data);
268 gboolean
269 on_MWindow_after (GtkWidget *widget,
270 GdkEvent *event,
271 gpointer user_data);
272
273
274
275 void
276 on_insert_viewer_test_activate (GtkMenuItem *menuitem,
277 gpointer user_data);
278
279 void
280 insertViewTest(GtkMenuItem *menuitem, gpointer user_data);
281
282 void
283 on_MNotebook_switch_page (GtkNotebook *notebook,
284 GtkNotebookPage *page,
285 guint page_num,
286 gpointer user_data);
287
288
289 void
290 on_MEntry1_value_changed (GtkSpinButton *spinbutton,
291 gpointer user_data);
292 void
293 on_MEntry2_value_changed (GtkSpinButton *spinbutton,
294 gpointer user_data);
295 void
296 on_MEntry3_value_changed (GtkSpinButton *spinbutton,
297 gpointer user_data);
298 void
299 on_MEntry4_value_changed (GtkSpinButton *spinbutton,
300 gpointer user_data);
301 void
302 on_MEntry5_value_changed (GtkSpinButton *spinbutton,
303 gpointer user_data);
304 void
305 on_MEntry6_value_changed (GtkSpinButton *spinbutton,
306 gpointer user_data);
307
308
309 void time_change_manager (Tab *tab,
310 TimeWindow new_time_window);
311
312 void current_time_change_manager (Tab *tab,
313 LttTime new_current_time);
314
315 gboolean execute_time_requests(MainWindow * mw);
This page took 0.033818 seconds and 3 git commands to generate.