Display the inline display in the generic plugin gui
This commit is contained in:
parent
37b03e353a
commit
a61ae46c82
@ -49,6 +49,7 @@
|
||||
#include "widgets/tooltips.h"
|
||||
|
||||
#include "plugin_ui.h"
|
||||
#include "plugin_display.h"
|
||||
#include "gui_thread.h"
|
||||
#include "automation_controller.h"
|
||||
#include "gain_meter.h"
|
||||
@ -527,6 +528,12 @@ GenericPluginUI::automatic_layout (const std::vector<ControlUI*>& control_uis)
|
||||
} else {
|
||||
delete output_table;
|
||||
}
|
||||
|
||||
if (plugin->has_inline_display ()) {
|
||||
PluginDisplay* pd = manage (new PluginDisplay (plugin, 300));
|
||||
pd->set_name("inside gui");
|
||||
hpacker.pack_end (*pd, true, true);
|
||||
}
|
||||
show_all();
|
||||
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ PluginDisplay::on_button_release_event (GdkEventButton *ev)
|
||||
void
|
||||
PluginDisplay::on_size_request (Gtk::Requisition* req)
|
||||
{
|
||||
req->width = 56;
|
||||
req->width = 300;
|
||||
req->height = _cur_height;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user