summaryrefslogtreecommitdiff
path: root/desktop/textarea.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-02-02 22:58:35 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-02-02 22:58:35 +0000
commit442218cb8047912d8e57936cb0a4ce791db9f31d (patch)
treec1c1f062df0b3e98576b379d5166aa675206801c /desktop/textarea.h
parent97bc1d01894c54e206e2001c26f333cd0c3f6d28 (diff)
downloadnetsurf-442218cb8047912d8e57936cb0a4ce791db9f31d.tar.gz
netsurf-442218cb8047912d8e57936cb0a4ce791db9f31d.tar.bz2
Pull flags out of textarea_setup.
Diffstat (limited to 'desktop/textarea.h')
-rw-r--r--desktop/textarea.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/desktop/textarea.h b/desktop/textarea.h
index d8e720bae..c54b08345 100644
--- a/desktop/textarea.h
+++ b/desktop/textarea.h
@@ -70,8 +70,6 @@ struct textarea_msg {
};
typedef struct textarea_setup {
- textarea_flags flags; /**< Setup flags */
-
int width; /**< Textarea width */
int height; /**< Textarea height */
@@ -105,7 +103,8 @@ typedef void(*textarea_client_callback)(void *data, struct textarea_msg *msg);
* \param data user specified data which will be passed to callbacks
* \return Opaque handle for textarea or 0 on error
*/
-struct textarea *textarea_create(const textarea_setup *setup,
+struct textarea *textarea_create(const textarea_flags flags,
+ const textarea_setup *setup,
textarea_client_callback callback, void *data);
/**