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

Method OnMatEnabledCheck

editor/matcenkeypad.cpp:388–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388void matcenkeypad::OnMatEnabledCheck() {
389 int status = Matcen[m_matcen_id]->GetStatus();
390
391 if (status & MSTAT_DISABLED)
392 Matcen[m_matcen_id]->SetStatus(MSTAT_DISABLED, false);
393 else
394 Matcen[m_matcen_id]->SetStatus(MSTAT_DISABLED, true);
395
396 UpdateDialog();
397}
398
399void matcenkeypad::OnKillfocusProdRateMultiEdit() {
400 char str[20];

Callers

nothing calls this directly

Calls 2

GetStatusMethod · 0.45
SetStatusMethod · 0.45

Tested by

no test coverage detected