diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-13 23:37:09 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-13 23:43:08 +0200 |
commit | afca178e45316b187c92dc17cc0fc5d3e9692790 (patch) | |
tree | 1e2f95f4d581a37d9c56ee0863ec9531ce544515 /gtk2_ardour/plugin_pin_dialog.h | |
parent | bf3719f63f1997a0f9b1ece4d8029800cb9449d5 (diff) |
show plugin pin labels when hovering over them
Diffstat (limited to 'gtk2_ardour/plugin_pin_dialog.h')
-rw-r--r-- | gtk2_ardour/plugin_pin_dialog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/plugin_pin_dialog.h b/gtk2_ardour/plugin_pin_dialog.h index 65424e318e..8d36ca2afa 100644 --- a/gtk2_ardour/plugin_pin_dialog.h +++ b/gtk2_ardour/plugin_pin_dialog.h @@ -58,11 +58,12 @@ private: typedef boost::shared_ptr<_CtrlElem> CtrlElem; struct CtrlWidget { - CtrlWidget (CtrlType ct, ARDOUR::DataType dt, uint32_t id, uint32_t ip = 0, bool sc = false) - : x(0), y(0), w (0), h (0), prelight (false) + CtrlWidget (const std::string& n, CtrlType ct, ARDOUR::DataType dt, uint32_t id, uint32_t ip = 0, bool sc = false) + : name (n), x(0), y(0), w (0), h (0), prelight (false) { e = CtrlElem (new _CtrlElem (ct, dt, id, ip, sc)); } + std::string name; double x,y; double w,h; bool prelight; |