Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2008, 1:48:40 AM (17 years ago)
Author:
landauf
Message:
  • added colored output in the InGameConsole, depending on the output level (error = red, …).
  • increased performance of InGameConsole and Shell
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/core/Shell.h

    r1326 r1334  
    8383            std::list<std::string>::const_iterator getEndIterator() const;
    8484
    85             void addLine(const std::string& line, unsigned int level);
     85            void addLine(const std::string& line, int level);
    8686            void clearLines();
    8787
     
    9090            inline unsigned int getScrollPosition() const
    9191                { return this->scrollPosition_; }
     92
     93            inline void addOutputLevel(bool bAddOutputLevel)
     94                { this->bAddOutputLevel_ = bAddOutputLevel; }
    9295
    9396        private:
     
    127130            unsigned int historyPosition_;
    128131            unsigned int historyOffset_;
     132            bool bAddOutputLevel_;
    129133    };
    130134}
Note: See TracChangeset for help on using the changeset viewer.