X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbuttons%2Fbutton-impl.h;h=dc123cc3d48a955558626d08fc298f3912acd020;hp=b3488ea2f61daf545a9a5cc226d1c32ef83f4e6a;hb=863244a09761c6e22a224299b6155a285e21d6ec;hpb=2bb866335dd821778de0b7245b6d04c814f82efc diff --git a/dali-toolkit/internal/controls/buttons/button-impl.h b/dali-toolkit/internal/controls/buttons/button-impl.h index b3488ea..dc123cc 100644 --- a/dali-toolkit/internal/controls/buttons/button-impl.h +++ b/dali-toolkit/internal/controls/buttons/button-impl.h @@ -149,12 +149,13 @@ public: std::string GetLabelText() const; /** - * @brief Sets the specified properties on the button label. + * @brief Produces a Property::Map of Text properties to create a Text Visual * If the label does not exist yet, it is created. * The derived buttons are notified if any properties are changed. * @param[in] properties A Property::Map of key-value pairs of properties to set. + * @param[out] properties A Property::Map of text visual properties to set. */ - void SetupLabel( const Property::Map& properties ); + void MergeLabelProperties( const Property::Map& inMap, Property::Map& outMap ); /** * Performs actions as requested using the action name. @@ -590,6 +591,13 @@ protected: void CreateVisualsForComponent( Property::Index index ,const Property::Value& value, const float visualDepth ); /** + * @brief Get the Property map for the given Visual + * @param[in] visualIndex visual index of the required visual + * @param[out] retreivedMap the property map used to construct the required visual + * @return bool success flag, true if visual found + */ + bool GetPropertyMapForVisual( Property::Index visualIndex, Property::Map& retreivedMap ) const; + /** * Returns the animation to be used for transition, creating the animation if needed. * @return The initialised transition animation. */ @@ -659,6 +667,8 @@ private: bool mAutoRepeating; ///< Stores the autorepeating property. bool mTogglableButton; ///< Stores the togglable property as a flag. + bool mTextStringSetFlag; ///< Stores if text has been set. Required in relayout but don't want to calculate there. + float mInitialAutoRepeatingDelay; ///< Stores the initial autorepeating delay in seconds. float mNextAutoRepeatingDelay; ///< Stores the next autorepeating delay in seconds.