MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / SetUnits

Method SetUnits

Descent3/newui_core.cpp:2492–2498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2490}
2491
2492void newuiSlider::SetUnits(tSliderSettings *settings) {
2493 if (settings == NULL) {
2494 m_unit_settings.type = -1;
2495 } else {
2496 memcpy(&m_unit_settings, settings, sizeof(m_unit_settings));
2497 }
2498}
2499
2500void newuiSlider::OnFormat() {
2501 if (m_bar_bmp) {

Callers 1

RealizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected