X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fstyling%2Fstyle-manager-impl.h;h=f0c217c1d2ea51d17ea88366432b93694105bbe1;hb=3f8b8fcfaa2f6fa18a5d8b6d9f86d0960f0bfdd1;hp=283cf9621f2e2445f361ff7e626edefba1273a88;hpb=f15d6d9faf301bfbc0bdc7dfc9716dc665e76d2a;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 283cf96..f0c217c 100644 --- a/dali-toolkit/internal/styling/style-manager-impl.h +++ b/dali-toolkit/internal/styling/style-manager-impl.h @@ -27,7 +27,7 @@ #include // INTERNAL INCLUDES -#include +#include #include namespace Dali @@ -67,30 +67,20 @@ protected: public: // Public API - /** - * @copydoc Toolkit::StyleManager::SetOrientationValue - */ - void SetOrientationValue( int orientation ); - - /** - * @copydoc Toolkit::StyleManager::GetOrientationValue - */ - int GetOrientationValue(); - - /** - * @copydoc Toolkit::StyleManager::SetOrientation( Orientation orientation ) +/** + * @copydoc Toolkit::StyleManager::ApplyTheme */ - void SetOrientation( Orientation orientation ); + void ApplyTheme( const std::string& themeFile ); /** - * @copydoc Toolkit::StyleManager::GetOrientation + * @copydoc Toolkit::StyleManager::ApplyDefaultTheme */ - Orientation GetOrientation(); + void ApplyDefaultTheme(); /** * @copydoc Toolkit::StyleManager::GetDefaultFontFamily */ - std::string GetDefaultFontFamily() const; + const std::string& GetDefaultFontFamily() const; /** * @copydoc Toolkit::StyleManager::SetStyleConstant @@ -103,16 +93,6 @@ public: // Public API bool GetStyleConstant( const std::string& key, Property::Value& valueOut ); /** - * @copydoc Toolkit::StyleManager::RequestThemeChange - */ - void RequestThemeChange( const std::string& themeFile ); - - /** - * @copydoc Toolkit::StyleManager::RequestDefaultTheme - */ - void RequestDefaultTheme(); - - /** * @brief Apply the theme style to a control. * * @param[in] control The control to apply style. @@ -210,13 +190,6 @@ private: void ApplyStyle( Toolkit::Builder builder, Toolkit::Control control ); /** - * @brief Callback for orientation changes - * - * @param[in] orientation The orientation object - */ - void OnOrientationChanged( Orientation orientation ); - - /** * Search for a builder in the cache * * @param[in] key The key the builder was cached under @@ -259,9 +232,6 @@ private: Toolkit::Builder mThemeBuilder; ///< Builder for all default theme properties StyleMonitor mStyleMonitor; ///< Style monitor handle - Orientation mOrientation; ///< Handle to application orientation object - int mOrientationDegrees; ///< Directly set value of orientation - int mDefaultFontSize; ///< Logical size, not a point-size std::string mDefaultFontFamily; std::string mThemeFile; ///< The full path of the current theme file