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=0eec8917250cb9457ec7977dd8530180fad47abc;hp=86c6d4c3e341c30bd26228a70adeea6ac82afd02;hb=c04d1be7d4dec47c2274160833021aafe10f720d;hpb=e48daf4e855cbe98647a6c1d5ca54e1d706cf3da diff --git a/dali-toolkit/internal/styling/style-manager-impl.h b/dali-toolkit/internal/styling/style-manager-impl.h index 86c6d4c..0eec891 100644 --- a/dali-toolkit/internal/styling/style-manager-impl.h +++ b/dali-toolkit/internal/styling/style-manager-impl.h @@ -47,7 +47,6 @@ class FeedbackStyle; class StyleManager : public Dali::BaseObject, public ConnectionTracker { public: - /** * Singleton access * @@ -60,6 +59,14 @@ public: */ StyleManager(); +protected: + /** + * @brief Destructor + */ + virtual ~StyleManager(); + +public: // Public API + /** * @copydoc Toolkit::StyleManager::SetOrientationValue */ @@ -81,6 +88,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 ); @@ -101,12 +113,6 @@ public: void RequestDefaultTheme(); /** - * Determine if a theme change has been requested - * @return Whether a theme request is pending - */ - bool IsThemeRequestPending(); - - /** * @brief Apply the theme style to a control. * * @param[in] control The control to apply style. @@ -133,25 +139,14 @@ public: */ Toolkit::StyleManager::StyleChangeSignalType& StyleChangeSignal(); -protected: - - /** - * @brief Destructor - */ - virtual ~StyleManager(); - - -public: +private: + typedef std::vector StringList; /** * @brief Set the current theme. Called only once per event processing cycle. */ void SetTheme(); -private: - - typedef std::vector StringList; - /** * @brief Internal helper method to read a file from file system. * @param filename The name of the file to read. @@ -254,6 +249,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 @@ -292,4 +289,3 @@ inline const Internal::StyleManager& GetImpl( const Dali::Toolkit::StyleManager& } // namespace Dali #endif // __DALI_TOOLKIT_INTERNAL_STYLE_MANAGER_H__ -