MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / SelectNext

Method SelectNext

editor/TableManage.cpp:326–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326void GenericPageList::SelectNext(void) {
327 if (m_SelectedNode == NULL)
328 return;
329
330 if (m_SelectedNode->next == NULL) {
331 m_SelectedNode = m_head;
332 m_SelectedIndex = 0;
333 } else {
334 m_SelectedNode = m_SelectedNode->next;
335 m_SelectedIndex++;
336 }
337}
338
339void GenericPageList::SelectPrev(void) {
340 if (m_SelectedNode == NULL)

Callers 1

OnTableEditBtnNextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected