Some abstractions to make the display look good in the plugin gui
[ardour.git] / gtk2_ardour / processor_box.cc
index 476d6c099520c12a0da648a4ef3c82dc4c163c76..a25ac0de401d4514e5b7b1f8be4d67765ef86644 100644 (file)
@@ -1646,6 +1646,12 @@ ProcessorEntry::PluginInlineDisplay::update_height_alloc (uint32_t inline_height
        _scroll = sc;
 }
 
+void
+ProcessorEntry::PluginInlineDisplay::display_frame (cairo_t* cr, double w, double h)
+{
+       Gtkmm2ext::rounded_rectangle (cr, .5, -1.5, w - 1, h + 1, 7);
+}
+
 ProcessorEntry::LuaPluginDisplay::LuaPluginDisplay (ProcessorEntry& e, boost::shared_ptr<ARDOUR::LuaProc> p, uint32_t max_height)
        : PluginInlineDisplay (e, p, max_height)
        , _luaproc (p)