X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftextscroller.hpp;h=ede1e6bbf05765b80075b90bd28177765b8bb215;hb=38ea8c3ead1a5b679621363b01dfd54c7b42cf75;hp=b232b18956f9a8d88e9e5a134ba35e594263db11;hpb=68936bd7ba924fb0c2655419ad9802a7e15a2f8c;p=supertux.git diff --git a/src/textscroller.hpp b/src/textscroller.hpp index b232b1895..ede1e6bbf 100644 --- a/src/textscroller.hpp +++ b/src/textscroller.hpp @@ -29,6 +29,7 @@ #include "screen.hpp" #include "math/vector.hpp" #include "math/rect.hpp" +#include "video/color.hpp" class DrawingContext; class Surface; @@ -53,6 +54,7 @@ public: private: InfoBoxLine::LineType lineType; Font* font; + Color color; std::string text; Surface* image; }; @@ -92,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;