MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / prevPattern

Method prevPattern

cp-profiler/src/cpprofiler/analysis/histogram_scene.cpp:220–231  ·  view source on GitHub ↗

TODO: this should change scroll bar value as well

Source from the content-addressed store, hash-verified

218
219/// TODO: this should change scroll bar value as well
220void HistogramScene::prevPattern()
221{
222 if (rects_.size() == 0)
223 return;
224
225 auto new_idx = selected_idx_ - 1;
226
227 if (new_idx < 0)
228 return;
229
230 changeSelectedPattern(new_idx);
231}
232
233void HistogramScene::nextPattern()
234{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected