DPF Plugin examples
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.

67 lines
1.4KB

  1. // generated by Fast Light User Interface Designer (fluid) version 1.0300
  2. #ifndef roomy_widget_h
  3. #define roomy_widget_h
  4. #include <FL/Fl.H>
  5. #include <FL/Fl_Double_Window.H>
  6. //#include "lv2/lv2plug.in/ns/extensions/ui/ui.h"
  7. //#include "../dsp/roomy.hxx"
  8. #include "DistrhoUI.hpp"
  9. #include "avtk.h"
  10. #include <stdio.h>
  11. #include "header.c"
  12. using namespace std;
  13. #include <iostream>
  14. // keep things inside the namespace to prevent issues with public symbols
  15. START_NAMESPACE_DISTRHO
  16. class RoomyUI {
  17. public:
  18. void update_button(int button);
  19. RoomyUI(UI* ui);
  20. Fl_Double_Window *window;
  21. Avtk::Image *headerImage;
  22. private:
  23. void cb_headerImage_i(Avtk::Image*, void*);
  24. static void cb_headerImage(Avtk::Image*, void*);
  25. public:
  26. Avtk::Reverb *graph;
  27. private:
  28. void cb_graph_i(Avtk::Reverb*, void*);
  29. static void cb_graph(Avtk::Reverb*, void*);
  30. public:
  31. Avtk::Dial *time;
  32. private:
  33. void cb_time_i(Avtk::Dial*, void*);
  34. static void cb_time(Avtk::Dial*, void*);
  35. public:
  36. Avtk::Dial *damping;
  37. private:
  38. void cb_damping_i(Avtk::Dial*, void*);
  39. static void cb_damping(Avtk::Dial*, void*);
  40. public:
  41. Avtk::Dial *dryWet;
  42. private:
  43. void cb_dryWet_i(Avtk::Dial*, void*);
  44. static void cb_dryWet(Avtk::Dial*, void*);
  45. public:
  46. int getWidth();
  47. int getHeight();
  48. private:
  49. UI* const ui;
  50. float gain;
  51. float cutoff;
  52. float Q;
  53. public:
  54. void setHostParameter(uint32_t index, float value);
  55. };
  56. void close_cb(Fl_Widget* o, void*);
  57. END_NAMESPACE_DISTRHO
  58. #endif