Changeset 7030 in orxonox.OLD
- Timestamp:
- Feb 4, 2006, 4:24:13 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/simple_game_menu.cc
r7029 r7030 376 376 { 377 377 this->menuSelected = this->menuLayers[this->layerIndex].menuList[++this->menuSelectedIndex]; 378 this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D()); 378 this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D() + Vector(0, this->menuSelected->getSizeY2D() *.5,0)); 379 this->menuSelector->setSize(this->menuSelected->getSizeX2D(), this->menuSelected->getSizeY2D()); 379 380 380 381 if( this->layerIndex == 1) … … 390 391 { 391 392 this->menuSelected = this->menuLayers[this->layerIndex].menuList[--this->menuSelectedIndex]; 392 this->menuSelector->setAbsCoor2D(this->menuSelected->getAbsCoor2D()); 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 395 394 396 if( this->layerIndex == 1)
Note: See TracChangeset
for help on using the changeset viewer.