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

Method OnTimer

editor/LightingStatus.cpp:77–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void CLightingStatus::OnTimer(UINT nIDEvent) {
78 char str[100];
79
80 sprintf(str, "Percentage complete: %.2f %%", (1.0 - rad_Convergence) * 100.0);
81 CEdit *ebox;
82 ebox = (CEdit *)GetDlgItem(IDC_LIGHTING_COMPLETE);
83 ebox->SetWindowText(str);
84
85 CDialog::OnTimer(nIDEvent);
86}
87
88BOOL CLightingStatus::DestroyWindow() {
89 // TODO: Add your specialized code here and/or call the base class

Callers

nothing calls this directly

Calls 1

OnTimerFunction · 0.50

Tested by

no test coverage detected