Ardour  9.0-pre0-582-g084a23a80d
send_ui.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005 Taybin Rutkin <taybin@taybin.com>
3  * Copyright (C) 2006-2009 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2007-2011 David Robillard <d@drobilla.net>
5  * Copyright (C) 2009-2011 Carl Hetherington <carl@carlh.net>
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21 
22 #pragma once
23 
24 #include "widgets/ardour_button.h"
25 
26 #include "ardour_window.h"
27 #include "gain_meter.h"
28 #include "panner_ui.h"
29 
30 namespace ARDOUR
31 {
32  class Send;
33  class IOProcessor;
34 }
35 
36 class IOSelector;
37 
38 class SendUI : public Gtk::HBox
39 {
40 public:
41  SendUI (Gtk::Window*, ARDOUR::Session*, std::shared_ptr<ARDOUR::Send>);
42  ~SendUI ();
43 
44 private:
45  void fast_update ();
47 
50 
51  std::shared_ptr<ARDOUR::Send> _send;
52 
58 
61 };
62 
63 class SendUIWindow : public ArdourWindow
64 {
65 public:
66  SendUIWindow (Gtk::Window&, ARDOUR::Session*, std::shared_ptr<ARDOUR::Send>);
67  SendUIWindow (ARDOUR::Session*, std::shared_ptr<ARDOUR::Send>);
68 
69 private:
71 };
72 
SendUIWindow(Gtk::Window &, ARDOUR::Session *, std::shared_ptr< ARDOUR::Send >)
SendUIWindow(ARDOUR::Session *, std::shared_ptr< ARDOUR::Send >)
SendUI _ui
Definition: send_ui.h:70
Definition: send_ui.h:39
ArdourWidgets::ArdourButton _invert_button
Definition: send_ui.h:53
SendUI(Gtk::Window *, ARDOUR::Session *, std::shared_ptr< ARDOUR::Send >)
bool invert_release(GdkEventButton *ev)
Gtk::VBox _vbox
Definition: send_ui.h:56
void fast_update()
GainMeter _gpm
Definition: send_ui.h:54
std::shared_ptr< ARDOUR::Send > _send
Definition: send_ui.h:51
PannerUI _panners
Definition: send_ui.h:55
bool invert_press(GdkEventButton *ev)
sigc::connection _fast_screen_update_connection
Definition: send_ui.h:59
void outs_changed(ARDOUR::IOChange, void *)
IOSelector * _io
Definition: send_ui.h:57
PBD::ScopedConnection _send_connection
Definition: send_ui.h:60