Using demo code, just items "Settings" - "Menu 7" are displayed. Not "Menu 8". Also behavior of cursor is strange. Not possible to select "Menu 8". Instead of "Menu 8" is displayed page beginning with "Settings"...
Why following code in FOR cycle is used in getCurrentItem and render functions ?
for (; i && i != &Menu::NullItem && &i->Next && i->Next != &Menu::NullItem; i = getNext(i)) {
Why this condition ?
Ondrej
Using demo code, just items "Settings" - "Menu 7" are displayed. Not "Menu 8". Also behavior of cursor is strange. Not possible to select "Menu 8". Instead of "Menu 8" is displayed page beginning with "Settings"...
Why following code in FOR cycle is used in getCurrentItem and render functions ?
for (; i && i != &Menu::NullItem && &i->Next && i->Next != &Menu::NullItem; i = getNext(i)) {
Why this condition ?
Ondrej