EgtInterface :
- aggiunte funzioni.
This commit is contained in:
+32
-2
@@ -138,7 +138,7 @@ __stdcall EgtSelect( int nWinX, int nWinY, int nSelW, int nSelH, int* pnSel)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtGetFirstSelectedObj( void)
|
||||
__stdcall EgtGetFirstObjInSelWin( void)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_SCENE( pGseCtx, FALSE)
|
||||
@@ -148,7 +148,7 @@ __stdcall EgtGetFirstSelectedObj( void)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtGetNextSelectedObj( void)
|
||||
__stdcall EgtGetNextObjInSelWin( void)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_SCENE( pGseCtx, FALSE)
|
||||
@@ -156,6 +156,36 @@ __stdcall EgtGetNextSelectedObj( void)
|
||||
return pGseCtx->m_pScene->GetNextSelectedObj() ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtUnselectableRemove( int nId)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_SCENE( pGseCtx, FALSE)
|
||||
// tolgo dai non selezionabili
|
||||
return pGseCtx->m_pScene->UnselectableRemove( nId) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtUnselectableAdd( int nId)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_SCENE( pGseCtx, FALSE)
|
||||
// aggiungo ai non selezionabili
|
||||
return pGseCtx->m_pScene->UnselectableAdd( nId) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtUnselectableClearAll( void)
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_SCENE( pGseCtx, FALSE)
|
||||
// cancello tutti i non selezionabili
|
||||
return pGseCtx->m_pScene->UnselectableClearAll() ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtGetSelectedSnapPoint( int nSnap, int nWinX, int nWinY, int nSelW, int nSelH,
|
||||
|
||||
Reference in New Issue
Block a user