diff base/Preferences.cpp @ 142:0ba66b160a02

* Add frequency plot to window shape preference -- just because... * Fix some window shapes
author Chris Cannam
date Mon, 24 Jul 2006 14:36:35 +0000
parents 4f26f623a8bc
children 82f529a08cf3
line wrap: on
line diff
--- a/base/Preferences.cpp	Fri Jul 21 16:03:42 2006 +0000
+++ b/base/Preferences.cpp	Mon Jul 24 14:36:35 2006 +0000
@@ -93,7 +93,7 @@
 
     if (name == "Window Type") {
         if (min) *min = int(RectangularWindow);
-        if (max) *max = int(ParzenWindow);
+        if (max) *max = int(BlackmanHarrisWindow);
         return int(m_windowType);
     }
 
@@ -117,6 +117,8 @@
         case BlackmanWindow: return tr("Blackman");
         case GaussianWindow: return tr("Gaussian");
         case ParzenWindow: return tr("Parzen");
+        case NuttallWindow: return tr("Nuttall");
+        case BlackmanHarrisWindow: return tr("Blackman-Harris");
         }
     }
     return "";