X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Fvisuals%2Ftext%2Ftext-visual.h;h=5ce01ed2645f0e36619c19d4f15214dd357d0720;hb=dc256c60aaab03a8d7319b9257549d32f6a5b22d;hp=3e3791ef1f1a45e0ac41bf85ced8e2c0b82e4951;hpb=5e04f7584e88f851481db93078a22100bbf88015;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/text/text-visual.h b/dali-toolkit/internal/visuals/text/text-visual.h index 3e3791e..5ce01ed 100644 --- a/dali-toolkit/internal/visuals/text/text-visual.h +++ b/dali-toolkit/internal/visuals/text/text-visual.h @@ -71,16 +71,17 @@ public: * @brief Create a new text visual. * * @param[in] factoryCache A pointer pointing to the VisualFactoryCache object + * @param[in] properties A Property::Map containing settings for this visual * @return A smart-pointer to the newly allocated visual. */ - static TextVisualPtr New( VisualFactoryCache& factoryCache ); + static TextVisualPtr New( VisualFactoryCache& factoryCache, const Property::Map& properties ); public: // from Visual::Base /** * @copydoc Visual::Base::GetHeightForWidth() */ - virtual float GetHeightForWidth( float width ) const; + virtual float GetHeightForWidth( float width ); /** * @copydoc Visual::Base::GetNaturalSize() @@ -129,24 +130,24 @@ protected: virtual void OnSetTransform(); private: - /** - * 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 + * @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. */ void DoSetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue ); /** - * @brief Creates the text's renderer. + * @brief Updates the text's renderer. */ - void CreateRenderer(); + void UpdateRenderer(); /** - * @brief Destroys the text's renderer. + * @brief Removes the texture set from the renderer. */ - void DestroyRenderer(); + void RemoveTextureSet(); private: Text::ControllerPtr mController; ///< The text's controller.