61 lines
1.2 KiB
C++
61 lines
1.2 KiB
C++
|
|
#ifndef LUPPP_G_TRACK_H
|
|
#define LUPPP_G_TRACK_H
|
|
|
|
#include <iostream>
|
|
|
|
#include <FL/Fl.H>
|
|
#include <FL/Fl_Group.H>
|
|
#include <FL/Fl_Slider.H>
|
|
#include <FL/Fl_Progress.H>
|
|
#include <FL/Fl_Native_File_Chooser.H>
|
|
|
|
#include "avtk/avtk_dial.h"
|
|
#include "avtk/avtk_button.h"
|
|
#include "avtk/avtk_background.h"
|
|
#include "avtk/avtk_light_button.h"
|
|
#include "avtk/avtk_radial_status.h"
|
|
|
|
#include "avtk/volume.hxx"
|
|
#include "avtk/clipselector.hxx"
|
|
|
|
#include "config.hxx"
|
|
#include "audiobuffer.hxx"
|
|
#include "eventhandler.hxx"
|
|
|
|
using namespace std;
|
|
|
|
class GTrack : public Fl_Group
|
|
{
|
|
public:
|
|
|
|
Avtk::Volume* getVolume(){return &volume;}
|
|
Avtk::RadialStatus* getRadialStatus(){return &radial;}
|
|
Avtk::ClipSelector* getClipSelector(){return &clipSel;}
|
|
|
|
GTrack(int x, int y, int w, int h, const char* l = 0 );
|
|
|
|
int ID;
|
|
|
|
Avtk::Background bg;
|
|
|
|
Avtk::RadialStatus radial;
|
|
|
|
Avtk::ClipSelector clipSel;
|
|
|
|
Fl_Progress volBox;
|
|
|
|
Avtk::Volume volume;
|
|
|
|
Avtk::LightButton active;
|
|
Avtk::LightButton side;
|
|
Avtk::LightButton recEnable;
|
|
Avtk::Dial post;
|
|
Avtk::Dial rev;
|
|
|
|
static int privateID;
|
|
};
|
|
|
|
#endif // LUPPP_G_TRACK_H
|
|
|