X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-label-impl.h;h=b9f3bf8290ce4c1ef7d46bf8b3c64edcf089336d;hb=7a468f3e7d88baee85125d11e8f02e1f24b273d3;hp=f15acbf70c5874f52e30dc18019e3f207e3c3ad5;hpb=51bd29a1b76ba44dd3b0cc34db1193ab83fa7661;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 old mode 100644 new mode 100755 index f15acbf..b9f3bf8 --- a/dali-toolkit/internal/controls/text-controls/text-label-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-label-impl.h @@ -18,6 +18,9 @@ * */ +// EXTERNAL INCLUDES +#include + // INTERNAL INCLUDES #include #include @@ -26,6 +29,8 @@ #include #include #include +#include + namespace Dali { @@ -114,6 +119,13 @@ private: // from TextScroller */ virtual void ScrollingFinished(); + /** + * @brief Callbacks when the layout direction changes + * @param[in] actor The actor whose layoutDirection is changed. + * @param[in] type The layoutDirection. + */ + void OnLayoutDirectionChanged( Dali::Actor actor, Dali::LayoutDirection::Type type ); + private: // Implementation /** @@ -132,14 +144,6 @@ 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(); - /** * @brief Set up Autoscrolling */ @@ -148,11 +152,12 @@ private: private: // Data Text::ControllerPtr mController; - Text::RendererPtr mRenderer; Text::TextScrollerPtr mTextScroller; - Actor mRenderableActor; + + Toolkit::Visual::Base mVisual; + int mRenderingBackend; - bool mHasBeenStaged:1; + bool mTextUpdateNeeded:1; }; } // namespace Internal