1 /* 2 * Copyright (C) 2003 2004 2006, Magnus Hjorth 3 * 4 * This file is part of mhWaveEdit. 5 * 6 * mhWaveEdit 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 * mhWaveEdit 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 mhWaveEdit; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 19 */ 20 21 22 #ifndef SOXDIALOG_H_INCLUDED 23 #define SOXDIALOG_H_INCLUDED 24 25 #include "effectdialog.h" 26 #include "float_box.h" 27 #include "int_box.h" 28 #include "combo.h" 29 30 #define SOX_DIALOG(obj) GTK_CHECK_CAST(obj,sox_dialog_get_type(),SoxDialog) 31 #define SOX_DIALOG_CLASS(klass) GTK_CHECK_CLASS_CAST(klass,sox_dialog_get_type(),SoxDialogClass) 32 #define IS_SOX_DIALOG(obj) GTK_CHECK_TYPE(obj,sox_dialog_get_type()) 33 34 typedef struct { 35 EffectDialog ed; 36 37 gint i1; 38 Floatbox *fb1,*fb2,*fb3,*fb4,*fb5; 39 Floatbox **fba[4]; 40 Combo **ca,*c1,*c2; 41 Intbox *ib1,*ib2,*ib3; 42 GtkToggleButton *tb1; 43 } SoxDialog; 44 45 typedef struct { 46 EffectDialogClass ed_class; 47 } SoxDialogClass; 48 49 GtkType sox_dialog_get_type(void); 50 void sox_dialog_register(void); 51 gchar *sox_dialog_first_effect(void); 52 void sox_dialog_format_string(gchar *buf, guint bufsize, Dataformat *fmt); 53 54 #endif 55