Ardour  8.12
region_gain_line.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 Nick Mainsbridge <mainsbridge@gmail.com>
5  * Copyright (C) 2005 Taybin Rutkin <taybin@taybin.com>
6  * Copyright (C) 2006-2009 David Robillard <d@drobilla.net>
7  * Copyright (C) 2009-2012 Carl Hetherington <carl@carlh.net>
8  * Copyright (C) 2015-2017 Robin Gareus <robin@gareus.org>
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License along
21  * with this program; if not, write to the Free Software Foundation, Inc.,
22  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23  */
24 
25 #ifndef __ardour_gtk_region_gain_line_h__
26 #define __ardour_gtk_region_gain_line_h__
27 
28 #include "ardour/ardour.h"
29 
30 #include "region_fx_line.h"
31 
32 namespace ARDOUR {
33  class Session;
34 }
35 
36 class TimeAxisView;
37 class AudioRegionView;
38 
40 {
41 public:
42  AudioRegionGainLine (const std::string & name, AudioRegionView&, ArdourCanvas::Container& parent, std::shared_ptr<ARDOUR::AutomationList>);
43 
44  void start_drag_single (ControlPoint*, double, float);
45  void start_drag_line (uint32_t, uint32_t, float);
46  void start_drag_multiple (std::list<ControlPoint*>, float, XMLNode*);
47  void end_drag (bool with_push, uint32_t final_index);
48  void end_draw_merge ();
51 
52 private:
54 };
55 
56 #endif /* __ardour_gtk_region_gain_line_h__ */
void end_drag(bool with_push, uint32_t final_index)
void start_drag_line(uint32_t, uint32_t, float)
AudioRegionGainLine(const std::string &name, AudioRegionView &, ArdourCanvas::Container &parent, std::shared_ptr< ARDOUR::AutomationList >)
AudioRegionView & arv
void start_drag_multiple(std::list< ControlPoint * >, float, XMLNode *)
void start_drag_single(ControlPoint *, double, float)
void remove_point(ControlPoint &)
std::string name() const
Definition: xml++.h:114