X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fbuttons%2Fbutton-impl.h;h=8b1417c85306aadaf8cb30992732ac08700d5ff0;hb=59314022f6789147a47a8b098433e211b6185625;hp=a079cd5a2e9032b9541c1e3c453e0cfa35071499;hpb=72ea28bfe5df526ce47369c36edf1390641fff5a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/buttons/button-impl.h b/dali-toolkit/internal/controls/buttons/button-impl.h index a079cd5..8b1417c 100644 --- a/dali-toolkit/internal/controls/buttons/button-impl.h +++ b/dali-toolkit/internal/controls/buttons/button-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_BUTTON_H /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -149,13 +149,13 @@ public: std::string GetLabelText() const; /** - * @brief Produces a Property::Map of Text properties to create a Text Visual + * @brief Produces a Property::Map of Text properties to create a Text Visual, merging existing properties with supplied map * 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. + * @param[out] properties A Property::Map of text visual properties to set after merging inMap with existing maps */ - void MergeLabelProperties( const Property::Map& inMap, Property::Map& outMap ); + void MergeWithExistingLabelProperties( const Property::Map& inMap, Property::Map& outMap ); /** * Performs actions as requested using the action name. @@ -588,7 +588,7 @@ protected: * @param[in] value the value to set on the component * @param[in] visualDepth the depth of the visual if overlapping another */ - void CreateVisualsForComponent( Property::Index index ,const Property::Value& value, const float visualDepth ); + void CreateVisualsForComponent( Property::Index index, const Property::Value& value, const int visualDepth ); /** * @brief Get the Property map for the given Visual @@ -680,6 +680,11 @@ private: // Actions bool mClickActionPerforming; ///< Used to manage signal emissions during action + + // Deprecated API support + Image mSetButtonImage; ///< Store set image if deprecated SetButtonImage used. + Image mSetSelectedImage; ///< Store set image if deprecated SetSelectedImage used. + }; } // namespace Internal