use boost stuff

This commit is contained in:
Eduardo Bart
2011-04-11 18:22:01 -03:00
parent 08b6563fd5
commit 83b166e91e
21 changed files with 40 additions and 37 deletions

View File

@@ -82,6 +82,6 @@ private:
Size m_cornersSize;
};
typedef std::shared_ptr<BorderedImage> BorderedImagePtr;
typedef boost::shared_ptr<BorderedImage> BorderedImagePtr;
#endif // BORDEREDIMAGE_H

View File

@@ -92,6 +92,6 @@ private:
Size m_glyphsSize[256];
};
typedef std::shared_ptr<Font> FontPtr;
typedef boost::shared_ptr<Font> FontPtr;
#endif // FONT_H

View File

@@ -44,6 +44,6 @@ protected:
Rect m_textureCoords;
};
typedef std::shared_ptr<Image> ImagePtr;
typedef boost::shared_ptr<Image> ImagePtr;
#endif // IMAGE_H

View File

@@ -52,6 +52,6 @@ private:
Size m_size;
};
typedef std::shared_ptr<Texture> TexturePtr;
typedef boost::shared_ptr<Texture> TexturePtr;
#endif // TEXTURE_H

View File

@@ -28,7 +28,7 @@
#include "prerequisites.h"
#include "texture.h"
typedef std::weak_ptr<Texture> TextureWeakPtr;
typedef boost::weak_ptr<Texture> TextureWeakPtr;
class Textures
{