void ro_textarea_replace_text(uintptr_t self, unsigned int start, unsigned int end, const char *text)
Replace text in a text area.
bool ro_textarea_update(uintptr_t self)
Update the a text area following a change in the parent icon.
bool ro_textarea_set_text(uintptr_t self, const char *text)
Set the text in a text area, discarding any current text.
int ro_textarea_get_text(uintptr_t self, char *buf, unsigned int len)
Extract the text from a text area.
unsigned int ro_textarea_get_caret(uintptr_t self)
Get the caret's position.
void ro_textarea_set_caret(uintptr_t self, unsigned int caret)
Set the caret's position.
void ro_textarea_destroy(uintptr_t self)
Destroy a text area.
void ro_textarea_set_caret_xy(uintptr_t self, int x, int y)
Set the caret's position.
uintptr_t ro_textarea_create(wimp_w parent, wimp_i icon, unsigned int flags, const char *font_family, unsigned int font_size, rufl_style font_style)
Create a text area.
void ro_textarea_insert_text(uintptr_t self, unsigned int index, const char *text)
Insert text into the text area.
static nserror text(const struct redraw_context *ctx, const struct plot_font_style *fstyle, int x, int y, const char *text, size_t length)
Text plotting.