#include <dali/public-api/signals/connection-tracker.h>
// INTERNAL INCLUDES
-#include <dali-toolkit/devel-api/styling/style-manager.h>
+#include <dali-toolkit/public-api/styling/style-manager.h>
#include <dali-toolkit/devel-api/builder/builder.h>
namespace Dali
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
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.
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
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