2 * Copyright (C) 2009-2011 David Robillard <d@drobilla.net>
3 * Copyright (C) 2009 Paul Davis <paul@linuxaudiosystems.com>
4 * Copyright (C) 2014-2017 Robin Gareus <robin@gareus.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef __ardour_gtk_return_ui_h__
22 #define __ardour_gtk_return_ui_h__
24 #include "gain_meter.h"
25 #include "panner_ui.h"
26 #include "ardour_window.h"
35 class ReturnUI : public Gtk::HBox
38 ReturnUI (Gtk::Window *,boost::shared_ptr<ARDOUR::Return>, ARDOUR::Session*);
46 boost::shared_ptr<ARDOUR::Return>& retrn() { return _return; }
49 boost::shared_ptr<ARDOUR::Return> _return;
54 sigc::connection screen_update_connection;
55 sigc::connection fast_screen_update_connection;
56 PBD::ScopedConnection input_change_connection;
58 void ins_changed (ARDOUR::IOChange, void*);
61 class ReturnUIWindow : public ArdourWindow
64 ReturnUIWindow(boost::shared_ptr<ARDOUR::Return>, ARDOUR::Session*);
72 PBD::ScopedConnection going_away_connection;
75 #endif /* __ardour_gtk_return_ui_h__ */