1 /*
2  * Copyright (C) 2002 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 MAPCHANNELSDIALOG_H_INCLUDED
23 #define MAPCHANNELSDIALOG_H_INCLUDED
24 
25 #include <gtk/gtk.h>
26 #include "effectdialog.h"
27 #include "int_box.h"
28 
29 #define MAP_CHANNELS_DIALOG(obj) GTK_CHECK_CAST(obj,map_channels_dialog_get_type(),MapChannelsDialog)
30 #define MAP_CHANNELS_DIALOG_CLASS(klass) GTK_CHECK_CLASS_CAST(klass,map_channels_dialog_get_type(),MapChannelsDialogClass)
31 #define IS_MAP_CHANNELS_DIALOG(obj) GTK_CHECK_TYPE(obj,map_channels_dialog_get_type())
32 
33 typedef struct {
34      EffectDialog ed;
35      guint channels_in,channels_out;
36      GtkToggleButton *channel_map[8*8];
37      Intbox *outchannels;
38      GtkWidget *outnames[8];
39 } MapChannelsDialog;
40 
41 typedef struct {
42     EffectDialogClass edc;
43 } MapChannelsDialogClass;
44 
45 GtkType map_channels_dialog_get_type();
46 
47 #endif
48