EgtExecutor :

- esporto ExeProcessEvents e ExeOutText.
This commit is contained in:
Dario Sassi
2016-05-30 08:55:59 +00:00
parent 9fead8ab5c
commit 71eba828ab
4 changed files with 26 additions and 32 deletions
+4 -3
View File
@@ -17,6 +17,7 @@
#include "EXE_Macro.h"
#include "DllGraphics.h"
#include "/EgtDev/Include/EXeExecutor.h"
#include "/EgtDev/Include/EXeConst.h"
#include "/EgtDev/Include/EgtStringConverter.h"
#include "/EgtDev/Include/EgtPointerOwner.h"
@@ -427,19 +428,19 @@ ExeZoom( int nZoom, bool bRedraw)
const double COEFF_OUT = 1 / COEFF_IN ;
switch ( nZoom) {
case 1 :
case ZM_ALL :
pGseCtx->m_pScene->ZoomAll() ;
if ( bRedraw)
pGseCtx->m_pScene->RedrawWindow() ;
return true ;
break ;
case 2 :
case ZM_IN :
pGseCtx->m_pScene->ZoomChange( COEFF_IN) ;
if ( bRedraw)
pGseCtx->m_pScene->RedrawWindow() ;
return true ;
break ;
case 3 :
case ZM_OUT :
pGseCtx->m_pScene->ZoomChange( COEFF_OUT) ;
if ( bRedraw)
pGseCtx->m_pScene->RedrawWindow() ;