mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Display the inline display in the generic plugin gui
This commit is contained in:
parent
37b03e353a
commit
a61ae46c82
2 changed files with 8 additions and 1 deletions
|
|
@ -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();
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue