1 /**
2  * File name: compressor_group_box.h
3  * Project: Geonkick (A kick synthesizer)
4  *
5  * Copyright (C) 2018 Iurie Nistor <http://iuriepage.wordpress.com>
6  *
7  * This file is part of Geonkick.
8  *
9  * GeonKick is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22  */
23 
24 #ifndef GEONKICK_COMPRESSOR_GROUPBOX_H
25 #define GEONKICK_COMPRESSOR_GROUPBOX_H
26 
27 #include "geonkick_groupbox.h"
28 
29 class GeonkickSlider;
30 class GeonkickCheckbox;
31 class GeonkickApi;
32 class GeonkickButton;
33 
34 class CompressorGroupBox: public GeonkickGroupBox
35 {
36  public:
37         CompressorGroupBox(GeonkickApi *api, GeonkickWidget* parent);
38         void updateGui();
39         void setAttack(int val);
40         void setThreshold(int val);
41         void setRatio(int val);
42         void setMakeup(int val);
43 
44  private:
45         GeonkickApi *geonkickApi;
46         GeonkickSlider *attackSlider;
47         GeonkickSlider *thresholdSlider;
48         GeonkickSlider *ratioSlider;
49         GeonkickSlider *makeupSlider;
50         GeonkickButton *compressorCheckbox;
51 };
52 
53 #endif // GEONKICK_COMPRESSOR_WIDGET_H
54