X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsupertux%2Finfo_box.hpp;h=ddc9230353311ba7fdcf3f1f535943785a5e21ee;hb=1240eda3ac57e6607b206e3c9cf7feb65c3be620;hp=6286a646e3806369fcb07ae9519bfbc4ce2b420e;hpb=cee739d4820fb000a217996ffadc74bc58ed582a;p=supertux.git diff --git a/src/supertux/info_box.hpp b/src/supertux/info_box.hpp index 6286a646e..ddc923035 100644 --- a/src/supertux/info_box.hpp +++ b/src/supertux/info_box.hpp @@ -22,9 +22,10 @@ #include #include +#include "video/surface_ptr.hpp" + class DrawingContext; class InfoBoxLine; -class Surface; /** This class is displaying a box with information text inside the game */ class InfoBox @@ -43,8 +44,8 @@ private: size_t firstline; std::vector lines; std::map images; - std::auto_ptr arrow_scrollup; - std::auto_ptr arrow_scrolldown; + SurfacePtr arrow_scrollup; + SurfacePtr arrow_scrolldown; private: InfoBox(const InfoBox&);