Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9864 in orxonox.OLD for branches/new_class_id/src/lib/shell/shell.cc


Ignore:
Timestamp:
Oct 2, 2006, 5:39:33 PM (18 years ago)
Author:
bensch
Message:

orxonox/new_class_id: the Shell's text is resized again :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/shell/shell.cc

    r9861 r9864  
    248248    this->setSizeX2D(width);
    249249    for (std::list<MultiLineText*>::iterator textIt = this->bufferText.begin(); textIt != this->bufferText.end(); ++textIt)
    250     {
    251250      (*textIt)->setLineWidth(width);
    252     }
    253251  }
    254252
     
    472470        this->moveDisplayBuffer(-this->bufferDisplaySize+1);
    473471      }
    474       else if (event.type == EV_VIDEO_RESIZE)
    475       {
    476         this->updateResolution(event.resize.w);
    477         this->repositionText();
    478       }
     472    }
     473    else if (event.type == EV_VIDEO_RESIZE)
     474    {
     475      this->updateResolution(event.resize.w);
     476      this->repositionText();
    479477    }
    480478  }
Note: See TracChangeset for help on using the changeset viewer.