Mercurial > hg > svgui
diff view/ViewProxy.h @ 1044:4e5c1c326794 3.0-integration
Make ViewProxy objects share the ids of their Views; fixes incorrect colour scale drawing
author | Chris Cannam |
---|---|
date | Tue, 09 Feb 2016 10:59:36 +0000 |
parents | 0be17aafa935 |
children | 5144d7185fb5 |
line wrap: on
line diff
--- a/view/ViewProxy.h Thu Feb 04 11:18:08 2016 +0000 +++ b/view/ViewProxy.h Tue Feb 09 10:59:36 2016 +0000 @@ -23,6 +23,9 @@ ViewProxy(View *view, int scaleFactor) : m_view(view), m_scaleFactor(scaleFactor) { } + virtual int getId() const { + return m_view->getId(); + } virtual sv_frame_t getStartFrame() const { return m_view->getStartFrame(); }