| 350 | } |
| 351 | |
| 352 | void GenericPageList::SelectNode(uint32_t list_index) { |
| 353 | uint32_t j; |
| 354 | GenericPageNode *node; |
| 355 | |
| 356 | if (list_index < 0 || list_index > (m_size - 1)) |
| 357 | return; |
| 358 | |
| 359 | node = m_head; |
| 360 | for (j = 0; j < list_index; j++) |
| 361 | if (node != NULL) |
| 362 | node = node->next; |
| 363 | |
| 364 | m_SelectedNode = node; |
| 365 | m_SelectedIndex = list_index; |
| 366 | } |
| 367 | |
| 368 | void GenericPageList::DisplaySelected(CComboBox *list, CEdit *description) { |
| 369 | char *text; |
no outgoing calls
no test coverage detected