TestEGr 1.5f1 :

- ricompilato con piccole modifiche.
This commit is contained in:
Dario Sassi
2014-06-03 13:24:21 +00:00
parent 0349030616
commit 71cac44bdc
8 changed files with 19 additions and 5 deletions
+3 -1
View File
@@ -33,7 +33,7 @@ static char THIS_FILE[] = __FILE__;
//--------------------------- Constants --------------------------------------
// indici icone per Tree
enum { ICO_MATERS = 0, ICO_ONEMATER, ICO_NOGEO, ICO_GROUP, ICO_VECTOR, ICO_POINT,
ICO_FRAME, ICO_LINE, ICO_ARC, ICO_CBEZIER, ICO_CCOMPO, ICO_STRIMESH} ;
ICO_FRAME, ICO_LINE, ICO_ARC, ICO_CBEZIER, ICO_CCOMPO, ICO_STRIMESH, ICO_TEXT} ;
// costanti per materiali custom/ geometrie
static const int GEOM = 0x0000000 ;
static const int CMAT = 0x1000000 ;
@@ -62,6 +62,7 @@ CTestEGrDlg::PrepareTree( void)
m_pImgList->Add( AfxGetApp()->LoadIcon( IDI_CBEZIER)) ;
m_pImgList->Add( AfxGetApp()->LoadIcon( IDI_CCOMPO)) ;
m_pImgList->Add( AfxGetApp()->LoadIcon( IDI_STRIMESH)) ;
m_pImgList->Add( AfxGetApp()->LoadIcon( IDI_TEXT)) ;
m_Tree.SetImageList( m_pImgList, TVSIL_NORMAL) ;
return true ;
@@ -221,6 +222,7 @@ CTestEGrDlg::GetGeoObjImage( int nType)
case CRV_BEZ : return ICO_CBEZIER ;
case CRV_COMPO : return ICO_CCOMPO ;
case SRF_TRIMESH : return ICO_STRIMESH ;
case EXT_TEXT : return ICO_TEXT ;
}
return ICO_NOGEO ;
}