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

Method OnDraw

editor/editorView.cpp:496–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494// CEditorView drawing
495
496void CEditorView::OnDraw(CDC *pDC) {
497 CEditorDoc *pDoc = GetDocument();
498 ASSERT_VALID(pDoc);
499
500 // TODO: add draw code for native data here
501 if (!theApp.paused()) {
502 if (theApp.wireframe_view)
503 m_grwndWireframe.Render();
504 if (theApp.textured_view)
505 m_grwndTexture.Render();
506 }
507}
508
509/////////////////////////////////////////////////////////////////////////////
510// CEditorView diagnostics

Callers

nothing calls this directly

Calls 2

pausedMethod · 0.80
RenderMethod · 0.45

Tested by

no test coverage detected