Lines Matching refs:shortcut
392 Menu::shortcut* shortcut = new(std::nothrow) Menu::shortcut;
393 if (shortcut == NULL)
396 shortcut->key = key;
397 shortcut->function = function;
399 shortcut->next = fShortcuts;
400 fShortcuts = shortcut;
410 const Menu::shortcut* shortcut = fShortcuts;
411 while (shortcut != NULL) {
412 if (shortcut->key == key)
413 return shortcut->function;
415 shortcut = shortcut->next;