mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Some abstractions to make the display look good in the plugin gui
This commit is contained in:
parent
a61ae46c82
commit
4a60c277db
4 changed files with 23 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue