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_Input.cpp 717B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. ZynAddSubFX - a software synthesizer
  3. Fl_Osc_Input.cpp - OSC Powered Input Field
  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. #include "Fl_Osc_Input.H"
  11. Fl_Osc_Input::Fl_Osc_Input(int X, int Y, int W, int H, const char *label)
  12. :Fl_Input(X,Y,W,H, label), Fl_Osc_Widget(this)
  13. {
  14. }
  15. Fl_Osc_Input::~Fl_Osc_Input(void)
  16. {}
  17. void Fl_Osc_Input::init(const char *path)
  18. {
  19. ext = path;
  20. oscRegister(path);
  21. }
  22. void Fl_Osc_Input::OSC_value(const char *v)
  23. {
  24. value(v);
  25. }