]> sigrok.org Git - sigrok-gtk.git/blob - sigrok-gtk.h
gtk: Fixed enabling/disabling sample control buttons
[sigrok-gtk.git] / sigrok-gtk.h
1 /*
2  * This file is part of the sigrok project.
3  *
4  * Copyright (C) 2011 Gareth McMullin <gareth@blacksphere.co.nz>
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  */
19
20 #ifndef SIGROK_GTK_SIGROK_GTK_H
21 #define SIGROK_GTK_SIGROK_GTK_H
22
23 #include <gtk/gtk.h>
24
25 /* main.c */
26 void load_input_file(GtkWindow *parent, const gchar *file);
27
28 /* sigview.c */
29 extern GtkListStore *siglist;
30
31 GtkWidget *sigview_init(void);
32 void sigview_zoom(GtkWidget *sigview, gdouble zoom, gint offset);
33
34 /* help.c */
35 void help_wiki(void);
36 void help_about(GtkAction *action, GtkWindow *parent);
37
38 /* devselect.c */
39 GtkWidget *dev_select_combo_box_new(GtkWindow *parent);
40 void dev_select_rescan(GtkAction *action, GtkWindow *parent);
41
42 /* log.c */
43 GtkWidget *log_init(void);
44 GtkWidget *toolbar_init(GtkWindow *parent);
45
46 /* icons.c */
47 void icons_register(void);
48
49 #endif
50