projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New BadGuy: GoldBomb - a bomb that throws a bunch of coins when exploding.
[supertux.git]
/
src
/
supertux
/
info_box.hpp
diff --git
a/src/supertux/info_box.hpp
b/src/supertux/info_box.hpp
index
190617a
..
ddc9230
100644
(file)
--- a/
src/supertux/info_box.hpp
+++ b/
src/supertux/info_box.hpp
@@
-18,12
+18,14
@@
#define HEADER_SUPERTUX_SUPERTUX_INFO_BOX_HPP
#include <map>
#define HEADER_SUPERTUX_SUPERTUX_INFO_BOX_HPP
#include <map>
+#include <memory>
#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
@@
-42,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;
- Surface
*
arrow_scrollup;
- Surface
*
arrow_scrolldown;
+ Surface
Ptr
arrow_scrollup;
+ Surface
Ptr
arrow_scrolldown;
private:
InfoBox(const InfoBox&);
private:
InfoBox(const InfoBox&);