MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / setMinimum

Method setMinimum

forms/scrollbar.cpp:46–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46bool ScrollBar::setMinimum(int newMininum)
47{
48 if (Minimum == newMininum)
49 {
50 return false;
51 }
52 Minimum = newMininum;
53 setValue(Value);
54 updateScrollChangeValue();
55 setDirty();
56 return true;
57}
58
59bool ScrollBar::setMaximum(int newMaximum)
60{

Callers 2

setScrollbarValuesMethod · 0.80
createControlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected