X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Ftext%2Ftext-visual.h;h=7cee7bf5374c7798941c7b14c1d472ab5f2fcf3c;hp=b345c76728131e7330779bddc5b75dc2a4a81742;hb=0b4c2e43605425eb9f676824515370f541712d3f;hpb=a2519d330569f4898996dfcc74b8d30433bace42 diff --git a/dali-toolkit/internal/visuals/text/text-visual.h b/dali-toolkit/internal/visuals/text/text-visual.h index b345c76..7cee7bf 100644 --- a/dali-toolkit/internal/visuals/text/text-visual.h +++ b/dali-toolkit/internal/visuals/text/text-visual.h @@ -18,13 +18,9 @@ * */ -// EXTERNAL INCLUDES -#include -#include - // INTERNAL INCLUDES #include -#include +#include #include namespace Dali @@ -128,37 +124,34 @@ protected: virtual void DoSetOffStage( Actor& actor ); /** - *@copydoc Visual::Base::DoSetProperty + * @copydoc Visual::Base::OnSetTransform */ - virtual void DoSetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue ); + virtual void OnSetTransform(); +private: /** - * @copydoc Visual::Base::DoGetProperty + * @brief Set the individual property to the given value. + * + * @param[in] index The index key used to reference this value within the initial property map. + * + * @param[in] propertyValue The value to set. */ - virtual Dali::Property::Value DoGetProperty( Dali::Property::Index index ); + void DoSetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue ); /** - * @copydoc Visual::Base::OnSetTransform + * @brief Updates the text's renderer. */ - virtual void OnSetTransform(); - -private: + void UpdateRenderer(); /** - * @brief Render view, create and attach actor(s) to this TextView. - * @todo In a next patch a new text render back-end won't add extra actors. + * @brief Removes the texture set from the renderer. */ - void RenderText(); + void RemoveTextureSet(); private: - Text::ControllerPtr mController; ///< The text's controller. - WeakHandle mSelf; - - Text::RendererPtr mRenderer; - Actor mRenderableActor; - - int mRenderingBackend; - bool mHasBeenStaged : 1; + Text::ControllerPtr mController; ///< The text's controller. + Text::TypesetterPtr mTypesetter; ///< The text's typesetter. + WeakHandle mControl; ///< The control where the renderer is added. }; } // namespace Internal