zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

Fl_Osc_Value.H (764B)


      1 /*
      2   ZynAddSubFX - a software synthesizer
      3 
      4   Fl_Osc_Value.H - OSC Based Fl_Value
      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_Value_Input.H>
     14 #include "Fl_Osc_Widget.H"
     15 
     16 class Fl_Osc_Value: public Fl_Value_Input, public Fl_Osc_Widget
     17 {
     18     public:
     19         Fl_Osc_Value(int X, int Y, int W, int H, const char *label = NULL);
     20         virtual ~Fl_Osc_Value(void);
     21         
     22         //Normal Initialization
     23         void init(const char *path);
     24         void OSC_value(float v);
     25 
     26         void cb();
     27 };