void menupage_drag_drop(menu_t *menu) { menupage_t *page = menu->current_page; if (page->ordering) { item_grabbed = ! item_grabbed; menu->changed = TRUE; menu_event_refresh(); } }
void menu_repeat_left(menu_t *menu, const int repeating) { menupage_t *page = menu->current_page; menuitem_t *item = get_current_item(page); if (item && !item->readonly && item->dec) { item->dec(item, repeating); if (item->change) item->change(item); menu->changed = true; menu_event_refresh(); } }