Mercurial > hg > svgui
comparison view/ViewProxy.h @ 1057:218be6cf2d4f spectrogram-minor-refactor
Merge from default branch
author | Chris Cannam |
---|---|
date | Mon, 13 Jun 2016 12:46:36 +0100 |
parents | 4e5c1c326794 |
children | 5144d7185fb5 |
comparison
equal
deleted
inserted
replaced
1040:25b035362c44 | 1057:218be6cf2d4f |
---|---|
21 { | 21 { |
22 public: | 22 public: |
23 ViewProxy(View *view, int scaleFactor) : | 23 ViewProxy(View *view, int scaleFactor) : |
24 m_view(view), m_scaleFactor(scaleFactor) { } | 24 m_view(view), m_scaleFactor(scaleFactor) { } |
25 | 25 |
26 virtual int getId() const { | |
27 return m_view->getId(); | |
28 } | |
26 virtual sv_frame_t getStartFrame() const { | 29 virtual sv_frame_t getStartFrame() const { |
27 return m_view->getStartFrame(); | 30 return m_view->getStartFrame(); |
28 } | 31 } |
29 virtual sv_frame_t getCentreFrame() const { | 32 virtual sv_frame_t getCentreFrame() const { |
30 return m_view->getCentreFrame(); | 33 return m_view->getCentreFrame(); |