Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
99f02e6c1This file is pinned to the selected release. Download the original to open it in your design tool.
#include "MenuActionItem.hpp"
MenuActionItem::MenuActionItem(
const char *name,
MenuItemAction action
)
: MenuItem(name) {
init(name, action);
}
void MenuActionItem::init(
const char *name,
MenuItemAction action
) {
_action = action;
}
void MenuActionItem::debug(int i) {
MenuItem::debug(i);
printf(" = ACTION: ");
_action();
}