- added support for variable width fonts (not fully finished, needs some more cleanup...
[supertux.git] / src / textscroller.hpp
index 604af08..ad7f397 100644 (file)
@@ -41,7 +41,7 @@ private:
   LineType lineType;
   Font* font;
   std::string text;
-  Surface* image; 
+  Surface* image;
 
 public:
   InfoBoxLine(char format_char, const std::string& text);
@@ -66,7 +66,7 @@ public:
   void scrollup();
   void pagedown();
   void pageup();
-  
+
 private:
   size_t firstline;
   std::vector<InfoBoxLine*> lines;
@@ -92,7 +92,7 @@ private:
   std::auto_ptr<Surface> background;
   std::vector<InfoBoxLine*> lines;
   float scroll;
+  bool fading;
 };
 
 #endif
-