summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_pin_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/plugin_pin_dialog.h')
-rw-r--r--gtk2_ardour/plugin_pin_dialog.h5
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;