4 * [Generated from menu, 25 September 1996]
7 #if !defined(__CC_NORCROFT) || !defined(__arm)
8 #error You must use the Norcroft ARM Compiler for Sapphire programs
11 #pragma include_only_once
12 #pragma force_top_level
21 /*----- Overview ----------------------------------------------------------*
30 /* --- menu_create --- *
32 * On entry: R0 == pointer to menu definition table
33 * R1 == event handler to use
34 * R2 == R10 value for handler
35 * R3 == R12 value for handler
39 * Use: Creates a menu from the given menu definition
40 * table. If this call is called more than once before
41 * a menu is opened then the menu definiton are concatenated
42 * into a large menu. Only the first menu title read is
43 * taken notice of. Notice therefore, that the call doesn't
44 * actually open a menu.
47 extern routine menu_create;
49 /* --- menu_help --- *
51 * On entry: R0 == pointer to base message tag
52 * R1 == index of menu item
56 * Use: Adds a string to the help message found by adding the menu
57 * item number to the base message tag.
60 extern routine menu_help;
62 /* --- menu_init --- *
68 * Use: Initialises the menu system.
71 extern routine menu_init;
73 /*----- That's all, folks -------------------------------------------------*/