X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fstyling%2Fstyle-manager-impl.h;h=ab5e24d2ef73fb33eb9cd93323d782f857a81743;hp=c612f7d32800cb2f718a3e46c21c63886b166c34;hb=9fd0114ee708e9c197cc539b09acc6b8eaaf1c61;hpb=73d239b4c5c2c4a558cbaf44bdcc744c8f497c14 diff --git a/dali-toolkit/internal/styling/style-manager-impl.h b/dali-toolkit/internal/styling/style-manager-impl.h index c612f7d..ab5e24d 100644 --- a/dali-toolkit/internal/styling/style-manager-impl.h +++ b/dali-toolkit/internal/styling/style-manager-impl.h @@ -38,6 +38,9 @@ namespace Toolkit namespace Internal { + +class FeedbackStyle; + /** * @copydoc Toolkit::StyleManager */ @@ -78,6 +81,11 @@ public: Orientation GetOrientation(); /** + * @copydoc Toolkit::StyleManager::GetDefaultFontFamily + */ + std::string GetDefaultFontFamily() const; + + /** * @copydoc Toolkit::StyleManager::SetStyleConstant */ void SetStyleConstant( const std::string& key, const Property::Value& value ); @@ -111,6 +119,13 @@ public: void ApplyThemeStyle( Toolkit::Control control ); /** + * @brief Apply the theme style to a control at initialization. + * + * @param[in] control The control to apply style. + */ + void ApplyThemeStyleAtInit( Toolkit::Control control ); + + /** * @copydoc Toolkit::StyleManager::ApplyStyle */ void ApplyStyle( Toolkit::Control control, const std::string& jsonFileName, const std::string& styleName ); @@ -244,6 +259,8 @@ private: int mDefaultFontSize; ///< Logical size, not a point-size + std::string mDefaultFontFamily; + std::string mThemeFile; ///< The full path of the current theme file Property::Map mThemeBuilderConstants; ///< Contants to give the theme builder @@ -251,6 +268,8 @@ private: BuilderMap mBuilderCache; ///< Cache of builders keyed by JSON file name + Toolkit::Internal::FeedbackStyle* mFeedbackStyle; ///< Feedback style + // Signals Toolkit::StyleManager::StyleChangeSignalType mStyleChangeSignal; ///< Emitted when the style( theme/font ) changes };