// EXTERNAL INCLUDES
#include <dali/public-api/object/ref-object.h>
#include <dali/public-api/object/base-object.h>
-#include <dali/integration-api/platform-abstraction.h>
+#include <dali/devel-api/text-abstraction/font-client.h>
// INTERNAL INCLUDES
#include <style-monitor.h>
/**
* Constructor.
- * @param[in] platformAbstraction The platform abstraction.
*/
- StyleMonitor(Integration::PlatformAbstraction& platformAbstraction);
+ StyleMonitor();
/**
* Retrieve the initialized instance of the StyleMonitor.
* Informs the Style Monitor that the style has changed.
* @param[in] styleChange The details of the change.
*/
- void StyleChanged(StyleChange styleChange);
+ void StyleChanged( StyleChange::Type styleChange );
// Style Information
* Emit the style change signal.
* @param[in] styleChange The details of the style change
*/
- inline void EmitStyleChangeSignal(StyleChange styleChange);
+ inline void EmitStyleChangeSignal( StyleChange::Type styleChange );
private:
Dali::StyleMonitor::StyleChangeSignalType mStyleChangeSignal; ///< Emitted when the style changes
- Integration::PlatformAbstraction& mPlatformAbstraction; ///< Reference to the PlatformAbstraction (for retrieving defaults)
-
- std::string mDefaultFontFamily; ///< The default font family
+ TextAbstraction::FontClient mFontClient;
+ std::string mDefaultFontFamily; ///< The system default font family
std::string mDefaultFontStyle; ///< The default font style
std::string mUserDefinedThemeFilePath; ///< String containing the user defined theme file path
int mDefaultFontSize; ///< The default accessibility font size e.g. 0 is smallest