From 60772489fb3ed6700fc1c674a50a2f0e3a511870 Mon Sep 17 00:00:00 2001 From: SaraP Date: Thu, 23 Jan 2025 10:11:33 +0100 Subject: [PATCH] EgtInterface 2.7a2 : - aggiunte interfacce per gestione camera prospettica. --- API_Scene.cpp | 14 ++++++++++++++ EgtInterface.rc | Bin 11718 -> 11718 bytes 2 files changed, 14 insertions(+) diff --git a/API_Scene.cpp b/API_Scene.cpp index b896bd9..83e51a0 100644 --- a/API_Scene.cpp +++ b/API_Scene.cpp @@ -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) ; +} diff --git a/EgtInterface.rc b/EgtInterface.rc index 1362a907c363cdc9d46cf090acca514c3d81728b..11d058ea9e20d40e8b69e63e4c6f2eb794ed762f 100644 GIT binary patch delta 266 zcmX>WeJpyzI%aiGhCGIJh8%`ehGHOAV9;O)W+-7u1ma8}FBB-731Uyas3kpFPd#gM z9LpRgMx)Ii`A#xTKEheYXf*kupzh`Zt_Bvcs53J}WO4zQ#bg5>oym8&o@`zvYycF7 z=vg8O(-R;C)^kw~tDY|9dyFJF?%?EmI`bxfQWFu(2YbR3?1>zp;}bzn->j!TjTuvF J^F^(%OaS4~PTl|j delta 234 zcmX>WeJpyzI%aKGhCGIJh8%`WhGK>c1_cHUhESkLCPN8BDnkm89}HwAf_cT0FKS6| z{=m$}%xJjzE#FC|$p<*=7!4;I3Z-sd!sWpN7Ig+m8VW6i@PKL-NW#>#NP*Ryl>@60 wR0<~5@`ID_>CBt_N=<|p)c^nh