diff --git a/GeomDBTree.cpp b/GeomDBTree.cpp index 2fb206c..6ec6e2c 100644 --- a/GeomDBTree.cpp +++ b/GeomDBTree.cpp @@ -33,7 +33,7 @@ static char THIS_FILE[] = __FILE__; //--------------------------- Constants -------------------------------------- // indici icone per Tree enum { ICO_NOGEO = 0, ICO_GROUP, ICO_VECTOR, ICO_POINT, ICO_FRAME, - ICO_LINE, ICO_ARC, ICO_CBEZIER, ICO_CCOMPO} ; + ICO_LINE, ICO_ARC, ICO_CBEZIER, ICO_CCOMPO, ICO_STRIMESH} ; //---------------------------------------------------------------------------- @@ -57,6 +57,7 @@ CTestEGrDlg::PrepareTree( void) m_pImgList->Add( AfxGetApp()->LoadIcon( IDI_ARC)) ; m_pImgList->Add( AfxGetApp()->LoadIcon( IDI_CBEZIER)) ; m_pImgList->Add( AfxGetApp()->LoadIcon( IDI_CCOMPO)) ; + m_pImgList->Add( AfxGetApp()->LoadIcon( IDI_STRIMESH)) ; m_Tree.SetImageList( m_pImgList, TVSIL_NORMAL) ; return true ; @@ -178,6 +179,7 @@ CTestEGrDlg::GetGeoObjImage( int nType) case CRV_ARC : return ICO_ARC ; case CRV_BEZ : return ICO_CBEZIER ; case CRV_COMPO : return ICO_CCOMPO ; + case SRF_TRIMESH : return ICO_STRIMESH ; } return ICO_NOGEO ; } diff --git a/TestEGr.rc b/TestEGr.rc index 8dfc889..b91bf82 100644 Binary files a/TestEGr.rc and b/TestEGr.rc differ diff --git a/TestEGr.vcxproj b/TestEGr.vcxproj index c5d4aaf..c7c3609 100644 --- a/TestEGr.vcxproj +++ b/TestEGr.vcxproj @@ -210,6 +210,7 @@ + diff --git a/TestEGr.vcxproj.filters b/TestEGr.vcxproj.filters index 8e71db9..85d9721 100644 --- a/TestEGr.vcxproj.filters +++ b/TestEGr.vcxproj.filters @@ -66,6 +66,9 @@ File di risorse + + File di risorse + diff --git a/res/STriMesh.ico b/res/STriMesh.ico new file mode 100644 index 0000000..1ca4e25 Binary files /dev/null and b/res/STriMesh.ico differ diff --git a/resource.h b/resource.h index 2538e15..537903b 100644 Binary files a/resource.h and b/resource.h differ