Ardour  9.0-pre0-350-gf17a656217
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 #pragma once
26 
27 #include "ardour/ardour.h"
28 
29 #include "region_fx_line.h"
30 
31 namespace ARDOUR {
32  class Session;
33 }
34 
35 class TimeAxisView;
36 class AudioRegionView;
37 
39 {
40 public:
41  AudioRegionGainLine (const std::string & name, AudioRegionView&, ArdourCanvas::Container& parent, std::shared_ptr<ARDOUR::AutomationList>);
42 
43  void start_drag_single (ControlPoint*, double, float);
44  void start_drag_line (uint32_t, uint32_t, float);
45  void start_drag_multiple (std::list<ControlPoint*>, float, XMLNode*);
46  void end_drag (bool with_push, uint32_t final_index);
47  void end_draw_merge ();
50 
51 private:
53 };
54 
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