Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 30, 2011, 10:39:33 AM (13 years ago)
Author:
landauf
Message:

removed onlyLastLineChanged() callback from ShellListener, since it's not possible to print a line of output word by word anymore, instead only whole lines are printed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/orxonox/overlays/InGameConsole.cc

    r8795 r8797  
    299299
    300300    /**
    301         @brief Called if only the last output-line has changed.
    302     */
    303     void InGameConsole::onlyLastLineChanged()
    304     {
     301        @brief Called if a new output-line was added.
     302    */
     303    void InGameConsole::lineAdded()
     304    {
     305        this->numLinesShifted_ = 0;
     306        this->shiftLines();
    305307        if (LINES > 1)
    306308            this->print(this->shell_->getNewestLineIterator()->first, this->shell_->getNewestLineIterator()->second, 1);
    307     }
    308 
    309     /**
    310         @brief Called if a new output-line was added.
    311     */
    312     void InGameConsole::lineAdded()
    313     {
    314         this->numLinesShifted_ = 0;
    315         this->shiftLines();
    316         this->onlyLastLineChanged();
    317309    }
    318310
Note: See TracChangeset for help on using the changeset viewer.