Mercurial > hg > orthanc-stone
comparison Framework/Deprecated/Viewport/WidgetViewport.cpp @ 1131:4663f158c748
RadiographyWidget is now notified when a layer is removed from the scene
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 06 Nov 2019 10:46:46 +0100 |
parents | c35e98d22764 |
children | 1a73f852810a 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
1119:6bc766eab0de | 1131:4663f158c748 |
---|---|
114 if (backgroundChanged_ && | 114 if (backgroundChanged_ && |
115 !centralWidget_->Render(background)) | 115 !centralWidget_->Render(background)) |
116 { | 116 { |
117 return false; | 117 return false; |
118 } | 118 } |
119 | 119 |
120 if (background.GetWidth() != surface.GetWidth() || | 120 if (background.GetWidth() != surface.GetWidth() || |
121 background.GetHeight() != surface.GetHeight()) | 121 background.GetHeight() != surface.GetHeight()) |
122 { | 122 { |
123 return false; | 123 return false; |
124 } | 124 } |