diff view/ViewManager.h @ 326:4f4f38a11cd2

* Factor out uses of "Sonic Visualiser" in "common" code to applicationName() * Add ability to show work title + artist in top-left of pane (thinking of Vect but may be useful in SV in future) * A few other generalisations useful for Vect
author Chris Cannam
date Fri, 09 Nov 2007 17:46:58 +0000
parents 7b96a3261e1c
children e74b56f07c73 64e84e5efb76
line wrap: on
line diff
--- a/view/ViewManager.h	Wed Nov 07 16:52:52 2007 +0000
+++ b/view/ViewManager.h	Fri Nov 09 17:46:58 2007 +0000
@@ -115,6 +115,9 @@
     bool getAlignMode() const { return m_alignMode; }
     void setAlignMode(bool on);
 
+    void setIlluminateLocalFeatures(bool i) { m_illuminateLocalFeatures = i; }
+    void setShowWorkTitle(bool show) { m_showWorkTitle = show; }
+
     /**
      * The sample rate that is used for playback.  This is usually the
      * rate of the main model, but not always.  Models whose rates
@@ -169,6 +172,12 @@
     bool shouldShowScaleGuides() const {
         return m_overlayMode != NoOverlays;
     }
+    bool shouldShowWorkTitle() const {
+        return m_showWorkTitle;
+    }
+    bool shouldIlluminateLocalFeatures() const {
+        return m_illuminateLocalFeatures;
+    }
 
     void setZoomWheelsEnabled(bool enable);
     bool getZoomWheelsEnabled() const { return m_zoomWheelsEnabled; }
@@ -277,6 +286,8 @@
 
     OverlayMode m_overlayMode;
     bool m_zoomWheelsEnabled;
+    bool m_illuminateLocalFeatures;
+    bool m_showWorkTitle;
 
     QPalette m_lightPalette;
     QPalette m_darkPalette;