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.
|
- #ifndef TIPWIN_H
- #include <string>
- #include <FL/Fl_Menu_Window.H>
- #include <FL/Fl_Tooltip.H>
- #define TIPWIN_H
- using namespace std;
-
- class TipWin:public Fl_Menu_Window
- {
- public:
- TipWin();
- void draw();
- void showValue(float f);
- void setText(const char *c);
- void showText();
- void set_rounding(unsigned int digits = 0);
- private:
- void redraw();
- const char *getStr() const;
- string tip;
- string text;
- bool textmode;
- char format[6];
- };
- #endif
|