Include :

- aggiornamento prototipi.
This commit is contained in:
Dario Sassi
2014-10-21 10:50:51 +00:00
parent 05a24b331e
commit a36586fae5
3 changed files with 13 additions and 3 deletions
+1
View File
@@ -17,6 +17,7 @@
//----------------- Costanti generali ------------------------------------------
const int GDB_ID_ROOT = 0 ;
const int GDB_ID_NULL = -1 ;
const int GDB_ID_SEL = -2 ;
const int GDB_BEFORE = -1 ;
const int GDB_SON = 0 ;
const int GDB_AFTER = +1 ;
+4
View File
@@ -50,6 +50,10 @@ class IEGrScene
virtual bool SetBackground( Color colBackTop, Color colBackBottom) = 0 ;
virtual bool Draw( void) = 0 ;
virtual bool Select( const Point3d& ptView, int nW, int nH, int& nSel) = 0 ;
virtual bool UnselectableAdd( int nId) = 0 ;
virtual bool UnselectableRemove( int nId) = 0 ;
virtual bool UnselectableClearAll( void) = 0 ;
virtual bool UnselectableFind( int nId) = 0 ;
virtual bool GetSelectedObjs( INTVECTOR& nIds) = 0 ;
virtual int GetFirstSelectedObj( void) = 0 ;
virtual int GetNextSelectedObj( void) = 0 ;
+8 -3
View File
@@ -197,10 +197,12 @@ EIN_EXPORT BOOL __stdcall EgtExistsInfo( int nId, const wchar_t* wsKey) ;
EIN_EXPORT BOOL __stdcall EgtRemoveInfo( int nId, const wchar_t* wsKey) ;
// GeomDb Obj Selection
EIN_EXPORT BOOL __stdcall EgtIsSelectedObj( int nId) ;
EIN_EXPORT BOOL __stdcall EgtSelectObj( int nId) ;
EIN_EXPORT BOOL __stdcall EgtDeselectObj( int nId) ;
EIN_EXPORT BOOL __stdcall EgtDeselectAll( void) ;
EIN_EXPORT BOOL __stdcall EgtIsSelectedObj( int nId) ;
EIN_EXPORT int __stdcall EgtGetFirstSelectedObj( void) ;
EIN_EXPORT int __stdcall EgtGetNextSelectedObj( void) ;
// GeomDb CurveModif
EIN_EXPORT BOOL __stdcall EgtInvertCurve( int nId) ;
@@ -263,8 +265,11 @@ EIN_EXPORT BOOL __stdcall EgtSetWinRectAttribs( BOOL bOutline, int nRed, int nGr
EIN_EXPORT BOOL __stdcall EgtResize( int nW, int nH) ;
EIN_EXPORT BOOL __stdcall EgtDraw( void) ;
EIN_EXPORT BOOL __stdcall EgtSelect( int nWinX, int nWinY, int nSelW, int nSelH, int* pnSel) ;
EIN_EXPORT int __stdcall EgtGetFirstSelectedObj( void) ;
EIN_EXPORT int __stdcall EgtGetNextSelectedObj( void) ;
EIN_EXPORT int __stdcall EgtGetFirstObjInSelWin( void) ;
EIN_EXPORT int __stdcall EgtGetNextObjInSelWin( void) ;
EIN_EXPORT BOOL __stdcall EgtUnselectableAdd( int nId) ;
EIN_EXPORT BOOL __stdcall EgtUnselectableRemove( int nId) ;
EIN_EXPORT BOOL __stdcall EgtUnselectableClearAll( void) ;
EIN_EXPORT BOOL __stdcall EgtGetSelectedSnapPoint( int nSnap, int nWinX, int nWinY, int nSelW, int nSelH,
double ptP[3]) ;
EIN_EXPORT BOOL __stdcall EgtSetShowMode( int nShowMode, BOOL bRedraw) ;