summaryrefslogtreecommitdiff
path: root/src/ui/inputwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/inputwidget.h')
-rw-r--r--src/ui/inputwidget.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/ui/inputwidget.h b/src/ui/inputwidget.h
index fc768e05..86484dcc 100644
--- a/src/ui/inputwidget.h
+++ b/src/ui/inputwidget.h
@@ -32,6 +32,13 @@ enum iInputMode {
32 overwrite_InputMode, 32 overwrite_InputMode,
33}; 33};
34 34
35iDeclareType(InputWidgetContentPadding)
36
37struct Impl_InputWidgetContentPadding {
38 int left;
39 int right;
40};
41
35void setHint_InputWidget (iInputWidget *, const char *hintText); 42void setHint_InputWidget (iInputWidget *, const char *hintText);
36void setMode_InputWidget (iInputWidget *, enum iInputMode mode); 43void setMode_InputWidget (iInputWidget *, enum iInputMode mode);
37void setMaxLen_InputWidget (iInputWidget *, size_t maxLen); 44void setMaxLen_InputWidget (iInputWidget *, size_t maxLen);
@@ -50,7 +57,9 @@ void setUrlContent_InputWidget (iInputWidget *, iBool isUrl);
50void setNotifyEdits_InputWidget (iInputWidget *, iBool notifyEdits); 57void setNotifyEdits_InputWidget (iInputWidget *, iBool notifyEdits);
51void setEatEscape_InputWidget (iInputWidget *, iBool eatEscape); 58void setEatEscape_InputWidget (iInputWidget *, iBool eatEscape);
52 59
53const iString * text_InputWidget (const iInputWidget *); 60const iString * text_InputWidget (const iInputWidget *);
61iInputWidgetContentPadding
62 contentPadding_InputWidget (const iInputWidget *);
54 63
55iLocalDef iInputWidget *newHint_InputWidget(size_t maxLen, const char *hint) { 64iLocalDef iInputWidget *newHint_InputWidget(size_t maxLen, const char *hint) {
56 iInputWidget *d = new_InputWidget(maxLen); 65 iInputWidget *d = new_InputWidget(maxLen);