TestEGr 1.5d1 :

- modifiche per Stm.
This commit is contained in:
Dario Sassi
2014-04-01 07:39:33 +00:00
parent 2b80bdbf32
commit 44b09526b1
6 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -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 ;
}