| 73 | */ |
| 74 | |
| 75 | void ImageManager::nextImage() { |
| 76 | |
| 77 | // advance and wrap if we have to |
| 78 | |
| 79 | if(_currentImage==_bmManager.getImageCount()-1) |
| 80 | _currentImage=0; |
| 81 | else |
| 82 | _currentImage++; |
| 83 | |
| 84 | // show the current image |
| 85 | |
| 86 | showImage(); |
| 87 | } |
| 88 | |
| 89 | |
| 90 | /* |
no test coverage detected