Ardour  9.0-pre0-350-gf17a656217
editor_automation_line.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2017 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2005 Karsten Wiese <fzuuzf@googlemail.com>
4  * Copyright (C) 2005 Nick Mainsbridge <mainsbridge@gmail.com>
5  * Copyright (C) 2005 Taybin Rutkin <taybin@taybin.com>
6  * Copyright (C) 2006 Hans Fugal <hans@fugal.net>
7  * Copyright (C) 2007-2012 Carl Hetherington <carl@carlh.net>
8  * Copyright (C) 2007-2015 David Robillard <d@drobilla.net>
9  * Copyright (C) 2014-2017 Robin Gareus <robin@gareus.org>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License along
22  * with this program; if not, write to the Free Software Foundation, Inc.,
23  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24  */
25 
26 #pragma once
27 
28 #include <vector>
29 #include <list>
30 #include <string>
31 #include <sys/types.h>
32 
33 #include <sigc++/signal.h>
34 
35 #include "pbd/undo.h"
37 #include "pbd/memento_command.h"
38 
39 #include "ardour/automation_list.h"
41 #include "ardour/types.h"
42 
43 #include "canvas/types.h"
44 #include "canvas/container.h"
45 #include "canvas/poly_line.h"
46 
47 #include "automation_line.h"
48 
49 class AutomationLine;
50 class ControlPoint;
51 class PointSelection;
52 class TimeAxisView;
54 class Selectable;
55 class Selection;
56 class PublicEditor;
57 
58 
64 {
65 public:
66  EditorAutomationLine (const std::string& name,
67  TimeAxisView& tv,
68  ArdourCanvas::Item& parent,
69  std::shared_ptr<ARDOUR::AutomationList> al,
70  const ARDOUR::ParameterDescriptor& desc);
71 
72 
74 
76 
77  protected:
78  virtual bool event_handler (GdkEvent*);
79 };
80 
81 
std::string name() const
virtual ~EditorAutomationLine()
virtual bool event_handler(GdkEvent *)
EditorAutomationLine(const std::string &name, TimeAxisView &tv, ArdourCanvas::Item &parent, std::shared_ptr< ARDOUR::AutomationList > al, const ARDOUR::ParameterDescriptor &desc)
Representation of the interface of the Editor class.
Lists of selected things.