| 231 | } |
| 232 | |
| 233 | void HistogramScene::nextPattern() |
| 234 | { |
| 235 | if (rects_.size() == 0) |
| 236 | return; |
| 237 | |
| 238 | auto new_idx = selected_idx_ + 1; |
| 239 | |
| 240 | if (new_idx >= rects_.size()) |
| 241 | return; |
| 242 | |
| 243 | changeSelectedPattern(new_idx); |
| 244 | } |
| 245 | |
| 246 | } // namespace analysis |
| 247 | } // namespace cpprofiler |