projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New powerups added to worldmap cheat menu
[supertux.git]
/
src
/
supertux
/
info_box.hpp
diff --git
a/src/supertux/info_box.hpp
b/src/supertux/info_box.hpp
index
6286a64
..
ddc9230
100644
(file)
--- a/
src/supertux/info_box.hpp
+++ b/
src/supertux/info_box.hpp
@@
-22,9
+22,10
@@
#include <string>
#include <vector>
#include <string>
#include <vector>
+#include "video/surface_ptr.hpp"
+
class DrawingContext;
class InfoBoxLine;
class DrawingContext;
class InfoBoxLine;
-class Surface;
/** This class is displaying a box with information text inside the game */
class InfoBox
/** This class is displaying a box with information text inside the game */
class InfoBox
@@
-43,8
+44,8
@@
private:
size_t firstline;
std::vector<InfoBoxLine*> lines;
std::map<std::string, Surface*> images;
size_t firstline;
std::vector<InfoBoxLine*> lines;
std::map<std::string, Surface*> images;
-
std::auto_ptr<Surface>
arrow_scrollup;
-
std::auto_ptr<Surface>
arrow_scrolldown;
+
SurfacePtr
arrow_scrollup;
+
SurfacePtr
arrow_scrolldown;
private:
InfoBox(const InfoBox&);
private:
InfoBox(const InfoBox&);