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_VSlider.H 899B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #include <FL/Fl_Value_Slider.H>
  3. #include "Fl_Osc_Slider.H"
  4. #include <string>
  5. class Fl_Osc_VSlider:public Fl_Osc_Slider
  6. {
  7. public:
  8. Fl_Osc_VSlider(int X, int Y, int W, int H, const char *label = NULL);
  9. virtual ~Fl_Osc_VSlider(void);
  10. Fl_Font textfont_;
  11. Fl_Fontsize textsize_;
  12. Fl_Color textcolor_;
  13. void init(std::string, char type = 'i');
  14. //Refetch parameter information
  15. //MIDI Learn
  16. int handle(int);
  17. // Value Slider add-ins.
  18. Fl_Font textfont() const {return textfont_;}
  19. void textfont(Fl_Font s) {textfont_ = s;}
  20. Fl_Fontsize textsize() const {return textsize_;}
  21. void textsize(Fl_Fontsize s) {textsize_ = s;}
  22. Fl_Color textcolor() const {return textcolor_;}
  23. void textcolor(Fl_Color s) {textcolor_ = s;}
  24. protected:
  25. void draw(void);
  26. };