mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +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 "widgets/tooltips.h"
|
||||||
|
|
||||||
#include "plugin_ui.h"
|
#include "plugin_ui.h"
|
||||||
|
#include "plugin_display.h"
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "automation_controller.h"
|
#include "automation_controller.h"
|
||||||
#include "gain_meter.h"
|
#include "gain_meter.h"
|
||||||
|
|
@ -527,6 +528,12 @@ GenericPluginUI::automatic_layout (const std::vector<ControlUI*>& control_uis)
|
||||||
} else {
|
} else {
|
||||||
delete output_table;
|
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();
|
show_all();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ PluginDisplay::on_button_release_event (GdkEventButton *ev)
|
||||||
void
|
void
|
||||||
PluginDisplay::on_size_request (Gtk::Requisition* req)
|
PluginDisplay::on_size_request (Gtk::Requisition* req)
|
||||||
{
|
{
|
||||||
req->width = 56;
|
req->width = 300;
|
||||||
req->height = _cur_height;
|
req->height = _cur_height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue