|
iPXE
|
Text widget operations. More...
#include <widget.h>
Data Fields | |
| void(* | draw )(struct widget *widget) |
| Draw widget. More... | |
| int(* | edit )(struct widget *widget, int key) |
| Edit widget. More... | |
Draw widget.
| widget | Text widget |
Definition at line 44 of file widget.h.
Referenced by draw_widget().
Edit widget.
| widget | Text widget |
| key | Key pressed by user |
| key | Key returned to application, or zero |
This will not update the display: you must call the draw() method to ensure that any changes to an editable widget are displayed to the user.
Definition at line 56 of file widget.h.
Referenced by edit_widget().
1.8.15