#include <memory>
#include "video/color.hpp"
+#include "video/font_ptr.hpp"
+#include "video/surface_ptr.hpp"
class DrawingContext;
-class Font;
class Rectf;
-class Surface;
/**
* Helper class for InfoBox: Represents a line of text
private:
InfoBoxLine::LineType lineType;
- Font* font;
+ FontPtr font;
Color color;
std::string text;
- std::auto_ptr<Surface> image;
+ SurfacePtr image;
private:
InfoBoxLine(const InfoBoxLine&);