Mercurial > hg > svcore
diff base/Preferences.h @ 1031:344c9ea90181
Add option to toggle H:M:S time display (when off, just show seconds even when more than 60)
author | Chris Cannam |
---|---|
date | Wed, 18 Feb 2015 12:08:17 +0000 |
parents | 2896b8872834 |
children | cc27f35aa75c |
line wrap: on
line diff
--- a/base/Preferences.h Fri Feb 13 13:30:28 2015 +0000 +++ b/base/Preferences.h Wed Feb 18 12:08:17 2015 +0000 @@ -93,6 +93,8 @@ }; TimeToTextMode getTimeToTextMode() const { return m_timeToTextMode; } + bool getShowHMS() const { return m_showHMS; } + int getOctaveOfMiddleC() const { // weed out unsupported octaves return getOctaveOfMiddleCInSystem(getSystemWithMiddleCInOctave(m_octave)); @@ -119,6 +121,7 @@ void setNormaliseAudio(bool); void setBackgroundMode(BackgroundMode mode); void setTimeToTextMode(TimeToTextMode mode); + void setShowHMS(bool show); void setOctaveOfMiddleC(int oct); void setViewFontSize(int size); void setShowSplash(bool); @@ -156,6 +159,7 @@ int m_viewFontSize; BackgroundMode m_backgroundMode; TimeToTextMode m_timeToTextMode; + bool m_showHMS; int m_octave; bool m_showSplash; };