diff options
author | Johannes Mueller <github@johannes-mueller.org> | 2017-07-21 00:37:07 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-31 21:31:22 +0200 |
commit | 4a60c277dbf28b5fd371a04e5d7ca3d7b8df669f (patch) | |
tree | 6cf6044b7f3af205c1d8ff889122b6ac31175337 /gtk2_ardour/processor_box.cc | |
parent | a61ae46c82616eff3ec1f8dd1e1385cad227d25e (diff) |
Some abstractions to make the display look good in the plugin gui
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 476d6c0995..a25ac0de40 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -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) |