Mercurial > hg > svcore
diff base/Preferences.h @ 140:a35098a9c814
* start work on prefs dialog
* some work on highlighting local points in spectrogram
author | Chris Cannam |
---|---|
date | Thu, 20 Jul 2006 16:51:20 +0000 |
parents | 6332e41c1619 |
children | 82f529a08cf3 |
line wrap: on
line diff
--- a/base/Preferences.h Wed Jul 19 16:55:29 2006 +0000 +++ b/base/Preferences.h Thu Jul 20 16:51:20 2006 +0000 @@ -18,6 +18,8 @@ #include "PropertyContainer.h" +#include "Window.h" + class Preferences : public PropertyContainer { Q_OBJECT @@ -35,6 +37,7 @@ bool getSmoothSpectrogram() const { return m_smoothSpectrogram; } float getTuningFrequency() const { return m_tuningFrequency; } + WindowType getWindowType() const { return m_windowType; } //!!! harmonise with PaneStack enum PropertyBoxLayout { @@ -49,6 +52,7 @@ void setSmoothSpectrogram(bool smooth); void setTuningFrequency(float freq); void setPropertyBoxLayout(PropertyBoxLayout layout); + void setWindowType(WindowType type); private: Preferences(); @@ -59,6 +63,7 @@ bool m_smoothSpectrogram; float m_tuningFrequency; PropertyBoxLayout m_propertyBoxLayout; + WindowType m_windowType; }; #endif