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.

Fl_Osc_DialF.H 631B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include <FL/Fl_Dial.H>
  3. #include "WidgetPDial.h"
  4. #include "Fl_Osc_Widget.H"
  5. #include <string>
  6. class Fl_Osc_DialF:public WidgetPDial, public Fl_Osc_Widget
  7. {
  8. public:
  9. Fl_Osc_DialF(int X, int Y, int W, int H, const char *label = NULL);
  10. virtual ~Fl_Osc_DialF(void);
  11. void init(const char *path);
  12. void OSC_value(float);
  13. //Refetch parameter information
  14. void update(void);
  15. void callback(Fl_Callback *cb, void *p = NULL);
  16. //Midi learn handler
  17. int handle(int);
  18. void cb(void);
  19. private:
  20. std::pair<Fl_Callback*, void*> cb_data;
  21. };