Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/GrayscaleStyleConfigurator.cpp @ 1063:3e8f59cefec6 broker
integration mainline->broker
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Oct 2019 12:22:44 +0200 |
parents | eb28dfe432f7 |
children | ba9db2ad317c b5dec783ba08 |
comparison
equal
deleted
inserted
replaced
1060:e146743f6cdc | 1063:3e8f59cefec6 |
---|---|
39 SetWindowing(ImageWindowing_Custom); | 39 SetWindowing(ImageWindowing_Custom); |
40 customWindowCenter_ = windowCenter; | 40 customWindowCenter_ = windowCenter; |
41 customWindowWidth_ = windowWidth; | 41 customWindowWidth_ = windowWidth; |
42 } | 42 } |
43 | 43 |
44 void GrayscaleStyleConfigurator::GetCustomWindowing(float& windowCenter, float& windowWidth) const | |
45 { | |
46 windowCenter = customWindowCenter_; | |
47 windowWidth = customWindowWidth_; | |
48 } | |
44 | 49 |
45 void GrayscaleStyleConfigurator::SetInverted(bool inverted) | 50 void GrayscaleStyleConfigurator::SetInverted(bool inverted) |
46 { | 51 { |
47 inverted_ = inverted; | 52 inverted_ = inverted; |
48 revision_++; | 53 revision_++; |