EgtInterface 1.9c3 :
- aggiunta interfaccia per funzione EgtTextGetFont.
This commit is contained in:
@@ -530,6 +530,19 @@ __stdcall EgtTextGetContent( int nId, wchar_t*& wsText)
|
||||
return (( wsText == nullptr) ? FALSE : TRUE) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtTextGetFont( int nId, wchar_t*& wsFont)
|
||||
{
|
||||
if ( &wsFont == nullptr)
|
||||
return FALSE ;
|
||||
string sFont ;
|
||||
if ( ! ExeTextGetFont( nId, sFont))
|
||||
return FALSE ;
|
||||
wsFont = _wcsdup( stringtoW( sFont)) ;
|
||||
return (( wsFont == nullptr) ? FALSE : TRUE) ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtPointToIdGlob( double ptP[3], int nId)
|
||||
|
||||
Reference in New Issue
Block a user