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.

TipWin.h 539B

12345678910111213141516171819202122232425
  1. #ifndef TIPWIN_H
  2. #include <string>
  3. #include <FL/Fl_Menu_Window.H>
  4. #include <FL/Fl_Tooltip.H>
  5. #define TIPWIN_H
  6. using namespace std;
  7. class TipWin:public Fl_Menu_Window
  8. {
  9. public:
  10. TipWin();
  11. void draw();
  12. void showValue(float f);
  13. void setText(const char *c);
  14. void showText();
  15. void setRounding(unsigned int digits = 0);
  16. private:
  17. void redraw();
  18. const char *getStr() const;
  19. string tip;
  20. string text;
  21. bool textmode;
  22. char format[6];
  23. };
  24. #endif