Blame hdspmixer/src/HDSPMixerIOMixer.h

Packit 427e91
/*
Packit 427e91
 *   HDSPMixer
Packit 427e91
 *    
Packit 427e91
 *   Copyright (C) 2003 Thomas Charbonnel (thomas@undata.org)
Packit 427e91
 *    
Packit 427e91
 *   This program is free software; you can redistribute it and/or modify
Packit 427e91
 *   it under the terms of the GNU General Public License as published by
Packit 427e91
 *   the Free Software Foundation; either version 2 of the License, or
Packit 427e91
 *   (at your option) any later version.
Packit 427e91
 *
Packit 427e91
 *   This program is distributed in the hope that it will be useful,
Packit 427e91
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 427e91
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 427e91
 *   GNU General Public License for more details.
Packit 427e91
 *
Packit 427e91
 *   You should have received a copy of the GNU General Public License
Packit 427e91
 *   along with this program; if not, write to the Free Software
Packit 427e91
 *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Packit 427e91
 */
Packit 427e91
Packit 427e91
#pragma interface
Packit 427e91
#ifndef HDSPMixerIOMixer_H
Packit 427e91
#define HDSPMixerIOMixer_H
Packit 427e91
Packit 427e91
#include <fl fl.h="">
Packit 427e91
#include <fl fl_group.h="">
Packit 427e91
#include <fl fl_draw.h="">
Packit 427e91
#include <stdio.h>
Packit 427e91
#include "HDSPMixerWindow.h"
Packit 427e91
#include "HDSPMixerSelector.h"
Packit 427e91
#include "HDSPMixerPan.h"
Packit 427e91
#include "HDSPMixerFader.h"
Packit 427e91
#include "HDSPMixerGain.h"
Packit 427e91
#include "HDSPMixerPeak.h"
Packit 427e91
#include "HDSPMixerMuteSolo.h"
Packit 427e91
#include "HDSPMixerStripData.h"
Packit 427e91
#include "HDSPMixerMeter.h"
Packit 427e91
#include "pixmaps.h"
Packit 427e91
#include <sstream>
Packit 427e91
Packit 427e91
class HDSPMixerWindow;
Packit 427e91
class HDSPMixerSelector;
Packit 427e91
class HDSPMixerPan;
Packit 427e91
class HDSPMixerFader;
Packit 427e91
class HDSPMixerGain;
Packit 427e91
class HDSPMixerPeak;
Packit 427e91
class HDSPMixerMuteSolo;
Packit 427e91
class HDSPMixerStripData;
Packit 427e91
class HDSPMixerMeter;
Packit 427e91
Packit 427e91
class HDSPMixerIOMixer:public Fl_Group
Packit 427e91
{
Packit 427e91
private:
Packit 427e91
    char const **p_iomixer_xpm;
Packit 427e91
    int channel_num, relative_num, mixer_type;
Packit 427e91
	std::stringstream channel_name;
Packit 427e91
    void update_child(Fl_Widget &widget);
Packit 427e91
public:
Packit 427e91
    HDSPMixerStripData *data[MAX_CARDS][3][NUM_PRESETS]; /* data[card][mode(ss/ds/qs)][preset number] */
Packit 427e91
    HDSPMixerPan *pan;
Packit 427e91
    HDSPMixerFader *fader;
Packit 427e91
    HDSPMixerPeak *peak;
Packit 427e91
    HDSPMixerGain *gain;
Packit 427e91
    HDSPMixerMuteSolo *mutesolo;
Packit 427e91
    HDSPMixerSelector *targets;
Packit 427e91
    HDSPMixerMeter *meter;
Packit 427e91
    HDSPMixerIOMixer(int x, int y, int w, int h, int channelnum, int type);
Packit 427e91
    void draw();
Packit 427e91
    void draw_background();
Packit 427e91
    void draw_background(int x, int y, int w, int h);
Packit 427e91
    void register_relatives();
Packit 427e91
};
Packit 427e91
Packit 427e91
#endif
Packit 427e91