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

Method scrollPrev

forms/scrollbar.cpp:72–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72void ScrollBar::scrollPrev(int amount)
73{
74 if (!setValue(Value - (amount != 0 ? amount : ScrollChange)))
75 {
76 fw().soundBackend->playSample(buttonerror);
77 }
78}
79
80void ScrollBar::scrollNext(int amount)
81{

Callers 1

eventOccuredMethod · 0.80

Calls 1

playSampleMethod · 0.45

Tested by

no test coverage detected