Ardour  8.12
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 #ifndef __ardour_audio_time_axis_h__
25 #define __ardour_audio_time_axis_h__
26 
27 #include <gtkmm/table.h>
28 #include <gtkmm/button.h>
29 #include <gtkmm/box.h>
30 #include <gtkmm/menu.h>
31 #include <gtkmm/menuitem.h>
32 #include <gtkmm/radiomenuitem.h>
33 #include <gtkmm/checkmenuitem.h>
34 
35 #include <list>
36 
37 #include "ardour/types.h"
38 
39 #include "ardour_dialog.h"
40 #include "route_ui.h"
41 #include "enums.h"
42 #include "editing.h"
43 #include "route_time_axis.h"
44 
45 namespace ARDOUR {
46  class Session;
47  class RouteGroup;
48  class IOProcessor;
49  class Processor;
50  class Location;
51  class AudioPlaylist;
52 }
53 
54 class PublicEditor;
55 class AudioThing;
56 class AudioStreamView;
57 class Selection;
58 class Selectable;
59 class RegionView;
60 class AudioRegionView;
61 class AutomationLine;
62 class AutomationGainLine;
63 class AutomationPanLine;
64 class TimeSelection;
66 
68 {
69 public:
71  virtual ~AudioTimeAxisView ();
72 
73  void set_route (std::shared_ptr<ARDOUR::Route>);
74 
76 
78 
79  void create_automation_child (const Evoral::Parameter& param, bool show);
80 
81  void first_idle ();
82 
83  void show_all_automation (bool apply_to_selection = false);
84  void show_existing_automation (bool apply_to_selection = false);
85  void hide_all_automation (bool apply_to_selection = false);
86 
87 private:
88  friend class AudioStreamView;
89  friend class AudioRegionView;
90 
92  void parameter_changed (std::string const &);
93 
96 
98 };
99 
100 #endif /* __ardour_audio_time_axis_h__ */
101 
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.