| 508 | } |
| 509 | |
| 510 | void CReClassExApp::ClearSelection( ) |
| 511 | { |
| 512 | for (UINT i = 0; i < m_Classes.size( ); i++) |
| 513 | { |
| 514 | m_Classes[i]->Unselect( ); |
| 515 | for (UINT n = 0; n < m_Classes[i]->NodeCount( ); n++) |
| 516 | { |
| 517 | CNodeBase* pNode = m_Classes[i]->GetNode( n ); |
| 518 | pNode->Unselect( ); |
| 519 | |
| 520 | NodeType nt = pNode->GetType( ); |
| 521 | if (nt == nt_vtable) |
| 522 | { |
| 523 | CNodeVTable* pVTable = (CNodeVTable*)pNode; |
| 524 | for (UINT f = 0; f < pVTable->NodeCount( ); f++) |
| 525 | { |
| 526 | pVTable->GetNode( f )->Unselect( ); |
| 527 | } |
| 528 | } |
| 529 | if (nt == nt_array) |
| 530 | { |
| 531 | CNodeArray* pArray = (CNodeArray*)pNode; |
| 532 | pArray->Unselect( ); |
| 533 | } |
| 534 | if (nt == nt_pointer) |
| 535 | { |
| 536 | CNodePtr* pPtr = (CNodePtr*)pNode; |
| 537 | pPtr->Unselect( ); |
| 538 | } |
| 539 | } |
| 540 | } |
| 541 | } |
| 542 | |
| 543 | void CReClassExApp::ClearHidden( ) |
| 544 | { |