Fix for problem in rendering, when removing and then re-adding a text control to...
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / text-controls / text-label-impl.h
index 87ca9f8..37e531c 100644 (file)
@@ -130,6 +130,14 @@ private:
   TextLabel(const TextLabel&);
   TextLabel& operator=(const TextLabel& rhs);
 
+  // Connection needed to re-render text, when a Text Label returns to the stage
+  void OnStageConnect( Dali::Actor actor );
+
+  /**
+   * @brief Render view, create and attach actor(s) to this Text Label
+   */
+  void RenderText();
+
 private: // Data
 
   Text::ControllerPtr mController;
@@ -137,6 +145,7 @@ private: // Data
   Actor mRenderableActor;
   int mRenderingBackend;
   unsigned int mDepth;
+  bool mHasBeenStaged:1;
 };
 
 } // namespace Internal