#include <vector>
#include <string>
#include <map>
+#include <memory>
#include "screen.hpp"
#include "math/vector.hpp"
#include "math/rect.hpp"
+#include "video/color.hpp"
class DrawingContext;
class Surface;
private:
InfoBoxLine::LineType lineType;
Font* font;
+ Color color;
std::string text;
Surface* image;
};
Surface* arrow_scrolldown;
};
+/**
+ * Screen that displays intro text, extro text, etc.
+ */
class TextScroller : public Screen
{
public:
void draw(DrawingContext& context);
void update(float elapsed_time);
+ static Color small_color;
+ static Color heading_color;
+ static Color reference_color;
+ static Color normal_color;
private:
float defaultspeed;
float speed;