Ardour  9.0-pre0-582-g084a23a80d
varispeed_dialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Ben Loftis <ben@harrisonconsoles.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef _gtkardour_varispeed_dialog_h_
20 #define _gtkardour_varispeed_dialog_h_
21 
22 #include <gtkmm/spinbutton.h>
23 
24 #include "ardour_dialog.h"
25 
31 {
32 public:
34  void adj_semi (double delta);
35 
36 private:
37  void apply_semitones ();
39 
40  void on_show ();
41  void on_hide ();
43 
50 
52 };
53 
54 #endif
Gtk::SpinButton _cents_spinner
void on_show()
This is a default handler for the signal signal_show().
bool on_key_press_event(GdkEventKey *)
This is a default handler for the signal signal_key_press_event().
Gtk::SpinButton _percent_spinner
Gtk::SpinButton _semitones_spinner
Gtk::Adjustment _percent_adjustment
void adj_semi(double delta)
Gtk::Adjustment _semitones_adjustment
Gtk::Adjustment _cents_adjustment
void on_hide()
This is a default handler for the signal signal_hide().
void apply_semitones()
void apply_percentage()