missing commit in generator.h
[galan.git] / include / gui.h
blob59ca3fda914c050426609ad8c1e4d8479bc51f3a
1 /* gAlan - Graphical Audio Language
2 * Copyright (C) 1999 Tony Garnock-Jones
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef Gui_H
20 #define Gui_H
22 #include <gtk/gtk.h>
24 struct sheet;
25 extern struct sheet *gui_get_active_sheet( void );
26 extern void gui_register_sheet( struct sheet *sheet );
27 extern void gui_unregister_sheet( struct sheet *sheet );
28 extern GList *get_sheet_list( void );
29 extern void update_sheet_name( struct sheet *sheet );
30 extern void gui_statusbar_push( char *msg );
31 extern void load_sheet_from_name(char *name);
32 extern gboolean save_sheet( struct sheet *sheet, char *name );
34 extern void init_gui(void);
35 extern void gui_add_comps( void );
36 extern void done_gui(void);
37 extern GtkWindow *gui_get_mesh_window( void );
39 extern GtkActionGroup *component_actiongroup;
40 extern GtkActionGroup *menu_actiongroup;
41 extern GtkUIManager *ui_manager;
42 #endif