ItemSubMenu

Functions

inline MenuItem *ITEM_SUBMENU(const char *text, MenuScreen *&screen)
class ItemSubMenu : public BaseItemZeroWidget
#include <ItemSubMenu.h>

Represents a submenu item in a menu.

This class extends the MenuItem class and provides functionality to navigate to a different screen when the item is selected.

Public Functions

inline ItemSubMenu(const char *text, MenuScreen *&screen)
Parameters:
  • text – text to display for the item

  • screen – the next screen to show

Protected Functions

inline virtual void handleCommit(LcdMenu *menu) override

Private Members

MenuScreen *&screen