| 494 | // CEditorView drawing |
| 495 | |
| 496 | void 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 |