X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fstyling%2Fstyle-manager-impl.h;h=aa514eab101ddd3f38d82d91ad54ee73578819b8;hb=f781537e1453775663bb7f89adb495957dfa61ef;hp=f0c217c1d2ea51d17ea88366432b93694105bbe1;hpb=24d1c5037a28d3b8e9094dbb65630687e079705a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/styling/style-manager-impl.h b/dali-toolkit/internal/styling/style-manager-impl.h index f0c217c..aa514ea 100644 --- a/dali-toolkit/internal/styling/style-manager-impl.h +++ b/dali-toolkit/internal/styling/style-manager-impl.h @@ -29,6 +29,7 @@ // INTERNAL INCLUDES #include #include +#include namespace Dali { @@ -67,7 +68,7 @@ protected: public: // Public API -/** + /** * @copydoc Toolkit::StyleManager::ApplyTheme */ void ApplyTheme( const std::string& themeFile ); @@ -111,6 +112,13 @@ public: // Public API */ void ApplyStyle( Toolkit::Control control, const std::string& jsonFileName, const std::string& styleName ); + /** + * Get the state/style information for the given control + * @param[in] control The control to get state information for + * @return The style information (or empty ptr if not found) + */ + const StylePtr GetRecordedStyle( Toolkit::Control control ); + public: // SIGNALS @@ -164,24 +172,6 @@ private: bool LoadJSON( Toolkit::Builder builder, const std::string& jsonFileName ); /** - * @brief Collect qualifiers (e.g. Landscape, portrait etc) for a given style - * - * @param[in,out] qualifiersOut The list to populate with qualifiers - */ - void CollectQualifiers( StringList& qualifiersOut ); - - /** - * @brief Construct a qualified style name out of qualifiers - * - * A qualifed style name will be in the format: style-qualifier0-qualifier1-qualifierN - * - * @param[in] styleName The root name of the style - * @param[in] qualifiers List of qualifier names - * @param[out] qualifiedStyleOut The qualified style name - */ - void BuildQualifiedStyleName( const std::string& styleName, const StringList& qualifiers, std::string& qualifiedStyleOut ); - - /** * @brief Apply a style to the control using the given builder * * @param[in] builder The builder to apply the style from