MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / rotate

Method rotate

Components/WaitingSpinnerWidget.cpp:223–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223void WaitingSpinnerWidget::rotate() {
224 ++_currentCounter;
225 if (_currentCounter >= _numberOfLines) {
226 _currentCounter = 0;
227 }
228 update();
229}
230
231void WaitingSpinnerWidget::updateSize() {
232 int size = (_innerRadius + _lineLength) * 2;

Callers 1

paintEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected