2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
33int popup_view(Init *,
int,
char **,
int,
int,
int,
int);
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53int popup_menu(Init *init,
int argc,
char **argv,
int by,
int bx) {
57 Menu *sav_menu = init
->menu;
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83int popup_pick(Init *init,
int argc,
char **argv,
int by,
int bx) {
87 Pick *sav_pick = init
->pick;
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112int popup_form(Init *init,
int argc,
char **argv,
int by,
int bx) {
116 Form *sav_form = init
->form;
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144int popup_view(Init *init,
int argc,
char **argv,
int ilines,
int icols,
int by,
150 View *view_sav = init
->view;
152 View *view =
nullptr;
int popup_form(Init *, int, char **, int, int)
instantiate a form popup window
int popup_menu(Init *, int, char **, int, int)
instantiate a menu popup window
int popup_view(Init *, int, char **, int, int, int, int)
instantiate a view popup window
int popup_pick(Init *, int, char **, int, int)
instantiate a pick popup window
int init_form(Init *, int, char **, int, int)
Initialize form data structure and parse description file.
int parse_opt_args(Init *, int, char **)
Parse command-line options and set Init struct values accordingly.
void zero_opt_args(Init *)
Initialize optional arguments in the Init struct to default values.
int init_view_boxwin(Init *)
Initialize the C-Menu View in box window mode.
View * destroy_view(Init *init)
Destroy View structure.
Menu * new_menu(Init *, int, char **, int, int)
Create and initialize Menu structure.
Menu * destroy_menu(Init *init)
Destroy Menu structure.
Form * destroy_form(Init *init)
Destroy Form structure.
View * new_view(Init *)
Create and initialize View structure.
Pick * destroy_pick(Init *init)
Destroy Pick structure.
unsigned int menu_engine(Init *)
The main loop of the menu system.
int init_pick(Init *, int, char **, int, int)
Initializes pick structure and opens pick input file or pipe.
int view_file(Init *)
Start view.