summaryrefslogtreecommitdiff
path: root/riscos/textarea.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/textarea.h')
-rw-r--r--riscos/textarea.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/riscos/textarea.h b/riscos/textarea.h
index a40bfb9ad..5a9a5f2d6 100644
--- a/riscos/textarea.h
+++ b/riscos/textarea.h
@@ -11,7 +11,10 @@
#ifndef _NETSURF_RISCOS_TEXTAREA_H_
#define _NETSURF_RISCOS_TEXTAREA_H_
+#include <stdbool.h>
+#include <stdint.h>
#include "rufl.h"
+#include "oslib/wimp.h"
/* Text area flags */
#define TEXTAREA_MULTILINE 0x01 /**< Text area is multiline */
@@ -20,6 +23,7 @@
uintptr_t textarea_create(wimp_w parent, wimp_i icon, unsigned int flags,
const char *font_family, unsigned int font_size,
rufl_style font_style);
+bool textarea_update(uintptr_t self);
void textarea_destroy(uintptr_t self);
bool textarea_set_text(uintptr_t self, const char *text);
int textarea_get_text(uintptr_t self, char *buf, unsigned int len);