summaryrefslogtreecommitdiff
path: root/riscos/textarea.h
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2006-10-20 00:47:07 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2006-10-20 00:47:07 +0000
commit1e6345e562e2701d036dd953befd03273ea46b05 (patch)
tree08f62792e06e89af2f1623340477b1ede0d90668 /riscos/textarea.h
parent118d282ce71912a800981d3d9dbe5c1314e4f0b0 (diff)
downloadnetsurf-1e6345e562e2701d036dd953befd03273ea46b05.tar.gz
netsurf-1e6345e562e2701d036dd953befd03273ea46b05.tar.bz2
Allow textareas to reformat on icon change.
svn path=/trunk/netsurf/; revision=3012
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);