Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7031 in orxonox.OLD for trunk/src/story_entities


Ignore:
Timestamp:
Feb 4, 2006, 4:42:28 AM (19 years ago)
Author:
bensch
Message:

softed stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/simple_game_menu.cc

    r7030 r7031  
    376376    {
    377377      this->menuSelected = this->menuLayers[this->layerIndex].menuList[++this->menuSelectedIndex];
    378       this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D() + Vector(0, this->menuSelected->getSizeY2D() *.5,0));
    379       this->menuSelector->setSize(this->menuSelected->getSizeX2D(), this->menuSelected->getSizeY2D());
     378      this->menuSelector->setAbsCoorSoft2D(this->menuSelected->getAbsCoor2D() + Vector(0, this->menuSelected->getSizeY2D() *.5,0), 3.0);
     379      this->menuSelector->setSizeSoft2D(this->menuSelected->getSizeX2D(), this->menuSelected->getSizeY2D(), 3.0);
    380380
    381381      if( this->layerIndex == 1)
     
    391391    {
    392392      this->menuSelected = this->menuLayers[this->layerIndex].menuList[--this->menuSelectedIndex];
    393       this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D() + Vector(0, this->menuSelected->getSizeY2D() *.5,0));
    394       this->menuSelector->setSize(this->menuSelected->getSizeX2D(), this->menuSelected->getSizeY2D());
     393      this->menuSelector->setAbsCoorSoft2D(this->menuSelected->getAbsCoor2D() + Vector(0, this->menuSelected->getSizeY2D() *.5,0), 3.0);
     394      this->menuSelector->setSizeSoft2D(this->menuSelected->getSizeX2D(), this->menuSelected->getSizeY2D(), 3.0);
    395395
    396396      if( this->layerIndex == 1)
Note: See TracChangeset for help on using the changeset viewer.