make PluginUIWindow inherit from ArdourWindow not GtkWindow

This commit is contained in:
Paul Davis 2013-05-02 10:11:57 -04:00
parent f04c35cb1c
commit 7df1654947
3 changed files with 7 additions and 28 deletions

View file

@ -50,6 +50,7 @@
#include "automation_controller.h"
#include "ardour_button.h"
#include "ardour_window.h"
namespace ARDOUR {
class PluginInsert;
@ -278,11 +279,10 @@ class GenericPluginUI : public PlugUIBase, public Gtk::VBox
bool integer_printer (char* buf, Gtk::Adjustment &, ControlUI *);
};
class PluginUIWindow : public Gtk::Window
class PluginUIWindow : public ArdourWindow
{
public:
PluginUIWindow (Gtk::Window*,
boost::shared_ptr<ARDOUR::PluginInsert> insert,
PluginUIWindow (boost::shared_ptr<ARDOUR::PluginInsert> insert,
bool scrollable=false,
bool editor=true);
~PluginUIWindow ();