1 #ifndef _GPXE_EDITBOX_H
2 #define _GPXE_EDITBOX_H
6 * Editable text box widget
11 #include <gpxe/editstring.h>
13 /** An editable text box widget */
15 /** Editable string */
16 struct edit_string string;
17 /** Containing window */
21 /** Starting column */
25 /** First displayed character */
29 extern void init_editbox ( struct edit_box *box, char *buf, size_t len,
30 WINDOW *win, unsigned int row, unsigned int col,
32 extern void draw_editbox ( struct edit_box *box );
33 extern int edit_editbox ( struct edit_box *box, int key );
35 #endif /* _GPXE_EDITBOX_H */