X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Frendering%2Fatlas%2Fatlas-manager.h;h=00fdc7acd4205379a38029da1945d3fa397ce147;hb=d00a250741411c386d988e7ac34525cf94a1918e;hp=75f117a80f80d754c1c7942e68e20c79f4d68b06;hpb=a2de9cf491172cd5da9dc9ed60b17683dab6d7bc;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/rendering/atlas/atlas-manager.h b/dali-toolkit/internal/text/rendering/atlas/atlas-manager.h index 75f117a..00fdc7a 100644 --- a/dali-toolkit/internal/text/rendering/atlas/atlas-manager.h +++ b/dali-toolkit/internal/text/rendering/atlas/atlas-manager.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_ATLAS_MANAGER_H__ -#define __DALI_TOOLKIT_ATLAS_MANAGER_H__ +#ifndef DALI_TOOLKIT_ATLAS_MANAGER_H +#define DALI_TOOLKIT_ATLAS_MANAGER_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,8 +21,8 @@ #include #include #include +#include #include -#include namespace Dali { @@ -90,7 +90,7 @@ public: struct Mesh2D { Vector< Vertex2D > mVertices; ///< container of vertices - Vector< SizeType > mIndices; ///< container of indices + Vector< unsigned short > mIndices; ///< container of indices }; /** @@ -157,13 +157,13 @@ public: * If an add is made before an atlas is created under this policy, * then a default size atlas will be created * - * @param[in] image reference to a bitmapimage + * @param[in] image PixelData object containing the image data * @param[out] slot result of add operation * @param[in] atlas optional preferred atlas * * @return true if a new atlas was created */ - bool Add( const BufferImage& image, + bool Add( const PixelData& image, AtlasSlot& slot, AtlasId atlas = 0 ); @@ -196,7 +196,7 @@ public: * * @return Atlas Handle */ - Dali::Atlas GetAtlasContainer( AtlasId atlas ) const; + Dali::Texture GetAtlasContainer( AtlasId atlas ) const; /** * @brief Get the Id of the atlas containing an image @@ -283,4 +283,4 @@ private: } // namespace Dali -#endif // __DALI_TOOLKIT_ATLAS_MANAGER_H__ +#endif // DALI_TOOLKIT_ATLAS_MANAGER_H