zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

NioUI.h (864B)


      1 /*
      2   ZynAddSubFX - a software synthesizer
      3 
      4   NioUI.h - UI For Runtime IO Changes
      5   Copyright (C) 2016 Mark McCurry
      6 
      7   This program is free software; you can redistribute it and/or
      8   modify it under the terms of the GNU General Public License
      9   as published by the Free Software Foundation; either version 2
     10   of the License, or (at your option) any later version.
     11 */
     12 #ifndef NIOUI_H
     13 #define NIOUI_H
     14 
     15 #include <FL/Fl.H>
     16 #include <FL/Fl_Window.H>
     17 
     18 class NioUI:public Fl_Window
     19 {
     20     public:
     21         NioUI(class Fl_Osc_Interface*);
     22         ~NioUI();
     23         void refresh();
     24     private:
     25         class Fl_Osc_StrChoice * midi;
     26         class Fl_Osc_StrChoice * audio;
     27         class Osc_SimpleListModel * midi_opt;
     28         class Osc_SimpleListModel * audio_opt;
     29         static void midiCallback(Fl_Widget *c);
     30         static void audioCallback(Fl_Widget *c);
     31 };
     32 
     33 #endif