===========================================================================
| 7562 | |
| 7563 | //=========================================================================== |
| 7564 | void WindowUpdateConsoleDisplayedSize () |
| 7565 | { |
| 7566 | g_nConsoleDisplayLines = MIN_DISPLAY_CONSOLE_LINES; |
| 7567 | #if USE_APPLE_FONT |
| 7568 | g_bConsoleFullWidth = true; |
| 7569 | g_nConsoleDisplayWidth = CONSOLE_WIDTH - 1; |
| 7570 | |
| 7571 | if (g_iWindowThis == WINDOW_CONSOLE) |
| 7572 | { |
| 7573 | g_nConsoleDisplayLines = MAX_DISPLAY_LINES; |
| 7574 | g_nConsoleDisplayWidth = CONSOLE_WIDTH - 1; |
| 7575 | g_bConsoleFullWidth = true; |
| 7576 | } |
| 7577 | |
| 7578 | g_nConsoleInputMaxLen = g_nConsoleDisplayWidth-1; // -1 prompt at Start-of-Line, -1 for cursor at End-of-Line |
| 7579 | g_nConsoleInputScrollWidth = g_nConsoleDisplayWidth-1; // Maximum number of characters for the horizontol scrolling window on the input line |
| 7580 | #else |
| 7581 | g_nConsoleDisplayWidth = (CONSOLE_WIDTH / 2) + 10; |
| 7582 | g_bConsoleFullWidth = false; |
| 7583 | |
| 7584 | // g_bConsoleFullWidth = false; |
| 7585 | // g_nConsoleDisplayWidth = CONSOLE_WIDTH - 10; |
| 7586 | |
| 7587 | if (g_iWindowThis == WINDOW_CONSOLE) |
| 7588 | { |
| 7589 | g_nConsoleDisplayLines = MAX_DISPLAY_LINES; |
| 7590 | g_nConsoleDisplayWidth = CONSOLE_WIDTH - 1; |
| 7591 | g_bConsoleFullWidth = true; |
| 7592 | } |
| 7593 | #endif |
| 7594 | } |
| 7595 | |
| 7596 | //=========================================================================== |
| 7597 | int WindowGetHeight( int iWindow ) |
no outgoing calls
no test coverage detected