summaryrefslogtreecommitdiff
path: root/gtk2_ardour/windows_vst_plugin_ui.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-21 17:42:29 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-21 17:42:29 +0000
commitd9a3c6b89fde94b3632d1af57dd85ef9fc32f630 (patch)
tree5d4e264cabf03da5976033442530cba773f92475 /gtk2_ardour/windows_vst_plugin_ui.h
parent24a919ce6d3509e777339a7da4a87ed00556a053 (diff)
Rename windows VST stuff with a Windows prefix.
git-svn-id: svn://localhost/ardour2/branches/3.0@10738 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/windows_vst_plugin_ui.h')
-rw-r--r--gtk2_ardour/windows_vst_plugin_ui.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/gtk2_ardour/windows_vst_plugin_ui.h b/gtk2_ardour/windows_vst_plugin_ui.h
new file mode 100644
index 0000000000..93b531f9dd
--- /dev/null
+++ b/gtk2_ardour/windows_vst_plugin_ui.h
@@ -0,0 +1,47 @@
+/*
+ Copyright (C) 2000-2006 Paul Davis
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ 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 "plugin_ui.h"
+
+class WindowsVSTPluginUI : public PlugUIBase, public Gtk::VBox
+{
+ public:
+ WindowsVSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert>, boost::shared_ptr<ARDOUR::WindowsVSTPlugin>);
+ ~WindowsVSTPluginUI ();
+
+ gint get_preferred_height ();
+ gint get_preferred_width ();
+ bool start_updating(GdkEventAny*) {return false;}
+ bool stop_updating(GdkEventAny*) {return false;}
+
+ int package (Gtk::Window&);
+
+ void forward_key_event (GdkEventKey *);
+ bool non_gtk_gui () const { return true; }
+
+ private:
+ boost::shared_ptr<ARDOUR::WindowsVSTPlugin> vst;
+ Gtk::Socket socket;
+ Gtk::HBox preset_box;
+ Gtk::VBox vpacker;
+
+ bool configure_handler (GdkEventConfigure*, Gtk::Socket*);
+ void save_plugin_setting ();
+ void preset_selected ();
+};