| 452 | } |
| 453 | |
| 454 | void 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 | |
| 474 | void JUTConsoleManager::drawDirect(bool waitRetrace) const { |