summaryrefslogtreecommitdiff
path: root/dw/ui.hh
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-11-25 01:54:16 +0000
committercorvid <corvid@lavabit.com>2012-11-25 01:54:16 +0000
commit975fc68c4d5bd9ce6ca2e536f4c8a3c6d59962b9 (patch)
tree5e1893c5946abc0d71265b60bbeab78b7a3a392e /dw/ui.hh
parentfae8ba37e74976b59ab41932d3b2c2165c688d91 (diff)
dw entry resource, mentions of maxLength should be size
Diffstat (limited to 'dw/ui.hh')
-rw-r--r--dw/ui.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/ui.hh b/dw/ui.hh
index f5cc17b9..41ab272b 100644
--- a/dw/ui.hh
+++ b/dw/ui.hh
@@ -481,7 +481,7 @@ public:
class EntryResource: public TextResource
{
public:
- enum { UNLIMITED_MAX_LENGTH = -1 };
+ enum { UNLIMITED_SIZE = -1 };
};
class MultiLineTextResource: public TextResource
@@ -541,7 +541,7 @@ public:
virtual ListResource *createListResource (ListResource::SelectionMode
selectionMode, int rows) = 0;
virtual OptionMenuResource *createOptionMenuResource () = 0;
- virtual EntryResource *createEntryResource (int maxLength, bool password,
+ virtual EntryResource *createEntryResource (int size, bool password,
const char *label) = 0;
virtual MultiLineTextResource *createMultiLineTextResource (int cols,
int rows) = 0;