Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NioUI.h 864B

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