#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include "u_mem.h"#include "fix.h"#include "types.h"#include "gr.h"#include "ui.h"#include "key.h"#include "mono.h"#include "func.h"#include "error.h"Classes | |
| struct | ITEM |
| struct | MENU |
Defines | |
| #define | MAXMENUS 30 |
| #define | MAXITEMS 40 |
| #define | CMENU (Menu[0].CurrentItem+1) |
Functions | |
| void | item_show (MENU *menu, int n) |
| void | menu_show (MENU *menu) |
| void | menu_hide (MENU *menu) |
| void | menu_move_bar_to (MENU *menu, int number) |
| int | menu_match_keypress (MENU *menu, int keypress) |
| int | menu_is_mouse_on (ITEM *item) |
| int | menu_check_mouse_item (MENU *menu) |
| void | menu_hide_all () |
| void | do_state_0 (int keypress) |
| void | do_state_1 (int keypress) |
| void | do_state_2 (int keypress) |
| void | do_state_3 (int keypress) |
| void | menubar_do (int keypress) |
| void | CommaParse (int n, char *dest, char *source) |
| void | menubar_init (char *file) |
| void | menubar_hide () |
| void | menubar_show () |
| void | menubar_close () |
Variables | |
| MENU | Menu [MAXMENUS] |
| static int | num_menus = 0 |
| static int | state |
| static int | menubar_hid |
| static int | state2_alt_down |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6