Recognizes if input is ogg or not.
[xiph.git] / postfish / mainpanel.h
blob29d10ef950f6e708e7cf879c62bed0adc73e0f87
1 /*
3 * postfish
4 *
5 * Copyright (C) 2002-2005 Monty
7 * Postfish is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
12 * Postfish is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Postfish; see the file COPYING. If not, write to the
19 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
24 #include "postfish.h"
26 struct postfish_mainpanel;
27 typedef struct postfish_mainpanel postfish_mainpanel;
29 #include "clippanel.h"
30 #include "eqpanel.h"
31 #include "compandpanel.h"
32 #include "singlepanel.h"
33 #include "deverbpanel.h"
34 #include "limitpanel.h"
35 #include "mixpanel.h"
36 #include "reverbpanel.h"
37 #include "outpanel.h"
39 struct postfish_mainpanel{
40 GtkWidget *twirlimage;
41 GdkPixmap *ff[19];
42 GdkBitmap *fb[19];
44 GtkWidget *playimage;
45 GdkPixmap *pf[2];
46 GdkBitmap *pb[2];
48 /* we need these widgets */
49 GtkAccelGroup *group;
50 GtkWidget *toplevel;
52 GtkWidget *masterdB_r;
53 GtkWidget *masterdB_s;
54 GtkWidget *masterdB_a;
56 GtkWidget *buttonactive[7];
57 GtkWidget *deckactive[7];
59 GtkWidget *inbar;
60 GtkWidget *outbar;
61 GtkWidget *inreadout;
62 GtkWidget *outreadout;
64 float inpeak;
65 float outpeak;
67 GtkWidget *channelshow[MAX_INPUT_CHANNELS];
68 int channelrotate[10]; /* up to 16 channels, but only base 10 digits on the keyboard */
69 GtkWidget ***channel_wa;
70 int channeleffects;
72 GtkWidget *cue;
73 GtkWidget *cue_a;
74 GtkWidget *entry_a;
75 GtkWidget *set_a;
76 GtkWidget *cue_b;
77 GtkWidget *entry_b;
78 GtkWidget *set_b;
80 /* ui state */
81 int fishframe;
82 int fishframe_init;
83 guint fishframe_timer;
84 int *ch_rotate;
88 extern void mainpanel_go(int n,char *list[],int ch);
89 extern void save_state();