===========================================================================
| 829 | |
| 830 | //=========================================================================== |
| 831 | int PrintText ( const char * pText, RECT & rRect ) |
| 832 | { |
| 833 | #if _DEBUG |
| 834 | if (!pText) |
| 835 | { |
| 836 | GetFrame().FrameMessageBox("pText = NULL!", "DrawText()", MB_OK); |
| 837 | return 0; |
| 838 | } |
| 839 | #endif |
| 840 | |
| 841 | int nLen = (int)strlen( pText ); |
| 842 | |
| 843 | #if !DEBUG_FONT_NO_BACKGROUND_TEXT |
| 844 | FillBackground(rRect.left, rRect.top, rRect.right, rRect.bottom); |
| 845 | #endif |
| 846 | |
| 847 | DebuggerPrint( rRect.left, rRect.top, pText ); |
| 848 | return nLen; |
| 849 | } |
| 850 | |
| 851 | //=========================================================================== |
| 852 | void PrintTextColor ( const conchar_t *pText, RECT & rRect ) |
no test coverage detected