blob: 303326bf689c276ece7f89d3cf06ef608c38758d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
/* ---------------------------------------------------------------------
*
* Giada - Your Hardcore Loopmachine
*
* gg_waveTools
*
* ---------------------------------------------------------------------
*
* Copyright (C) 2010-2017 Giovanni A. Zuliani | Monocasual
*
* This file is part of Giada - Your Hardcore Loopmachine.
*
* Giada - Your Hardcore Loopmachine is free software: you can
* redistribute it and/or modify it under the terms of the GNU General
* Public License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* Giada - Your Hardcore Loopmachine is distributed in the hope that it
* will be useful, but WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Giada - Your Hardcore Loopmachine. If not, see
* <http://www.gnu.org/licenses/>.
*
* ------------------------------------------------------------------ */
#ifndef GE_WAVE_TOOLS_H
#define GE_WAVE_TOOLS_H
#include <FL/Fl_Scroll.H>
class SampleChannel;
class geWaveform;
class geWaveTools : public Fl_Scroll
{
public:
geWaveform *waveform;
geWaveTools(int X,int Y,int W, int H, SampleChannel *ch, const char *L=0);
void resize(int x, int y, int w, int h);
int handle(int e);
void updateWaveform();
};
#endif
|