Mercurial > hg > orthanc-stone
diff Framework/StoneEnumerations.cpp @ 589:3080ec4ec6b9
removed enum value: ImageWindowing_Default
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 25 Apr 2019 14:00:55 +0200 |
parents | 9e61b0ac12f1 |
children | 2eeb5857eb43 |
line wrap: on
line diff
--- a/Framework/StoneEnumerations.cpp Thu Apr 25 13:54:42 2019 +0200 +++ b/Framework/StoneEnumerations.cpp Thu Apr 25 14:00:55 2019 +0200 @@ -48,14 +48,14 @@ void ComputeWindowing(float& targetCenter, float& targetWidth, ImageWindowing windowing, - float defaultCenter, - float defaultWidth) + float customCenter, + float customWidth) { switch (windowing) { - case ImageWindowing_Default: - targetCenter = defaultCenter; - targetWidth = defaultWidth; + case ImageWindowing_Custom: + targetCenter = customCenter; + targetWidth = customWidth; break; case ImageWindowing_Bone: