/* Copyright 2020, Stephen Fryatt (info@stevefryatt.org.uk)
 *
 * This file is part of Wimp Programming In C:
 *
 *   http://www.stevefryatt.org.uk/risc-os/wimp-prog
 *
 * Licensed under the EUPL, Version 1.2 only (the "Licence");
 * You may not use this work except in compliance with the
 * Licence.
 *
 * You may obtain a copy of the Licence at:
 *
 *   http://joinup.ec.europa.eu/software/page/eupl
 *
 * Unless required by applicable law or agreed to in
 * writing, software distributed under the Licence is
 * distributed on an "AS IS" basis, WITHOUT WARRANTIES
 * OR CONDITIONS OF ANY KIND, either express or implied.
 *
 * See the Licence for the specific language governing
 * permissions and limitations under the Licence.
 */

/**
 * File: menu.h
 */

#ifndef EXAMPLEAPP_MENU
#define EXAMPLEAPP_MENU

#include "oslib/wimp.h"

/* Menu Creation. */

wimp_menu *menu_create(char *title, int entries);

/* Menu Entry Configuration. */

void menu_entry(wimp_menu *menu, int entry, char *text, wimp_menu *sub_menu);

#endif

