From 97e32a7a6154108dbdd4506de740cd83b781f343 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 11 Dec 2023 01:17:00 +0100 Subject: [PATCH] ui: mixer: adjust plugin inline display for a more consistent look (same border radius as faders, 1px distance with the edges of the containers and with the connection pins). Does the plugin drawer need to be tricked into drawing to the exact adjusted surface now ? --- gtk2_ardour/processor_box.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 4f34c90d06..26977fb2fb 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -1864,7 +1864,8 @@ ProcessorEntry::PluginInlineDisplay::update_height_alloc (uint32_t inline_height void ProcessorEntry::PluginInlineDisplay::display_frame (cairo_t* cr, double w, double h) { - Gtkmm2ext::rounded_rectangle (cr, .5, -1.5, w - 1, h + 1, 7); + Gtkmm2ext::rounded_rectangle (cr, 1.5, -0.5, w - 3, h - 1.0, 2.5); + } ProcessorEntry::LuaPluginDisplay::LuaPluginDisplay (ProcessorEntry& e, std::shared_ptr p, uint32_t max_height)