Mercurial > hg > orthanc-stone
comparison Framework/Viewport/WidgetViewport.cpp @ 66:298f375dcb68 wasm
LayerWidget
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 May 2017 22:03:09 +0200 |
parents | ca644004d2ee |
children | 02c3a7a4938f |
comparison
equal
deleted
inserted
replaced
65:885932a893de | 66:298f375dcb68 |
---|---|
72 { | 72 { |
73 centralWidget_->SetStatusBar(*statusBar_); | 73 centralWidget_->SetStatusBar(*statusBar_); |
74 } | 74 } |
75 | 75 |
76 backgroundChanged_ = true; | 76 backgroundChanged_ = true; |
77 observers_.NotifyChange(this); | |
77 | 78 |
78 return *widget; | 79 return *widget; |
79 } | 80 } |
80 | 81 |
81 | 82 |
262 if (centralWidget_.get() != NULL) | 263 if (centralWidget_.get() != NULL) |
263 { | 264 { |
264 centralWidget_->UpdateContent(); | 265 centralWidget_->UpdateContent(); |
265 } | 266 } |
266 } | 267 } |
268 | |
269 | |
270 void WidgetViewport::Start() | |
271 { | |
272 if (centralWidget_.get() != NULL) | |
273 { | |
274 centralWidget_->Start(); | |
275 } | |
276 } | |
267 } | 277 } |