Logo Search packages:      
Sourcecode: csound version File versions  Download package

CsoundGUIConsole_FLTK.hpp

// generated by Fast Light User Interface Designer (fluid) version 1.0107

#ifndef CsoundGUIConsole_FLTK_hpp
#define CsoundGUIConsole_FLTK_hpp
#include <FL/Fl.H>
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Text_Display.H>

class CsoundGUIConsole {
  Fl_Text_Buffer *buf;
  Fl_Text_Buffer *styleBuf;
  Csound_Message *firstMsg;
  Csound_Message *lastMsg;
  CsoundMutex mutex_;
  CsoundThreadLock msgNotifyLock;
  CsoundThreadLock clearLock;
  CsoundThreadLock quitLock;
  static const Fl_Text_Display::Style_Table_Entry styleTable[18];
  void *consoleThread;
public:
  CsoundGUIConsole() ;
  Fl_Double_Window *window;
  Fl_Text_Display *textDisplay;
  ~CsoundGUIConsole();
private:
  static uintptr_t consoleThreadFunc(void *);
public:
  static void messageCallback_NoThread(CSOUND *csound, int attr, const char *fmt, va_list args);
  static void messageCallback_Thread(CSOUND *csound, int attr, const char *fmt, va_list args);
  void updateDisplay(bool);
  void flushMessages();
  void Clear();
};
#endif

Generated by  Doxygen 1.6.0   Back to index