diff options
Diffstat (limited to 'src/ui/inputwidget.h')
-rw-r--r-- | src/ui/inputwidget.h | 11 |
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 | ||
35 | iDeclareType(InputWidgetContentPadding) | ||
36 | |||
37 | struct Impl_InputWidgetContentPadding { | ||
38 | int left; | ||
39 | int right; | ||
40 | }; | ||
41 | |||
35 | void setHint_InputWidget (iInputWidget *, const char *hintText); | 42 | void setHint_InputWidget (iInputWidget *, const char *hintText); |
36 | void setMode_InputWidget (iInputWidget *, enum iInputMode mode); | 43 | void setMode_InputWidget (iInputWidget *, enum iInputMode mode); |
37 | void setMaxLen_InputWidget (iInputWidget *, size_t maxLen); | 44 | void setMaxLen_InputWidget (iInputWidget *, size_t maxLen); |
@@ -50,7 +57,9 @@ void setUrlContent_InputWidget (iInputWidget *, iBool isUrl); | |||
50 | void setNotifyEdits_InputWidget (iInputWidget *, iBool notifyEdits); | 57 | void setNotifyEdits_InputWidget (iInputWidget *, iBool notifyEdits); |
51 | void setEatEscape_InputWidget (iInputWidget *, iBool eatEscape); | 58 | void setEatEscape_InputWidget (iInputWidget *, iBool eatEscape); |
52 | 59 | ||
53 | const iString * text_InputWidget (const iInputWidget *); | 60 | const iString * text_InputWidget (const iInputWidget *); |
61 | iInputWidgetContentPadding | ||
62 | contentPadding_InputWidget (const iInputWidget *); | ||
54 | 63 | ||
55 | iLocalDef iInputWidget *newHint_InputWidget(size_t maxLen, const char *hint) { | 64 | iLocalDef iInputWidget *newHint_InputWidget(size_t maxLen, const char *hint) { |
56 | iInputWidget *d = new_InputWidget(maxLen); | 65 | iInputWidget *d = new_InputWidget(maxLen); |