Ardour  8.7-15-gadf511264b
audio_trigger_properties_box.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2021 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2021 Ben Loftis <ben@harrisonconsoles.com>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #ifndef _gtk_ardour_audio_trigger_properties_box_h_
21 #define _gtk_ardour_audio_trigger_properties_box_h_
22 
23 #include <gtkmm/box.h>
24 #include <gtkmm/label.h>
25 #include <gtkmm/table.h>
26 
27 #include "ardour/ardour.h"
28 #include "ardour/session_handle.h"
29 #include "ardour/triggerbox.h"
30 
31 #include "widgets/ardour_button.h"
33 
34 #include "audio_clock.h"
35 #include "trigger_ui.h"
36 
38 {
39 public:
42 
43 protected:
45 
47 };
48 
50 {
51 public:
54 
56 
57 protected:
58  virtual void on_trigger_changed (const PBD::PropertyChange& what_changed);
59 
60  void toggle_stretch ();
62 
65 
67 
68  void beats_changed();
69 
70 private:
71 
72  void MultiplyTempo(float mult);
73 
75 
78 
82 
85 
88 
90 
92 
94 
97 
99 };
100 
101 #endif
void meter_changed(Temporal::Meter m)
void MultiplyTempo(float mult)
ArdourWidgets::ArdourButton _dbl_button
void set_stretch_mode(ARDOUR::Trigger::StretchMode sm)
ArdourWidgets::ArdourButton _stretch_toggle
ArdourWidgets::ArdourDropdown _stretch_selector
void set_session(ARDOUR::Session *)
ArdourWidgets::ArdourButton _half_button
virtual void on_trigger_changed(const PBD::PropertyChange &what_changed)
ArdourWidgets::ArdourButton _abpm_label
PBD::ScopedConnection _state_connection