Ardour  8.7-15-gadf511264b
midi_region_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 __midi_region_properties_box_h__
21 #define __midi_region_properties_box_h__
22 
23 #include <map>
24 
25 #include <gtkmm/box.h>
26 #include <gtkmm/label.h>
27 #include <gtkmm/table.h>
28 
29 #include "ardour/ardour.h"
30 #include "ardour/session_handle.h"
31 
32 #include "gtkmm2ext/cairo_packer.h"
33 
35 
36 namespace ARDOUR
37 {
38  class Session;
39  class Location;
40 }
41 
43 {
44 public:
47 
48  void set_region (std::shared_ptr<ARDOUR::Region>);
49 
50 private:
51  void region_changed (const PBD::PropertyChange& what_changed);
52 
54 
57 };
58 
59 #endif /* __midi_region_properties_box_h__ */
ArdourWidgets::ArdourButton cc_selector_button
PBD::ScopedConnection midi_state_connection
void region_changed(const PBD::PropertyChange &what_changed)
void set_region(std::shared_ptr< ARDOUR::Region >)
ArdourWidgets::ArdourButton patch_selector_button