EgtInterface 2.7a2 :

- aggiunte interfacce per gestione camera prospettica.
This commit is contained in:
SaraP
2025-01-23 10:11:33 +01:00
parent 4d3a19c18a
commit 60772489fb
2 changed files with 14 additions and 0 deletions
+14
View File
@@ -571,3 +571,17 @@ __stdcall EgtGetImage( int nShowMode, const int TopCol[4], const int BottomCol[4
return ( ExeGetImage( nShowMode, Color( TopCol), Color( BottomCol),
nWidth, nHeight, wstrztoA( wsName)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetCameraType( BOOL bOrthoOrPersp, BOOL bRedraw)
{
return ( ExeSetCameraType( ( bOrthoOrPersp != FALSE), ( bRedraw != FALSE)) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetZoomType( int nZoomType, BOOL bRedraw)
{
return ( ExeSetZoomType( nZoomType, ( bRedraw != FALSE)) ? TRUE : FALSE) ;
}