Loopp/src/gui.hxx

55 lines
991 B
C++
Raw Normal View History

2013-04-20 12:50:30 +02:00
#ifndef LUPPP_GUI
#define LUPPP_GUI
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
2013-04-20 12:50:30 +02:00
#include <FL/Fl_Box.H>
#include "config.hxx"
2013-04-20 13:20:46 +02:00
#include "gtrack.hxx"
#include "gunittrack.hxx"
#include "gmastertrack.hxx"
2013-04-20 13:20:46 +02:00
#include "diskwriter.hxx"
#include "diskreader.hxx"
#include <vector>
2013-07-24 20:09:35 +02:00
#include <string>
using namespace std;
2013-04-20 12:50:30 +02:00
class Gui
{
public:
Gui();
int show();
int quit();
bool askQuit();
GTrack* getTrack(int id);
2013-07-27 17:37:54 +02:00
GMasterTrack* getMasterTrack(){return master;}
2013-07-24 20:09:35 +02:00
DiskWriter* getDiskWriter(){return diskWriter;}
DiskReader* getDiskReader(){return diskReader;}
void selectLoadSample( int track, int clip );
2013-04-20 12:50:30 +02:00
private:
Fl_Double_Window window;
Fl_Box* box;
DiskReader* diskReader;
DiskWriter* diskWriter;
GMasterTrack* master;
vector<GTrack*> tracks;
2013-07-24 20:09:35 +02:00
2013-07-25 00:23:30 +02:00
std::string tooltip;
Fl_Box* tooltipLabel;
2013-04-20 12:50:30 +02:00
};
#endif // LUPPP_GUI