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.

34 lines
893B

  1. /*
  2. ZynAddSubFX - a software synthesizer
  3. Fl_Osc_Button.H - OSC Powered Button
  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. #pragma once
  11. #include <FL/Fl_Button.H>
  12. #include "Fl_Osc_Widget.H"
  13. #include <string>
  14. class Fl_Osc_Button:public Fl_Button, public Fl_Osc_Widget
  15. {
  16. public:
  17. Fl_Osc_Button(int X, int Y, int W, int H, const char *label);
  18. virtual ~Fl_Osc_Button(void);
  19. virtual void OSC_value(bool);
  20. virtual void rebase(std::string) override;
  21. //void init(Fl_Osc_Interface *, std::string);
  22. //void init(std::string);
  23. //void cb(void);
  24. //static void _cb(Fl_Widget *w, void *);
  25. };