DragonNest/Common/EtInterface/EtUITextUtil.cpp
Cussrro 47f7895977 Revert "修复编码问题"
This reverts commit 9e69c01767.
2024-12-21 10:04:04 +08:00

24 lines
No EOL
603 B
C++

#include "StdAfx.h"
#include "EtUITextUtil.h"
#ifdef _DEBUG
#define new new(_NORMAL_BLOCK,__FILE__,__LINE__)
#endif
namespace CEtInterface
{
namespace debug
{
void OutputDebugUICoord( const wchar_t *pString, const SUICoord& coord, float fWidth, float fHeight )
{
int nX = (int)(coord.fX * fWidth);
int nY = (int)(coord.fY * fHeight);
int nW = (int)(coord.fWidth * fWidth);
int nH = (int)(coord.fHeight * fHeight);
wchar_t strTemp[256]={0};
swprintf( strTemp, 256, L"%s, UICoord=[X:%d][Y:%d][W:%d][H:%d]\n", pString, nX, nY, nW, nH );
OutputDebugStringW( strTemp );
}
}
}