Changeset 7031 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Feb 4, 2006, 4:42:28 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/simple_game_menu.cc
r7030 r7031 376 376 { 377 377 this->menuSelected = this->menuLayers[this->layerIndex].menuList[++this->menuSelectedIndex]; 378 this->menuSelector->setAbsCoor 2D(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); 380 380 381 381 if( this->layerIndex == 1) … … 391 391 { 392 392 this->menuSelected = this->menuLayers[this->layerIndex].menuList[--this->menuSelectedIndex]; 393 this->menuSelector->setAbsCoor 2D(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); 395 395 396 396 if( this->layerIndex == 1)
Note: See TracChangeset
for help on using the changeset viewer.