Ardour  9.0-pre0-582-g084a23a80d
audio_time_axis.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2014 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2005 Karsten Wiese <fzuuzf@googlemail.com>
4  * Copyright (C) 2005 Taybin Rutkin <taybin@taybin.com>
5  * Copyright (C) 2006-2014 David Robillard <d@drobilla.net>
6  * Copyright (C) 2007-2012 Carl Hetherington <carl@carlh.net>
7  * Copyright (C) 2017-2019 Robin Gareus <robin@gareus.org>
8  *
9  * This program 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 2 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 along
20  * with this program; if not, write to the Free Software Foundation, Inc.,
21  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22  */
23 
24 #pragma once
25 
26 #include <gtkmm/table.h>
27 #include <gtkmm/button.h>
28 #include <gtkmm/box.h>
29 #include <gtkmm/menu.h>
30 #include <gtkmm/menuitem.h>
31 #include <gtkmm/radiomenuitem.h>
32 #include <gtkmm/checkmenuitem.h>
33 
34 #include <list>
35 
36 #include "ardour/types.h"
37 
38 #include "ardour_dialog.h"
39 #include "route_ui.h"
40 #include "enums.h"
41 #include "editing.h"
42 #include "route_time_axis.h"
43 
44 namespace ARDOUR {
45  class Session;
46  class RouteGroup;
47  class IOProcessor;
48  class Processor;
49  class Location;
50  class AudioPlaylist;
51 }
52 
53 class PublicEditor;
54 class AudioThing;
55 class AudioStreamView;
56 class Selection;
57 class Selectable;
58 class RegionView;
59 class AudioRegionView;
61 class AutomationGainLine;
62 class AutomationPanLine;
63 class TimeSelection;
65 
67 {
68 public:
70  virtual ~AudioTimeAxisView ();
71 
72  void set_route (std::shared_ptr<ARDOUR::Route>);
73 
75 
77 
78  void create_automation_child (const Evoral::Parameter& param, bool show);
79 
80  void first_idle ();
81 
82  void show_all_automation (bool apply_to_selection = false);
83  void show_existing_automation (bool apply_to_selection = false);
84  void hide_all_automation (bool apply_to_selection = false);
85 
86 private:
87  friend class AudioStreamView;
88  friend class AudioRegionView;
89 
91  void parameter_changed (std::string const &);
92 
95 
97 };
98 
99 
void parameter_changed(std::string const &)
Gtk::Menu * build_mode_menu()
void hide_all_automation(bool apply_to_selection=false)
void set_route(std::shared_ptr< ARDOUR::Route >)
AudioStreamView * audio_view()
void show_all_automation(bool apply_to_selection=false)
void build_automation_action_menu(bool)
AudioTimeAxisView(PublicEditor &, ARDOUR::Session *, ArdourCanvas::Canvas &canvas)
void route_active_changed()
virtual ~AudioTimeAxisView()
void create_automation_child(const Evoral::Parameter &param, bool show)
void show_existing_automation(bool apply_to_selection=false)
void update_control_names()
void set_show_waveforms_recording(bool yn)
Representation of the interface of the Editor class.
Lists of selected things.