diff base/Preferences.h @ 138:6332e41c1619

* Various experiments in spectrogram colour scaling, etc. Nothing final here yet, but some promising developments.
author Chris Cannam
date Fri, 14 Jul 2006 17:12:16 +0000
parents e4acb520ad2a
children a35098a9c814
line wrap: on
line diff
--- a/base/Preferences.h	Wed Jul 12 14:15:46 2006 +0000
+++ b/base/Preferences.h	Fri Jul 14 17:12:16 2006 +0000
@@ -36,11 +36,19 @@
     bool getSmoothSpectrogram() const { return m_smoothSpectrogram; }
     float getTuningFrequency() const { return m_tuningFrequency; }
 
+    //!!! harmonise with PaneStack
+    enum PropertyBoxLayout {
+        VerticallyStacked,
+        Layered
+    };
+    PropertyBoxLayout getPropertyBoxLayout() const { return m_propertyBoxLayout; }
+
 public slots:
     virtual void setProperty(const PropertyName &, int);
 
     void setSmoothSpectrogram(bool smooth);
     void setTuningFrequency(float freq);
+    void setPropertyBoxLayout(PropertyBoxLayout layout);
 
 private:
     Preferences(); 
@@ -50,6 +58,7 @@
 
     bool m_smoothSpectrogram;
     float m_tuningFrequency;
+    PropertyBoxLayout m_propertyBoxLayout;
 };
 
 #endif