diff options
Diffstat (limited to 'src/edbox.h')
| -rw-r--r-- | src/edbox.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/edbox.h b/src/edbox.h index c919ee9..4863407 100644 --- a/src/edbox.h +++ b/src/edbox.h @@ -5,6 +5,7 @@ #define EDBOX_SIZE 240 extern int edbox_visible; +extern u16 edbox_len; /* clear the contents of the edit box (whether it's visible or not) */ void edbox_clear(void); @@ -24,3 +25,6 @@ void edbox_keystroke(void); /* called when the user presses Return */ extern void (*edbox_callback)(void); + +/* set edit box contents (clears out whatever was there) */ +void edbox_set(char *contents); |
