root/sweep/trunk/src/interface.h

Revision 557, 1.6 kB (checked in by kickback, 4 years ago)

sweep: revert entire tree back to revision 530 state to facilitate quick bug fix release

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 /*
2  * Sweep, a sound wave editor.
3  *
4  * Copyright (C) 2000 Conrad Parker
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 2 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, write to the Free Software
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19  */
20
21 #ifndef __INTERFACE_H__
22 #define __INTERFACE_H__
23
24 #include "sweep_app.h"
25
26 GtkWidget *
27 create_widget_from_xpm (GtkWidget * widget, gchar **xpm_data);
28
29 GdkColor *
30 create_color (int red, int green, int blue);
31
32 GtkStyle *
33 create_style (GdkColor * fg, GdkColor * bg, gboolean do_grade);
34
35 void
36 init_ui(void);
37
38 void
39 sweep_set_window_icon (GtkWindow * window);
40
41 void
42 recent_manager_add_item (gchar *uri);
43
44 GtkWidget *
45 create_pixmap_button (GtkWidget * widget, gchar ** xpm_data,
46                       const gchar * tip_text, GtkStyle * style,
47                       sw_toolbar_button_type button_type,
48                       GCallback clicked,
49                       GCallback pressed, GCallback released,
50                       gpointer data);
51
52
53 GtkWidget* create_toolbox (void);
54
55 void
56 attach_window_close_accel(GtkWindow *window);
57
58 void
59 save_accels (void);
60
61 #endif /* __INTERFACE_H__ */
Note: See TracBrowser for help on using the browser.