EgtInterface 1.9c3 :

- aggiunta interfaccia per funzione EgtTextGetFont.
This commit is contained in:
Dario Sassi
2018-03-10 10:58:01 +00:00
parent 117cb65773
commit 91c10b08bd
2 changed files with 13 additions and 0 deletions
+13
View File
@@ -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)