Mercurial > hg > orthanc-stone
comparison Framework/Widgets/LayoutWidget.cpp @ 278:8a86695fcbc3 am-2
renamings
author | am@osimis.io |
---|---|
date | Mon, 27 Aug 2018 14:58:37 +0200 |
parents | f21ba2468570 |
children | 3a4ca166fafa |
comparison
equal
deleted
inserted
replaced
277:a38465cc909f | 278:8a86695fcbc3 |
---|---|
259 boost::math::iround(bottom - top)); | 259 boost::math::iround(bottom - top)); |
260 } | 260 } |
261 } | 261 } |
262 } | 262 } |
263 | 263 |
264 NotifyChange(*this); | 264 NotifyContentChanged(*this); |
265 } | 265 } |
266 | 266 |
267 | 267 |
268 LayoutWidget::LayoutWidget(const std::string& name) : | 268 LayoutWidget::LayoutWidget(const std::string& name) : |
269 WidgetBase(name), | 269 WidgetBase(name), |
295 children_[i]->GetWidget().SetDefaultView(); | 295 children_[i]->GetWidget().SetDefaultView(); |
296 } | 296 } |
297 } | 297 } |
298 | 298 |
299 | 299 |
300 void LayoutWidget::NotifyChange(const IWidget& widget) | 300 void LayoutWidget::NotifyContentChanged(const IWidget& widget) |
301 { | 301 { |
302 // One of the children has changed | 302 // One of the children has changed |
303 WidgetBase::NotifyChange(); | 303 WidgetBase::NotifyContentChanged(); |
304 } | 304 } |
305 | 305 |
306 | 306 |
307 void LayoutWidget::SetHorizontal() | 307 void LayoutWidget::SetHorizontal() |
308 { | 308 { |