1 #ifndef _IPXE_EDITBOX_H 2 #define _IPXE_EDITBOX_H 40 WINDOW *win,
unsigned int row,
unsigned int col,
41 unsigned int width,
unsigned int flags )
int box(WINDOW *win, chtype verch, chtype horch)
Draw borders from single-byte characters and renditions around a window.
int edit_string(struct edit_string *string, int key)
Edit editable string.
void draw_editbox(struct edit_box *box) __nonnull
Draw text box widget.
WINDOW * win
Containing window.
unsigned int col
Starting column.
struct edit_box __attribute__
#define __nonnull
Declare a function's pointer parameters as non-null - i.e.
static int edit_editbox(struct edit_box *box, int key) __nonnull
Edit text box widget.
An editable text box widget.
Show stars instead of contents (for password widgets)
unsigned int first
First displayed character.
void init_editbox(struct edit_box *box, char *buf, size_t len, WINDOW *win, unsigned int row, unsigned int col, unsigned int width, unsigned int flags)
Initialise text box widget.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
struct edit_string string
Editable string.
edit_box_flags
Editable text box widget flags.
char * buf
Buffer for string.