projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove dead code.
[ardour.git]
/
gtk2_ardour
/
vst_pluginui.cc
diff --git
a/gtk2_ardour/vst_pluginui.cc
b/gtk2_ardour/vst_pluginui.cc
index 1320ccdc7a03ff3642f1565ef5bc875ed6794944..aba100a97ce26ba69d4d108f93696701634b523d 100644
(file)
--- a/
gtk2_ardour/vst_pluginui.cc
+++ b/
gtk2_ardour/vst_pluginui.cc
@@
-19,7
+19,7
@@
#include <fst.h>
#include <gtk/gtksocket.h>
#include <fst.h>
#include <gtk/gtksocket.h>
-#include <ardour/
insert
.h>
+#include <ardour/
processor
.h>
#include <ardour/vst_plugin.h>
#include "plugin_ui.h"
#include <ardour/vst_plugin.h>
#include "plugin_ui.h"
@@
-38,7
+38,7
@@
VSTPluginUI::VSTPluginUI (boost::shared_ptr<PluginInsert> pi, boost::shared_ptr<
preset_box.pack_end (bypass_button, false, false, 10);
preset_box.pack_end (save_button, false, false);
preset_box.pack_end (bypass_button, false, false, 10);
preset_box.pack_end (save_button, false, false);
- preset_box.pack_end (combo, false, false);
+ preset_box.pack_end (
preset_
combo, false, false);
bypass_button.set_active (!insert->active());
bypass_button.set_active (!insert->active());
@@
-57,6
+57,12
@@
VSTPluginUI::get_preferred_height ()
return vst->fst()->height;
}
return vst->fst()->height;
}
+int
+VSTPluginUI::get_preferred_width ()
+{
+ return vst->fst()->width;
+}
+
int
VSTPluginUI::package (Gtk::Window& win)
{
int
VSTPluginUI::package (Gtk::Window& win)
{