diff --git a/API_GdbObjAttribs.cpp b/API_GdbObjAttribs.cpp index f47f902..4113e50 100644 --- a/API_GdbObjAttribs.cpp +++ b/API_GdbObjAttribs.cpp @@ -266,6 +266,13 @@ __stdcall EgtSetInfoInt( int nId, const wchar_t* wsKey, int nInfo) return ( ExeSetInfo( nId, wstrztoA( wsKey), nInfo) ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtSetInfoDouble( int nId, const wchar_t* wsKey, double dInfo) +{ + return ( ExeSetInfo( nId, wstrztoA( wsKey), dInfo) ? TRUE : FALSE) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtGetInfo( int nId, const wchar_t* wsKey, wchar_t*& wsInfo) @@ -288,6 +295,17 @@ __stdcall EgtGetInfoInt( int nId, const wchar_t* wsKey, int* pnInfo) return ( ExeGetInfo( nId, wstrztoA( wsKey), *pnInfo) ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetInfoDouble( int nId, const wchar_t* wsKey, double* pdInfo) +{ + // verifico il parametro + if ( pdInfo == nullptr) + return FALSE ; + // recupero info + return ( ExeGetInfo( nId, wstrztoA( wsKey), *pdInfo) ? TRUE : FALSE) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtExistsInfo( int nId, const wchar_t* wsKey) diff --git a/API_GdbObjects.cpp b/API_GdbObjects.cpp index 6994c1e..7932d6f 100644 --- a/API_GdbObjects.cpp +++ b/API_GdbObjects.cpp @@ -113,6 +113,34 @@ __stdcall EgtGetPrevGroup( int nId) return ExeGetPrevGroup( nId) ; } +//----------------------------------------------------------------------------- +int +__stdcall EgtGetFirstNameInGroup( int nGroupId, const wchar_t* wsName) +{ + return ExeGetFirstNameInGroup( nGroupId, wstrztoA( wsName)) ; +} + +//----------------------------------------------------------------------------- +int +__stdcall EgtGetNextName( int nId, const wchar_t* wsName) +{ + return ExeGetNextName( nId, wstrztoA( wsName)) ; +} + +//----------------------------------------------------------------------------- +int +__stdcall EgtGetLastNameInGroup( int nGroupId, const wchar_t* wsName) +{ + return ExeGetLastNameInGroup( nGroupId, wstrztoA( wsName)) ; +} + +//----------------------------------------------------------------------------- +int +__stdcall EgtGetPrevName( int nId, const wchar_t* wsName) +{ + return ExeGetPrevName( nId, wstrztoA( wsName)) ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtGetBBox( int nId, int nFlag, double ptMin[3], double ptMax[3]) diff --git a/API_Nesting.cpp b/API_Nesting.cpp index 816b014..a719274 100644 --- a/API_Nesting.cpp +++ b/API_Nesting.cpp @@ -28,7 +28,7 @@ __stdcall EgtCreateFlatParts( int nType) //----------------------------------------------------------------------------- BOOL -__stdcall EgtPackPart( int nId, double dXmax, double dOffs) +__stdcall EgtPackPart( int nId, double dXmin, double dYmin, double dXmax, double dOffs) { - return ( ExePackPart( nId, dXmax, dOffs) ? TRUE : FALSE) ; + return ( ExePackPart( nId, dXmin, dYmin, dXmax, dOffs) ? TRUE : FALSE) ; } diff --git a/EgtInterface.rc b/EgtInterface.rc index 4da787b..58c7f0d 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ