diff view/LayerGeometryProvider.h @ 919:a5488775f880 osx-retina

Pass proxy to layer for painting
author Chris Cannam
date Wed, 18 Mar 2015 13:52:07 +0000
parents 4fe7a09be0fe
children 0be17aafa935
line wrap: on
line diff
--- a/view/LayerGeometryProvider.h	Tue Mar 17 16:56:03 2015 +0000
+++ b/view/LayerGeometryProvider.h	Wed Mar 18 13:52:07 2015 +0000
@@ -57,6 +57,9 @@
      */
     virtual sv_frame_t getFrameForX(int x) const = 0;
 
+    virtual sv_frame_t getModelsStartFrame() const = 0;
+    virtual sv_frame_t getModelsEndFrame() const = 0;
+
     /**
      * Return the pixel y-coordinate corresponding to a given
      * frequency, if the frequency range is as specified.  This does
@@ -106,6 +109,7 @@
     virtual ViewManager *getViewManager() const = 0;
 
     virtual bool shouldIlluminateLocalFeatures(const Layer *, QPoint &) const = 0;
+    virtual bool shouldShowFeatureLabels() const = 0;
 
     enum TextStyle {
 	BoxedText,