X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftextscroller.hpp;h=ede1e6bbf05765b80075b90bd28177765b8bb215;hb=dd71f2011901da40efa6bd4519c215253283acbd;hp=a6dafb6805289aa24de53970e7d1d77071354054;hpb=8b67b0dc71efddc4b668bde525ba94d701f622ac;p=supertux.git diff --git a/src/textscroller.hpp b/src/textscroller.hpp index a6dafb680..ede1e6bbf 100644 --- a/src/textscroller.hpp +++ b/src/textscroller.hpp @@ -24,10 +24,12 @@ #include #include #include +#include #include "screen.hpp" #include "math/vector.hpp" #include "math/rect.hpp" +#include "video/color.hpp" class DrawingContext; class Surface; @@ -52,6 +54,7 @@ public: private: InfoBoxLine::LineType lineType; Font* font; + Color color; std::string text; Surface* image; }; @@ -91,6 +94,10 @@ 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;