Loopp/src/gui.hxx

44 lines
727 B
C++

#ifndef LUPPP_GUI
#define LUPPP_GUI
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Box.H>
#include "avtk/avtk_light_button.h"
#include "config.hxx"
#include "gtrack.hxx"
#include "gunittrack.hxx"
#include "gmastertrack.hxx"
#include <vector>
#include <string>
using namespace std;
class Gui
{
public:
Gui();
int show();
GTrack* getTrack(int id);
// for pushing strings to tooltip area
static void show_tooltip( const char* );
private:
Fl_Double_Window window;
Fl_Box* box;
GMasterTrack* master;
GUnitTrack* unit;
vector<GTrack*> tracks;
static Fl_Box* tooltipLabel;
};
#endif // LUPPP_GUI