From d3030ff846ba3673f96ca142935b2f1e1b954423 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 10 Jun 2021 15:01:41 +0300 Subject: Mobile: Horizontal sidebar animation Also fixing glitch with search input field where pressing Return would insert newline. --- src/ui/inputwidget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/inputwidget.h') diff --git a/src/ui/inputwidget.h b/src/ui/inputwidget.h index f8c5bf1e..c70d9ad6 100644 --- a/src/ui/inputwidget.h +++ b/src/ui/inputwidget.h @@ -51,6 +51,7 @@ void setCursor_InputWidget (iInputWidget *, size_t pos); void setContentPadding_InputWidget (iInputWidget *, int left, int right); /* only affects the text entry */ void setMaxLayoutLines_InputWidget (iInputWidget *, size_t maxLayoutLines); void setValidator_InputWidget (iInputWidget *, iInputWidgetValidatorFunc validator, void *context); +void setEnterInsertsLF_InputWidget (iInputWidget *, iBool enterInsertsLF); void setEnterKeyEnabled_InputWidget (iInputWidget *, iBool enterKeyEnabled); void begin_InputWidget (iInputWidget *); void end_InputWidget (iInputWidget *, iBool accept); -- cgit v1.2.3