MCPcopy Create free account
hub / github.com/Liniyous/ElaWidgetTools / getCurrentIndex

Method getCurrentIndex

ElaWidgetTools/ElaRoller.cpp:175–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173 }
174 d->_pCurrentIndex = currentIndex;
175 d->_pScrollOffset = d->_pItemHeight * currentIndex;
176 d->_targetScrollOffset = d->_pScrollOffset;
177 update();
178}
179
180int ElaRoller::getCurrentIndex() const
181{
182 Q_D(const ElaRoller);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected