X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-label-impl.h;h=ae88beb1a00759ad1bbd7bf442e72f8a59bb8643;hb=0b168b2809db16cbcc82378fd4b031ba3fde3113;hp=12dc56e2e5c272e7c9d0d5447706f2a531c71142;hpb=0a602bfd2ebfc87655895aaaabecce8de5c12d33;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/text-controls/text-label-impl.h b/dali-toolkit/internal/controls/text-controls/text-label-impl.h index 12dc56e..ae88beb 100644 --- a/dali-toolkit/internal/controls/text-controls/text-label-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-label-impl.h @@ -95,7 +95,12 @@ private: // From Control /** * @copydoc Text::ControlInterface::AddDecoration() */ - virtual void AddDecoration( Actor& actor ); + virtual void AddDecoration( Actor& actor, bool needsClipping ); + + /** + * @copydoc Control::OnStageConnection() + */ + virtual void OnStageConnection( int depth ); /** * @copydoc Text::ControlInterface::RequestTextRelayout() @@ -130,13 +135,21 @@ 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; Text::RendererPtr mRenderer; - RenderableActor mRenderableActor; - + Actor mRenderableActor; int mRenderingBackend; + bool mHasBeenStaged:1; }; } // namespace Internal