modm API documentation
|
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 |
Menu Entry of Standard Menu.
modm::MenuEntry< Allocator >::MenuEntry | ( | const char * | text, |
uint16_t | space, | ||
MenuEntryCallback< Allocator > | func | ||
) |
MenuEntry constructor.
text,name | to be displayed as menu entry |
space,available | to display menu entry in number of letters |
func | callback, which is called when entry is chosen |