c1232c6dd4
- aggiunta gestione opzione visualizzazione direzione su curve.
56 lines
1.6 KiB
C++
56 lines
1.6 KiB
C++
//----------------------------------------------------------------------------
|
|
// EgalTech 2014-2014
|
|
//----------------------------------------------------------------------------
|
|
// File : TestEGrUtils.cpp Data : 17.02.14 Versione : 1.5b3
|
|
// Contenuto : Implementazione funzioni di utilità
|
|
//
|
|
//
|
|
//
|
|
// Modifiche : 17.02.14 DS Creazione modulo.
|
|
//
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
|
|
//--------------------------- Include ----------------------------------------
|
|
#include "stdafx.h"
|
|
#include "TestEGrUtils.h"
|
|
#include "TestEGrDlg.h"
|
|
|
|
using namespace std ;
|
|
|
|
//----------------------------------------------------------------------------
|
|
#ifdef _DEBUG
|
|
#define new DEBUG_NEW
|
|
#endif
|
|
|
|
|
|
//----------------------------------------------------------------------------
|
|
void
|
|
OutInfo( const string& sOut, bool bLog)
|
|
{
|
|
((CTestEGrDlg*)AfxGetMainWnd())->OutInfo( sOut, bLog) ;
|
|
}
|
|
|
|
//----------------------------------------------------------------------------
|
|
bool
|
|
GetSceneInfo( string& sInfo)
|
|
{
|
|
return ((CTestEGrDlg*)AfxGetMainWnd())->GetSceneInfo( sInfo) ;
|
|
}
|
|
|
|
//----------------------------------------------------------------------------
|
|
bool
|
|
LineExec( const string& sLine)
|
|
{
|
|
return ((CTestEGrDlg*)AfxGetMainWnd())->LineExec( sLine) ;
|
|
}
|
|
|
|
//----------------------------------------------------------------------------
|
|
void
|
|
UpdateButtons( void)
|
|
{
|
|
((CTestEGrDlg*)AfxGetMainWnd())->UpdateShowModeButtons() ;
|
|
((CTestEGrDlg*)AfxGetMainWnd())->UpdateShowCurveDir() ;
|
|
((CTestEGrDlg*)AfxGetMainWnd())->UpdateViewButtons() ;
|
|
}
|