X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fvisual-factory%2Fvisual-factory.h;h=1d6be157cb1c4e46ec96b14f1fef2fafd6533b44;hb=f0ba55645a27aee48813393867972335454beb0f;hp=26f6df360d29d58c1f84ad849eeb07ba76a520bd;hpb=2ffec8b73989656f70411ef1a99a721b6f86cd14;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/visual-factory/visual-factory.h b/dali-toolkit/devel-api/visual-factory/visual-factory.h index 26f6df3..1d6be15 100644 --- a/dali-toolkit/devel-api/visual-factory/visual-factory.h +++ b/dali-toolkit/devel-api/visual-factory/visual-factory.h @@ -19,8 +19,8 @@ */ // EXTERNAL INCLUDES -#include #include +#include #include // INTERNAL INCLUDES @@ -33,7 +33,6 @@ struct Vector4; namespace Toolkit { - namespace Internal DALI_INTERNAL { class VisualFactory; @@ -54,7 +53,6 @@ class VisualFactory; class DALI_TOOLKIT_API VisualFactory : public BaseHandle { public: - /** * @brief Create or retrieve VisualFactory singleton. * @@ -81,7 +79,7 @@ public: * * @param[in] handle A reference to the copied handle. */ - VisualFactory( const VisualFactory& handle ); + VisualFactory(const VisualFactory& handle); /** * @brief This assignment operator is required for (smart) pointer semantics. @@ -89,7 +87,7 @@ public: * @param [in] handle A reference to the copied handle. * @return A reference to this. */ - VisualFactory& operator=( const VisualFactory& handle ); + VisualFactory& operator=(const VisualFactory& handle); /** * @brief Request the visual @@ -98,7 +96,7 @@ public: * The content of the map determines the type of visual that will be returned. * @return The handle to the created visual */ - Visual::Base CreateVisual( const Property::Map& propertyMap ); + Visual::Base CreateVisual(const Property::Map& propertyMap); /** * @brief Request the visual to render the given resource at the url. @@ -107,7 +105,7 @@ public: * @param[in] size The width and height to fit the loaded image to. * @return The pointer pointing to the visual */ - Visual::Base CreateVisual( const std::string& url, ImageDimensions size ); + Visual::Base CreateVisual(const std::string& url, ImageDimensions size); /** * @brief Enable or disable premultiplying alpha in images and image visuals. @@ -119,7 +117,7 @@ public: * @param[in] preMultiply True if loaded images for image visuals should have alpha multiplied into the color * channels. */ - void SetPreMultiplyOnLoad( bool preMultiply ); + void SetPreMultiplyOnLoad(bool preMultiply); /** * @brief Get the setting for automatically pre-multiplying image visual images on load. @@ -129,9 +127,7 @@ public: bool GetPreMultiplyOnLoad() const; private: - - explicit DALI_INTERNAL VisualFactory(Internal::VisualFactory *impl); - + explicit DALI_INTERNAL VisualFactory(Internal::VisualFactory* impl); }; } // namespace Toolkit