mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
logRect utility
This commit is contained in:
parent
b72309f947
commit
462bc96868
2 changed files with 8 additions and 0 deletions
|
@ -92,6 +92,13 @@ XP_LOGW( const XP_UCHAR* prefix, const wchar_t* arg )
|
|||
XP_LOGF( "%s: %s", prefix, buf );
|
||||
}
|
||||
|
||||
void
|
||||
logRect( const char* comment, const RECT* rect )
|
||||
{
|
||||
XP_LOGF( "%s: %s: left=%ld,top=%ld,right=%ld,bottom=%ld", __func__,
|
||||
comment, rect->left, rect->top, rect->right, rect->bottom );
|
||||
}
|
||||
|
||||
#undef CASE_STR
|
||||
|
||||
#endif /* DEBUG */
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "cemain.h"
|
||||
|
||||
const char* messageToStr( UINT message );
|
||||
void logRect( const char* comment, const RECT* rect );
|
||||
|
||||
#ifdef DEBUG
|
||||
void XP_LOGW( const XP_UCHAR* prefix, const wchar_t* arg );
|
||||
|
|
Loading…
Add table
Reference in a new issue