modm API documentation
modm::MenuEntry< Allocator > Struct Template Reference

Menu Entry of Standard Menu. More...

#include <modm/ui/menu/standard_menu.hpp>

Public Member Functions

 MenuEntry (const char *text, uint16_t space, MenuEntryCallback< Allocator > func)
 MenuEntry constructor. More...
 

Public Attributes

ScrollableText text
 
MenuEntryCallback< Allocator > callback
 

Detailed Description

template<typename Allocator = std::allocator<IAbstractView>>
struct modm::MenuEntry< Allocator >

Menu Entry of Standard Menu.

Author
Thorsten Lajewski

Constructor & Destructor Documentation

template<typename Allocator = std::allocator<IAbstractView>>
modm::MenuEntry< Allocator >::MenuEntry ( const char *  text,
uint16_t  space,
MenuEntryCallback< Allocator >  func 
)

MenuEntry constructor.

Parameters
text,nameto be displayed as menu entry
space,availableto display menu entry in number of letters
funccallback, which is called when entry is chosen

The documentation for this struct was generated from the following file: