comparison 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
comparison
equal deleted inserted replaced
141:4f26f623a8bc 142:0ba66b160a02
91 return m_propertyBoxLayout == Layered ? 1 : 0; 91 return m_propertyBoxLayout == Layered ? 1 : 0;
92 } 92 }
93 93
94 if (name == "Window Type") { 94 if (name == "Window Type") {
95 if (min) *min = int(RectangularWindow); 95 if (min) *min = int(RectangularWindow);
96 if (max) *max = int(ParzenWindow); 96 if (max) *max = int(BlackmanHarrisWindow);
97 return int(m_windowType); 97 return int(m_windowType);
98 } 98 }
99 99
100 return 0; 100 return 0;
101 } 101 }
115 case HammingWindow: return tr("Hamming"); 115 case HammingWindow: return tr("Hamming");
116 case HanningWindow: return tr("Hanning"); 116 case HanningWindow: return tr("Hanning");
117 case BlackmanWindow: return tr("Blackman"); 117 case BlackmanWindow: return tr("Blackman");
118 case GaussianWindow: return tr("Gaussian"); 118 case GaussianWindow: return tr("Gaussian");
119 case ParzenWindow: return tr("Parzen"); 119 case ParzenWindow: return tr("Parzen");
120 case NuttallWindow: return tr("Nuttall");
121 case BlackmanHarrisWindow: return tr("Blackman-Harris");
120 } 122 }
121 } 123 }
122 return ""; 124 return "";
123 } 125 }
124 126