MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / batterySet

Method batterySet

gui/qt/debugger.cpp:1735–1739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1733}
1734
1735void MainWindow::batterySet(int value) {
1736 control.setBatteryStatus = static_cast<uint8_t>(value);
1737 ui->sliderBattery->setValue(value);
1738 ui->labelBattery->setText(QString::number(value * 20) + "%");
1739}
1740
1741// ------------------------------------------------
1742// Disassembly View

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected