MCPcopy Create free account
hub / github.com/doldecomp/mkdd / draw

Method draw

libs/JSystem/JUtility/JUTConsole.cpp:454–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454void JUTConsoleManager::draw() const
455{
456 // this cast is needed to match release, luckily doesn't affect tp debug either, so maybe there's another temp or cast somewhere?
457 JGadget::TLinkList<JUTConsole, -24>::const_iterator it = ((const JUTConsoleManager *)this)->soLink_.begin();
458 JGadget::TLinkList<JUTConsole, -24>::const_iterator itEnd = soLink_.end();
459
460 for (; it != itEnd; ++it)
461 {
462 const JUTConsole &console = *it;
463 if (&console != mActiveConsole)
464 {
465 console.doDraw(JUTConsole::CONSOLE_TYPE_1);
466 }
467 }
468
469 if (mActiveConsole)
470 mActiveConsole->doDraw(JUTConsole::CONSOLE_TYPE_0);
471}
472
473
474void JUTConsoleManager::drawDirect(bool waitRetrace) const {

Callers

nothing calls this directly

Calls 3

doDrawMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected