MCPcopy Create free account
hub / github.com/cuberite/cuberite / OnTimer

Method OnTimer

Tools/BiomeVisualiser/BiomeViewWnd.cpp:228–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226
227
228LRESULT cBiomeViewWnd::OnTimer(WPARAM wParam)
229{
230 switch (wParam)
231 {
232 case TIMER_RERENDER:
233 {
234 if (!m_Renderer.Render(m_Pixmap))
235 {
236 KillTimer(m_Wnd, TIMER_RERENDER);
237 }
238 InvalidateRect(m_Wnd, NULL, FALSE);
239 break;
240 }
241 }
242 return 0;
243}
244
245
246

Callers

nothing calls this directly

Calls 1

RenderMethod · 0.80

Tested by

no test coverage detected