Fl_Osc_Button.H (893B)
1 /* 2 ZynAddSubFX - a software synthesizer 3 4 Fl_Osc_Button.H - OSC Powered Button 5 Copyright (C) 2016 Mark McCurry 6 7 This program is free software; you can redistribute it and/or 8 modify it under the terms of the GNU General Public License 9 as published by the Free Software Foundation; either version 2 10 of the License, or (at your option) any later version. 11 */ 12 #pragma once 13 #include <FL/Fl_Button.H> 14 #include "Fl_Osc_Widget.H" 15 #include <string> 16 17 class Fl_Osc_Button:public Fl_Button, public Fl_Osc_Widget 18 { 19 20 public: 21 Fl_Osc_Button(int X, int Y, int W, int H, const char *label); 22 23 virtual ~Fl_Osc_Button(void); 24 virtual void OSC_value(bool); 25 26 virtual void rebase(std::string) override; 27 28 //void init(Fl_Osc_Interface *, std::string); 29 //void init(std::string); 30 31 //void cb(void); 32 //static void _cb(Fl_Widget *w, void *); 33 };