1 #ifndef __TEXTSCROLLER_H__
2 #define __TEXTSCROLLER_H__
11 using namespace SuperTux;
13 /** This class is displaying a box with information text inside the game
18 InfoBox(const std::string& text);
21 void draw(DrawingContext& context);
29 std::vector<std::string> lines;
32 /** Reads a text file (using LispReader, so it as to be in its formatting)
33 * and scroll it over the screen
34 * (this call blocks until all text scrolled through or the user aborted the
37 void display_text_file(const std::string& file);