2013-04-20 13:20:46 +02:00
|
|
|
|
|
|
|
#ifndef LUPPP_G_TRACK_H
|
|
|
|
#define LUPPP_G_TRACK_H
|
|
|
|
|
2013-05-13 23:04:12 +02:00
|
|
|
#include <iostream>
|
|
|
|
|
2013-04-20 13:20:46 +02:00
|
|
|
#include <FL/Fl.H>
|
|
|
|
#include <FL/Fl_Group.H>
|
|
|
|
#include <FL/Fl_Slider.H>
|
2013-05-16 14:38:46 +02:00
|
|
|
#include <FL/Fl_Progress.H>
|
2013-05-20 00:57:12 +02:00
|
|
|
#include <FL/Fl_Native_File_Chooser.H>
|
2013-04-20 13:20:46 +02:00
|
|
|
|
2013-05-13 03:43:44 +02:00
|
|
|
#include "avtk/avtk_dial.h"
|
2013-04-20 13:20:46 +02:00
|
|
|
#include "avtk/avtk_button.h"
|
2013-05-13 03:43:44 +02:00
|
|
|
#include "avtk/avtk_background.h"
|
2013-08-27 01:01:51 +02:00
|
|
|
#include "avtk/avtk_light_button.h"
|
2013-07-30 17:15:02 +02:00
|
|
|
#include "avtk/avtk_radial_status.h"
|
2013-04-20 13:20:46 +02:00
|
|
|
|
2013-09-08 15:24:27 +02:00
|
|
|
#include "avtk/volume.hxx"
|
2013-09-05 19:33:16 +02:00
|
|
|
#include "avtk/clipselector.hxx"
|
2013-05-13 23:04:12 +02:00
|
|
|
|
2013-07-24 20:09:35 +02:00
|
|
|
#include "config.hxx"
|
2013-05-20 00:57:12 +02:00
|
|
|
#include "audiobuffer.hxx"
|
2013-05-13 23:04:12 +02:00
|
|
|
#include "eventhandler.hxx"
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2013-04-20 13:20:46 +02:00
|
|
|
class GTrack : public Fl_Group
|
|
|
|
{
|
|
|
|
public:
|
2013-07-25 16:20:16 +02:00
|
|
|
|
2013-07-26 02:27:19 +02:00
|
|
|
Avtk::Volume* getVolume(){return &volume;}
|
2013-08-22 03:42:11 +02:00
|
|
|
Avtk::RadialStatus* getRadialStatus(){return &radial;}
|
2013-07-25 16:20:16 +02:00
|
|
|
Avtk::ClipSelector* getClipSelector(){return &clipSel;}
|
|
|
|
|
2013-09-10 23:26:37 +02:00
|
|
|
GTrack(int x, int y, int w, int h, const char* l = 0 );
|
2013-04-20 13:20:46 +02:00
|
|
|
|
2013-05-15 03:17:08 +02:00
|
|
|
int ID;
|
|
|
|
|
2013-05-13 03:43:44 +02:00
|
|
|
Avtk::Background bg;
|
|
|
|
|
2013-07-30 17:15:02 +02:00
|
|
|
Avtk::RadialStatus radial;
|
|
|
|
|
2013-07-21 17:04:54 +02:00
|
|
|
Avtk::ClipSelector clipSel;
|
|
|
|
|
2013-07-25 00:58:08 +02:00
|
|
|
Fl_Progress volBox;
|
2013-07-21 17:04:54 +02:00
|
|
|
|
2013-07-22 09:38:18 +02:00
|
|
|
Avtk::Volume volume;
|
2013-05-16 18:16:18 +02:00
|
|
|
|
2013-09-20 23:23:39 +02:00
|
|
|
Avtk::LightButton active;
|
2013-08-27 01:01:51 +02:00
|
|
|
Avtk::LightButton side;
|
2013-09-20 23:23:39 +02:00
|
|
|
Avtk::LightButton recEnable;
|
2013-07-28 15:56:34 +02:00
|
|
|
Avtk::Dial post;
|
|
|
|
Avtk::Dial rev;
|
2013-05-13 03:43:44 +02:00
|
|
|
|
|
|
|
static int privateID;
|
2013-04-20 13:20:46 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LUPPP_G_TRACK_H
|
|
|
|
|