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_Button.cpp 481B

1234567891011121314151617181920212223242526
  1. #include "Fl_Osc_Button.H"
  2. #include "Fl_Osc_Interface.h"
  3. #include "Fl_Osc_Pane.H"
  4. #include <cstdlib>
  5. #include <cstring>
  6. #include <cmath>
  7. #include <cassert>
  8. #include <sstream>
  9. Fl_Osc_Button::Fl_Osc_Button(int X, int Y, int W, int H, const char *label)
  10. :Fl_Button(X,Y,W,H,label), Fl_Osc_Widget(this)
  11. {
  12. }
  13. Fl_Osc_Button::~Fl_Osc_Button(void)
  14. {}
  15. void Fl_Osc_Button::OSC_value(bool v)
  16. {
  17. Fl_Button::value(v);
  18. }
  19. void Fl_Osc_Button::rebase(std::string base)
  20. {
  21. loc = base;
  22. }