From 97bc1d01894c54e206e2001c26f333cd0c3f6d28 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 1 Feb 2013 18:29:27 +0000 Subject: Add support for password text inputs. + Text display obscured. + Cut/Copy put the obscured version on the clipboard. --- desktop/textarea.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'desktop/textarea.h') 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 { -- cgit v1.2.3