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.

66 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 "DistrhoUI.hpp"
  8. #include "avtk.h"
  9. #include <stdio.h>
  10. #include "header.c"
  11. using namespace std;
  12. #include <iostream>
  13. // keep things inside the namespace to prevent issues with public symbols
  14. START_NAMESPACE_DISTRHO
  15. class RoomyUI {
  16. public:
  17. void update_button(int button);
  18. RoomyUI(UI* const ui);
  19. Fl_Double_Window *window;
  20. Avtk::Image *headerImage;
  21. private:
  22. void cb_headerImage_i(Avtk::Image*, void*);
  23. static void cb_headerImage(Avtk::Image*, void*);
  24. public:
  25. Avtk::Reverb *graph;
  26. private:
  27. void cb_graph_i(Avtk::Reverb*, void*);
  28. static void cb_graph(Avtk::Reverb*, void*);
  29. public:
  30. Avtk::Dial *time;
  31. private:
  32. void cb_time_i(Avtk::Dial*, void*);
  33. static void cb_time(Avtk::Dial*, void*);
  34. public:
  35. Avtk::Dial *damping;
  36. private:
  37. void cb_damping_i(Avtk::Dial*, void*);
  38. static void cb_damping(Avtk::Dial*, void*);
  39. public:
  40. Avtk::Dial *dryWet;
  41. private:
  42. void cb_dryWet_i(Avtk::Dial*, void*);
  43. static void cb_dryWet(Avtk::Dial*, void*);
  44. public:
  45. int getWidth();
  46. int getHeight();
  47. private:
  48. UI* const ui;
  49. float gain;
  50. float cutoff;
  51. float Q;
  52. public:
  53. void setHostParameter(uint32_t index, float value);
  54. };
  55. void close_cb(Fl_Widget* o, void*);
  56. END_NAMESPACE_DISTRHO
  57. #endif