LMMS
Loading...
Searching...
No Matches
TipWin.h
Go to the documentation of this file.
1/*
2 ZynAddSubFX - a software synthesizer
3
4 TipWin.h - Tooltips
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#ifndef TIPWIN_H
13#include <string>
14#include <FL/Fl_Menu_Window.H>
15#include <FL/Fl_Tooltip.H>
16#define TIPWIN_H
17using namespace std;
18
19class TipWin:public Fl_Menu_Window
20{
21 public:
22 TipWin();
23 void draw();
24 void showValue(float f);
25 void setText(const char *c);
26 void showText();
27 void set_rounding(unsigned int digits = 0);
28 private:
29 void redraw();
30 const char *getStr() const;
31 string tip;
32 string text;
34 char format[6];
35};
36#endif
string tip
Definition TipWin.h:31
void showText()
Definition TipWin.cpp:61
void showValue(float f)
Definition TipWin.cpp:42
void redraw()
Definition TipWin.cpp:70
void draw()
Definition TipWin.cpp:30
void set_rounding(unsigned int digits=0)
Definition TipWin.cpp:25
char format[6]
Definition TipWin.h:34
void setText(const char *c)
Definition TipWin.cpp:54
bool textmode
Definition TipWin.h:33
const char * getStr() const
Definition TipWin.cpp:83
string text
Definition TipWin.h:32
TipWin()
Definition TipWin.cpp:18
unsigned f
Definition inflate.c:1572
Definition juce_Uuid.h:141
return c
Definition crypt.c:175