Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@11520 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4d7810dee8
commit
c65b95f6d3
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (C) 2008-2011 Paul Davis
|
||||
Copyright (C) 2008-2012 Paul Davis
|
||||
Author: David Robillard
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -15,7 +15,6 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
*/
|
||||
|
||||
#include "ardour/lv2_plugin.h"
|
||||
|
@ -31,8 +30,8 @@
|
|||
#include <lilv/lilv.h>
|
||||
#include <suil/suil.h>
|
||||
|
||||
using namespace Gtk;
|
||||
using namespace ARDOUR;
|
||||
using namespace Gtk;
|
||||
using namespace PBD;
|
||||
|
||||
#define NS_UI "http://lv2plug.in/ns/extensions/ui#"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (C) 2008-2011 Paul Davis
|
||||
Copyright (C) 2008-2012 Paul Davis
|
||||
Author: David Robillard
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -15,7 +15,6 @@
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef __ardour_lv2_plugin_ui_h__
|
||||
|
@ -25,12 +24,12 @@
|
|||
#include "gtk2ardour-config.h"
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include <sigc++/signal.h>
|
||||
#include <gtkmm/widget.h>
|
||||
#include <sigc++/signal.h>
|
||||
|
||||
#include "ardour_dialog.h"
|
||||
#include "ardour/types.h"
|
||||
|
@ -48,7 +47,8 @@ namespace ARDOUR {
|
|||
class LV2PluginUI : public PlugUIBase, public Gtk::VBox
|
||||
{
|
||||
public:
|
||||
LV2PluginUI (boost::shared_ptr<ARDOUR::PluginInsert>, boost::shared_ptr<ARDOUR::LV2Plugin>);
|
||||
LV2PluginUI (boost::shared_ptr<ARDOUR::PluginInsert>,
|
||||
boost::shared_ptr<ARDOUR::LV2Plugin>);
|
||||
~LV2PluginUI ();
|
||||
|
||||
gint get_preferred_height ();
|
||||
|
@ -62,23 +62,22 @@ class LV2PluginUI : public PlugUIBase, public Gtk::VBox
|
|||
|
||||
void parameter_changed (uint32_t, float);
|
||||
|
||||
typedef boost::shared_ptr<ARDOUR::AutomationControl> ControllableRef;
|
||||
|
||||
boost::shared_ptr<ARDOUR::LV2Plugin> _lv2;
|
||||
std::vector<int> _output_ports;
|
||||
sigc::connection _screen_update_connection;
|
||||
|
||||
Gtk::Widget* _gui_widget;
|
||||
float* _values;
|
||||
std::vector<boost::shared_ptr<ARDOUR::AutomationControl> > _controllables;
|
||||
|
||||
struct lv2_external_ui_host _external_ui_host;
|
||||
LV2_Feature _external_ui_feature;
|
||||
struct lv2_external_ui* _external_ui_ptr;
|
||||
Gtk::Window* _win_ptr;
|
||||
std::vector<int> _output_ports;
|
||||
sigc::connection _screen_update_connection;
|
||||
Gtk::Widget* _gui_widget;
|
||||
float* _values;
|
||||
std::vector<ControllableRef> _controllables;
|
||||
struct lv2_external_ui_host _external_ui_host;
|
||||
LV2_Feature _external_ui_feature;
|
||||
struct lv2_external_ui* _external_ui_ptr;
|
||||
Gtk::Window* _win_ptr;
|
||||
void* _inst;
|
||||
|
||||
static void on_external_ui_closed(void* controller);
|
||||
|
||||
void* _inst;
|
||||
|
||||
static void write_from_ui(void* controller,
|
||||
uint32_t port_index,
|
||||
uint32_t buffer_size,
|
||||
|
|
Loading…
Reference in New Issue