summaryrefslogtreecommitdiff
path: root/desktop/textarea.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-02-01 18:29:27 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-02-01 18:29:27 +0000
commit97bc1d01894c54e206e2001c26f333cd0c3f6d28 (patch)
tree887c00d4a5da6320264078fae9c5e257b341d3bd /desktop/textarea.h
parent5ee7c6fd5c33a0656908bb660abbbdb117b483dc (diff)
downloadnetsurf-97bc1d01894c54e206e2001c26f333cd0c3f6d28.tar.gz
netsurf-97bc1d01894c54e206e2001c26f333cd0c3f6d28.tar.bz2
Add support for password text inputs.
+ Text display obscured. + Cut/Copy put the obscured version on the clipboard.
Diffstat (limited to 'desktop/textarea.h')
-rw-r--r--desktop/textarea.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/textarea.h b/desktop/textarea.h
index 6a1a4714d..d8e720bae 100644
--- a/desktop/textarea.h
+++ b/desktop/textarea.h
@@ -37,7 +37,8 @@ typedef enum {
TEXTAREA_DEFAULT = (1 << 0), /**< Standard input */
TEXTAREA_MULTILINE = (1 << 1), /**< Multiline area */
TEXTAREA_READONLY = (1 << 2), /**< Non-editable */
- TEXTAREA_INTERNAL_CARET = (1 << 3) /**< Render own caret */
+ TEXTAREA_INTERNAL_CARET = (1 << 3), /**< Render own caret */
+ TEXTAREA_PASSWORD = (1 << 4) /**< Obscured display */
} textarea_flags;
typedef enum {