EgtInterface 1.6g6 :

- aggiunta gestione UiUnits.
This commit is contained in:
Dario Sassi
2015-07-22 20:39:17 +00:00
parent ee45e1da16
commit 7aa5f0ef3a
4 changed files with 49 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
//----------------------------------------------------------------------------
// EgalTech 2015-2015
//----------------------------------------------------------------------------
// File : API_UiUnits.cpp Data : 21.07.15 Versione : 1.6g6
// Contenuto : Funzioni per gestione unità di misura per interfaccia utente.
//
//
//
// Modifiche : 21.07.15 DS Creazione modulo.
//
//
//----------------------------------------------------------------------------
//--------------------------- Include ----------------------------------------
#include "stdafx.h"
#include "/EgtDev/Include/EInAPI.h"
#include "/EgtDev/Include/EXeExecutor.h"
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtSetUiUnits( BOOL bMM)
{
return ( ExeSetUiUnits( bMM != FALSE) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtUiUnitsAreMM( void)
{
return ( ExeUiUnitsAreMM() ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
double
__stdcall EgtFromUiUnits( double dVal)
{
return ExeFromUiUnits( dVal) ;
}
//-----------------------------------------------------------------------------
double
__stdcall EgtToUiUnits( double dVal)
{
return ExeToUiUnits( dVal) ;
}