Mercurial > hg > orthanc-stone
comparison Framework/Viewport/WidgetViewport.cpp @ 386:e33659decec5
renamed UpdateContent() as DoAnimation()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Nov 2018 17:06:28 +0100 |
parents | 6cc3ce74dc05 |
children | b70e9be013e4 |
comparison
equal
deleted
inserted
replaced
385:6cc3ce74dc05 | 386:e33659decec5 |
---|---|
245 centralWidget_->KeyPressed(key, keyChar, modifiers); | 245 centralWidget_->KeyPressed(key, keyChar, modifiers); |
246 } | 246 } |
247 } | 247 } |
248 | 248 |
249 | 249 |
250 bool WidgetViewport::HasUpdateContent() | 250 bool WidgetViewport::HasAnimation() |
251 { | 251 { |
252 if (centralWidget_.get() != NULL) | 252 if (centralWidget_.get() != NULL) |
253 { | 253 { |
254 return centralWidget_->HasUpdateContent(); | 254 return centralWidget_->HasAnimation(); |
255 } | 255 } |
256 else | 256 else |
257 { | 257 { |
258 return false; | 258 return false; |
259 } | 259 } |
260 } | 260 } |
261 | 261 |
262 | 262 |
263 void WidgetViewport::UpdateContent() | 263 void WidgetViewport::DoAnimation() |
264 { | 264 { |
265 if (centralWidget_.get() != NULL) | 265 if (centralWidget_.get() != NULL) |
266 { | 266 { |
267 centralWidget_->UpdateContent(); | 267 centralWidget_->DoAnimation(); |
268 } | 268 } |
269 } | 269 } |
270 } | 270 } |