Go to the documentation of this file.
12#ifndef TCMENU_MENUHISTORYNAVIGATOR_H
13#define TCMENU_MENUHISTORYNAVIGATOR_H
17#ifndef NAV_ITEM_ARRAY_SIZE
18#define NAV_ITEM_ARRAY_SIZE 4
25 virtual void navigationHasChanged(
MenuItem* newItem,
bool completelyReset)=0;
30 class MenuNavigationStore {
35 MenuItem* navItems[NAV_ITEM_ARRAY_SIZE];
36 MenuItem* activeItems[NAV_ITEM_ARRAY_SIZE];
41 MenuNavigationStore() =
default;
44 void clearNavigationListeners() { navigationLister =
nullptr; }
46 void triggerNavigationListener(
bool completeReset);
Definition MenuHistoryNavigator.h:22