Changeset 6400 for code/branches/presentation2/src/orxonox/overlays
- Timestamp:
- Dec 22, 2009, 10:05:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/overlays/OrxonoxOverlay.cc
r6394 r6400 311 311 std::map<std::string, OrxonoxOverlay*>::const_iterator it = overlays_s.find(name); 312 312 if (it != overlays_s.end()) 313 (*it).second->scale(Vector2(scale, scale));313 it->second->scale(Vector2(scale, scale)); 314 314 } 315 315 … … 326 326 if (it != overlays_s.end()) 327 327 { 328 OrxonoxOverlay* overlay= (*it).second;328 OrxonoxOverlay* overlay= it->second; 329 329 if(overlay->isVisible()) 330 330 overlay->hide(); … … 345 345 std::map<std::string, OrxonoxOverlay*>::const_iterator it = overlays_s.find(name); 346 346 if (it != overlays_s.end()) 347 (*it).second->scroll(scroll);347 it->second->scroll(scroll); 348 348 } 349 349 … … 359 359 std::map<std::string, OrxonoxOverlay*>::const_iterator it = overlays_s.find(name); 360 360 if (it != overlays_s.end()) 361 (*it).second->rotate(angle);361 it->second->rotate(angle); 362 362 } 363 363
Note: See TracChangeset
for help on using the changeset viewer.