]> ncurses.scripts.mit.edu Git - ncurses.git/blob - test/edit_field.h
ncurses 5.5
[ncurses.git] / test / edit_field.h
1 /*
2  * $Id: edit_field.h,v 1.3 2005/09/24 22:59:52 tom Exp $
3  *
4  * Interface of edit_field.c
5  */
6
7 #ifndef EDIT_FORM_H_incl
8 #define EDIT_FORM_H_incl 1
9
10 #include <form.h>
11
12 #define EDIT_FIELD(c) (MAX_FORM_COMMAND + c)
13
14 #define MY_HELP         EDIT_FIELD('h')
15 #define MY_QUIT         EDIT_FIELD('q')
16 #define MY_EDT_MODE     EDIT_FIELD('e')
17 #define MY_INS_MODE     EDIT_FIELD('t')
18
19 extern void help_edit_field(void);
20 extern int edit_field(FORM * form, int *result);
21
22 #endif /* EDIT_FORM_H_incl */