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=86c6d4c3e341c30bd26228a70adeea6ac82afd02;hp=09d0c13d1b4675e7cb649838520425a8ba62f3c1;hb=4f1a814c47a80f11892a6a887cd98099a2eace09;hpb=7aa9e3d716396348b89c913b306bbc1ce201db69 diff --git a/dali-toolkit/internal/styling/style-manager-impl.h b/dali-toolkit/internal/styling/style-manager-impl.h index 09d0c13..86c6d4c 100644 --- a/dali-toolkit/internal/styling/style-manager-impl.h +++ b/dali-toolkit/internal/styling/style-manager-impl.h @@ -19,16 +19,16 @@ // EXTERNAL INCLUDES #include -#include -#include -#include +#include +#include +#include #include #include #include // INTERNAL INCLUDES -#include -#include +#include +#include namespace Dali { @@ -38,6 +38,9 @@ namespace Toolkit namespace Internal { + +class FeedbackStyle; + /** * @copydoc Toolkit::StyleManager */ @@ -111,6 +114,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 ); @@ -140,7 +150,7 @@ public: private: - typedef std::list StringList; + typedef std::vector StringList; /** * @brief Internal helper method to read a file from file system. @@ -222,9 +232,9 @@ private: * Callback for when style monitor raises a signal * * @param[in] styleMonitor The style monitor object - * @param[in] styleChange The style change data + * @param[in] styleChange The style change type */ - void StyleMonitorChange( StyleMonitor styleMonitor, StyleChange styleChange ); + void StyleMonitorChange( StyleMonitor styleMonitor, StyleChange::Type styleChange ); // Undefined StyleManager(const StyleManager&); @@ -237,6 +247,7 @@ private: typedef std::map< std::string, Toolkit::Builder > BuilderMap; 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 @@ -250,6 +261,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 };