diff Framework/Widgets/LayoutWidget.cpp @ 386:e33659decec5

renamed UpdateContent() as DoAnimation()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Nov 2018 17:06:28 +0100
parents 557c8ff1db5c
children b70e9be013e4
line wrap: on
line diff
--- a/Framework/Widgets/LayoutWidget.cpp	Wed Nov 07 20:49:41 2018 +0100
+++ b/Framework/Widgets/LayoutWidget.cpp	Fri Nov 09 17:06:28 2018 +0100
@@ -92,11 +92,11 @@
       SetEmpty();
     }
 
-    void UpdateContent()
+    void DoAnimation()
     {
-      if (widget_->HasUpdateContent())
+      if (widget_->HasAnimation())
       {
-        widget_->UpdateContent();
+        widget_->DoAnimation();
       }
     }
 
@@ -362,9 +362,9 @@
 
     ComputeChildrenExtents();
 
-    if (widget->HasUpdateContent())
+    if (widget->HasAnimation())
     {
-      hasUpdateContent_ = true;
+      hasAnimation_ = true;
     }
 
     return *widget;
@@ -462,13 +462,13 @@
   }
 
   
-  void LayoutWidget::UpdateContent()
+  void LayoutWidget::DoAnimation()
   {
-    if (hasUpdateContent_)
+    if (hasAnimation_)
     {
       for (size_t i = 0; i < children_.size(); i++)
       {
-        children_[i]->UpdateContent();
+        children_[i]->DoAnimation();
       }
     }
     else