2 * This is just a sample piece of code that shows how to use some structs -
10 /* prototypes are necessary */
16 typedef void menuString;
18 static const menuString subMenu1 = {
19 (char)0, (char)(3*15),
20 (unsigned)0, (unsigned)50,
22 "subitem1", (char)MENU_ACTION, (unsigned)smenu1,
23 "subitem2", (char)MENU_ACTION, (unsigned)smenu2,
24 "subitem3", (char)MENU_ACTION, (unsigned)smenu3