Mercurial > hg > orthanc-stone
comparison Framework/Viewport/WidgetViewport.cpp @ 318:3a4ca166fafa am-2
ImageAccessor refactoring + implemented Image Cache in SmartLoader
author | am@osimis.io |
---|---|
date | Mon, 08 Oct 2018 17:10:08 +0200 |
parents | 8a86695fcbc3 |
children | 8716176ff7f0 |
comparison
equal
deleted
inserted
replaced
317:b66d13708f40 | 318:3a4ca166fafa |
---|---|
106 if (centralWidget_.get() == NULL) | 106 if (centralWidget_.get() == NULL) |
107 { | 107 { |
108 return false; | 108 return false; |
109 } | 109 } |
110 | 110 |
111 Orthanc::ImageAccessor background = background_.GetAccessor(); | 111 Orthanc::ImageAccessor background; |
112 background_.GetAccessor(background); | |
112 | 113 |
113 if (backgroundChanged_ && | 114 if (backgroundChanged_ && |
114 !centralWidget_->Render(background)) | 115 !centralWidget_->Render(background)) |
115 { | 116 { |
116 return false; | 117 return false; |