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

Method updatePosition

Components/WaitingSpinnerWidget.cpp:240–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void WaitingSpinnerWidget::updatePosition() {
241 if (parentWidget() && _centerOnParent) {
242 move(parentWidget()->width() / 2 - width() / 2,
243 parentWidget()->height() / 2 - height() / 2);
244 }
245}
246
247int WaitingSpinnerWidget::lineCountDistanceFromPrimary(int current, int primary,
248 int totalNrOfLines) {

Callers

nothing calls this directly

Calls 1

widthMethod · 0.80

Tested by

no test coverage detected