4
static int really_quit(void);
5
static int dont_stop(void);
10
static Objects objects[] = {
11
MENU("QUIT", really_quit, &use),
12
MENU("ZOOM", zoom, &use),
13
MENU("PLOT CELL", plotcell, &use),
14
MENU("CAMERA", drawcam, &use),
15
MENU("ANALYZE", analyze, &use),
16
INFO(" Input method -> ", &use),
17
OPTION("KEYBOARD", 2, &from_keyboard),
18
OPTION("CAMERA FILE", 2, &from_screen),
23
Input_pointer(objects);
29
static int really_quit(void)
31
static Objects objects[] = {
32
INFO("really quit? ", &use),
33
MENU("NO", dont_stop, &use),
34
MENU("YES", stop, &use),
37
if (Input_pointer(objects) < 0)
39
return 0; /* don't quit */
42
static int dont_stop(void)