MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / setMaximum

Method setMaximum

pj_widgets/src/IntScrubber.cpp:41–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void IntScrubber::setMaximum(int v) {
42 maximum_ = v;
43 if (minimum_ > maximum_) {
44 minimum_ = maximum_;
45 }
46 setValue(value_);
47}
48
49void IntScrubber::setSingleStep(int v) {
50 single_step_ = std::max(1, v);

Callers 3

mainFunction · 0.45
mainFunction · 0.45
applyToWidgetFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected