Skip to content

Struct daisy::AbstractMenu::ItemConfig

ClassList > daisy > AbstractMenu > ItemConfig

Public Attributes

Type Name
struct daisy::AbstractMenu::ItemConfig asCallbackFunctionItem
struct daisy::AbstractMenu::ItemConfig asCheckboxItem
struct daisy::AbstractMenu::ItemConfig asCustomItem
struct daisy::AbstractMenu::ItemConfig asMappedValueItem
struct daisy::AbstractMenu::ItemConfig asOpenUiPageItem
void(* callbackFunction
void * context
union daisy::AbstractMenu::ItemConfig ItemConfig
CustomItem * itemObject
UiPage * pageToOpen
const char * text = ""
ItemType type = ItemType::closeMenuItem
bool * valueToModify
MappedValue * valueToModify

Public Attributes Documentation

variable asCallbackFunctionItem

struct daisy::AbstractMenu::ItemConfig daisy::AbstractMenu::ItemConfig::asCallbackFunctionItem;

Properties for type == ItemType::callbackFunctionItem


variable asCheckboxItem

struct daisy::AbstractMenu::ItemConfig daisy::AbstractMenu::ItemConfig::asCheckboxItem;

Properties for type == ItemType::checkboxItem


variable asCustomItem

struct daisy::AbstractMenu::ItemConfig daisy::AbstractMenu::ItemConfig::asCustomItem;

Properties for type == ItemType::customItem


variable asMappedValueItem

struct daisy::AbstractMenu::ItemConfig daisy::AbstractMenu::ItemConfig::asMappedValueItem;

Properties for type == ItemType::valueItem


variable asOpenUiPageItem

struct daisy::AbstractMenu::ItemConfig daisy::AbstractMenu::ItemConfig::asOpenUiPageItem;

Properties for type == ItemType::openUiPageItem


variable callbackFunction

void(* daisy::AbstractMenu::ItemConfig::callbackFunction) (void *context);

variable context

void* daisy::AbstractMenu::ItemConfig::context;

variable ItemConfig

union daisy::AbstractMenu::ItemConfig daisy::AbstractMenu::ItemConfig;

additional properties that depend on the value of type


variable itemObject

CustomItem* daisy::AbstractMenu::ItemConfig::itemObject;

The CustomItem to display. The object provided here must stay alive longer than the MenuPage, e.g. as a global variable.


variable pageToOpen

UiPage* daisy::AbstractMenu::ItemConfig::pageToOpen;

The UiPage to open when the okay button is pressed. The object must stay alive longer than the MenuPage, e.g. as a global variable.


variable text

const char* daisy::AbstractMenu::ItemConfig::text;

The name/text to display


variable type

ItemType daisy::AbstractMenu::ItemConfig::type;

The type of item


variable valueToModify [½]

bool* daisy::AbstractMenu::ItemConfig::valueToModify;

The variable to modify.


variable valueToModify [2/2]

MappedValue* daisy::AbstractMenu::ItemConfig::valueToModify;

The variable to modify.



The documentation for this class was generated from the following file external-docs/libDaisy/src/ui/AbstractMenu.h