X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-factory-impl.h;h=0e4dcb4bd2bed6ef5bd822d12004d7ba1eed2c5c;hb=3ad20543558830da2b46ec83e3be4f8daf77add0;hp=999a0c40daf7913ab39b41db1c6e2a28482b4f33;hpb=30ae04d70a9a93e49163a5cec2efafd32fc678b5;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/visual-factory-impl.h b/dali-toolkit/internal/visuals/visual-factory-impl.h index 999a0c4..0e4dcb4 100644 --- a/dali-toolkit/internal/visuals/visual-factory-impl.h +++ b/dali-toolkit/internal/visuals/visual-factory-impl.h @@ -24,6 +24,8 @@ #include #include #include +#include +#include namespace Dali { @@ -35,6 +37,7 @@ namespace Internal { class VisualFactoryCache; +class ImageVisualShaderFactory; /** * @copydoc Toolkit::VisualFactory @@ -51,6 +54,14 @@ public: VisualFactory( bool debugEnabled ); /** + * @brief StyleChanged callback + * + * @param[in] styleManager Handle for style manager. + * @param[in] type Style change type. + */ + void OnStyleChangedSignal( Toolkit::StyleManager styleManager, StyleChange::Type type ); + + /** * @copydoc Toolkit::VisualFactory::CreateVisual( const Property::Map& ) */ Toolkit::Visual::Base CreateVisual( const Property::Map& propertyMap ); @@ -93,14 +104,21 @@ private: */ Internal::VisualFactoryCache& GetFactoryCache(); + /** + * Get the image visual shader factory, creating it if necessary. + */ + ImageVisualShaderFactory& GetImageVisualShaderFactory(); + VisualFactory(const VisualFactory&) = delete; VisualFactory& operator=(const VisualFactory& rhs) = delete; private: - std::unique_ptr mFactoryCache; - bool mDebugEnabled:1; - bool mPreMultiplyOnLoad:1; ///< Local store for this flag + std::unique_ptr< VisualFactoryCache > mFactoryCache; + std::unique_ptr< ImageVisualShaderFactory > mImageVisualShaderFactory; + SlotDelegate< VisualFactory > mSlotDelegate; + bool mDebugEnabled:1; + bool mPreMultiplyOnLoad:1; ///< Local store for this flag }; /**