EgtInterface 1.5j4 :
- ora si imposta un context corrente anche per le API come per LUA - il context corrente di LUA coincide con quello delle API.
This commit is contained in:
@@ -25,9 +25,9 @@ using namespace std ;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtIsSelectedObj( int nGseCtx, int nId)
|
||||
__stdcall EgtIsSelectedObj( int nId)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// verifico se l'oggetto è selezionato
|
||||
return ( pGeomDB->IsSelectedObj( nId) ? TRUE : FALSE) ;
|
||||
@@ -35,9 +35,9 @@ BOOL
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSelectObj( int nGseCtx, int nId)
|
||||
__stdcall EgtSelectObj( int nId)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// seleziono l'oggetto
|
||||
return ( pGeomDB->SelectObj( nId) ? TRUE : FALSE) ;
|
||||
@@ -45,9 +45,9 @@ BOOL
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtDeselectObj( int nGseCtx, int nId)
|
||||
__stdcall EgtDeselectObj( int nId)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// deseleziono l'oggetto
|
||||
return ( pGeomDB->DeselectObj( nId) ? TRUE : FALSE) ;
|
||||
@@ -55,9 +55,9 @@ BOOL
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtDeselectAll( int nGseCtx)
|
||||
__stdcall EgtDeselectAll( void)
|
||||
{
|
||||
IGeomDB* pGeomDB = GetGeomDB( nGseCtx) ;
|
||||
IGeomDB* pGeomDB = GetCurrGeomDB() ;
|
||||
VERIFY_GEOMDB( pGeomDB, FALSE)
|
||||
// deseleziono tutto
|
||||
return ( pGeomDB->ClearSelection() ? TRUE : FALSE) ;
|
||||
|
||||
Reference in New Issue
Block a user