- some more work on the new unisolid snow tiles and a test level
[supertux.git] / src / textscroller.hpp
index c7803ea..ad7f397 100644 (file)
@@ -37,11 +37,11 @@ class Surface;
 class InfoBoxLine
 {
 private:
-  enum LineType { NORMAL, NORMAL_LEFT, SMALL, HEADING, REFERENCE, IMAGE, SPACER};
+  enum LineType { NORMAL, NORMAL_LEFT, SMALL, HEADING, REFERENCE, IMAGE};
   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
-