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-field-impl.h
index 4700530..6fdab15 100644 (file)
@@ -205,6 +205,14 @@ private: // Implementation
   TextField(const TextField&);
   TextField& operator=(const TextField& rhs);
 
+  /**
+   * @brief Render view, create and attach actor(s) to this Text Field.
+   */
+  void RenderText();
+
+  // Connection needed to re-render text, when a Text Field returns to the stage.
+  void OnStageConnect( Dali::Actor actor );
+
 private: // Data
 
   // Signals
@@ -221,6 +229,7 @@ private: // Data
   int mRenderingBackend;
   int mExceedPolicy;
   unsigned int mDepth;
+  bool mHasBeenStaged:1;
 };
 
 } // namespace Internal