X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Ftext-controls%2Ftext-editor-impl.h;h=09465a818e8e2c1c45a53a8719ca442e566981ae;hb=8e781cfc4010a03a0fa065887c77c21200a8bb87;hp=2d7190b564268c9da6efc0944ec4eb7e294726ce;hpb=07bdc775bf08ac2f53c8f6a3a8856077a299959b;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/text-controls/text-editor-impl.h b/dali-toolkit/internal/controls/text-controls/text-editor-impl.h index 2d7190b..09465a8 100644 --- a/dali-toolkit/internal/controls/text-controls/text-editor-impl.h +++ b/dali-toolkit/internal/controls/text-controls/text-editor-impl.h @@ -24,11 +24,11 @@ // INTERNAL INCLUDES #include #include -#include #include #include #include #include +#include #include namespace Dali @@ -206,13 +206,6 @@ private: // Implementation void GetHandleImagePropertyValue( Property::Value& value, Text::HandleType handleType, Text::HandleImageType handleImageType ); /** - * @brief Enable or disable clipping. - * - * @param[in] size The area to clip within. - */ - void EnableClipping( const Vector2& size ); - - /** * @brief Callback when keyboard is shown/hidden. * * @param[in] keyboardShown True if keyboard is shown. @@ -235,6 +228,13 @@ private: // Implementation void OnIdleSignal(); /** + * @brief set RenderActor's position with new scrollPosition + * + * Apply updated scroll position or start scroll animation if VerticalScrollAnimation is enabled + */ + void ApplyScrollPosition(); + + /** * Construct a new TextEditor. */ TextEditor(); @@ -265,14 +265,18 @@ private: // Data Text::ControllerPtr mController; Text::RendererPtr mRenderer; Text::DecoratorPtr mDecorator; - Text::ClipperPtr mClipper; + Text::TextVerticalScrollerPtr mTextVerticalScroller; + Toolkit::Control mStencil; std::vector mClippingDecorationActors; ///< Decoration actors which need clipping. Actor mRenderableActor; CallbackBase* mIdleCallback; + float mAlignmentOffset; + float mScrollAnimationDuration; int mRenderingBackend; bool mHasBeenStaged:1; + bool mScrollAnimationEnabled:1; }; } // namespace Internal