MCPcopy Create free account
hub / github.com/Linloir/GraphBuilder / updateSpd

Method updateSpd

customScrollContainer.cpp:165–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void ScrollAreaCustom::updateSpd(){
166 int spd = lastY - strtY;
167 scrollDown = spd >= 0;
168 strtY = lastY;
169 curSpd = abs(spd);
170}
171
172void ScrollAreaCustom::addWidget(QWidget *newWidget, bool setAnimation){
173 newWidget->setParent(container);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected