Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9864 in orxonox.OLD


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 :)

Location:
branches/new_class_id/src/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/lang/object_list.cc

    r9805 r9864  
    4444  assert(!ObjectListBase::classIDExists(id) && "Classes should only be included once, and no two classes should have the same ID (key value)");
    4545
    46   _id = id;
     46  this->_id = id;
    4747  /// Some Output, that will fall out later
    4848  //  std::cout << "register new ObjectList " << className << " ID: " << this->_id << std::endl;
  • 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.