summaryrefslogtreecommitdiff
path: root/src/ios.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ios.h')
-rw-r--r--src/ios.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/ios.h b/src/ios.h
index 2908d833..ff07b2e8 100644
--- a/src/ios.h
+++ b/src/ios.h
@@ -65,15 +65,16 @@ void updateNowPlayingInfo_iOS (void);
65/*----------------------------------------------------------------------------------------------*/ 65/*----------------------------------------------------------------------------------------------*/
66 66
67enum iSystemTextInputFlags { 67enum iSystemTextInputFlags {
68 multiLine_SystemTextInputFlags = iBit(1), 68 selectAll_SystemTextInputFlags = iBit(1),
69 returnGo_SystemTextInputFlags = iBit(2), 69 multiLine_SystemTextInputFlags = iBit(2),
70 returnSend_SystemTextInputFlags = iBit(3), 70 returnGo_SystemTextInputFlags = iBit(3),
71 disableAutocorrect_SystemTextInputFlag = iBit(4), 71 returnSend_SystemTextInputFlags = iBit(4),
72 alignRight_SystemTextInputFlag = iBit(5), 72 disableAutocorrect_SystemTextInputFlag = iBit(5),
73 alignRight_SystemTextInputFlag = iBit(6),
73}; 74};
74 75
75iDeclareType(SystemTextInput) 76iDeclareType(SystemTextInput)
76iDeclareTypeConstructionArgs(SystemTextInput, int flags) 77iDeclareTypeConstructionArgs(SystemTextInput, iRect rect, int flags)
77 78
78void setRect_SystemTextInput (iSystemTextInput *, iRect rect); 79void setRect_SystemTextInput (iSystemTextInput *, iRect rect);
79void setText_SystemTextInput (iSystemTextInput *, const iString *text); 80void setText_SystemTextInput (iSystemTextInput *, const iString *text);
@@ -81,3 +82,4 @@ void setFont_SystemTextInput (iSystemTextInput *, int fontId);
81void setTextChangedFunc_SystemTextInput (iSystemTextInput *, void (*textChangedFunc)(iSystemTextInput *, void *), void *); 82void setTextChangedFunc_SystemTextInput (iSystemTextInput *, void (*textChangedFunc)(iSystemTextInput *, void *), void *);
82 83
83const iString * text_SystemTextInput (const iSystemTextInput *); 84const iString * text_SystemTextInput (const iSystemTextInput *);
85int preferredHeight_SystemTextInput (const iSystemTextInput *);