From aaa5d18c3f1540c18bb9dae80927df2803c42049 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Tue, 20 Jul 2021 14:00:59 +0300 Subject: Revising InputWidget (continued) Finding cursor position via coordinates. Handling the mark. Visual wrapped lines vs. content lines. Vertical scrolling inside the visual range. --- src/ui/inputwidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/inputwidget.h') diff --git a/src/ui/inputwidget.h b/src/ui/inputwidget.h index 4fb2c9dc..a4246733 100644 --- a/src/ui/inputwidget.h +++ b/src/ui/inputwidget.h @@ -49,7 +49,7 @@ void setTextCStr_InputWidget (iInputWidget *, const char *cstr); void setFont_InputWidget (iInputWidget *, int fontId); //void setCursor_InputWidget (iInputWidget *, size_t pos); void setContentPadding_InputWidget (iInputWidget *, int left, int right); /* only affects the text entry */ -void setLineLimits_InputWidget (iInputWidget *, int minVis, int maxVis); +void setLineLimits_InputWidget (iInputWidget *, int minLines, int maxLines); void setValidator_InputWidget (iInputWidget *, iInputWidgetValidatorFunc validator, void *context); void setEnterInsertsLF_InputWidget (iInputWidget *, iBool enterInsertsLF); void setEnterKeyEnabled_InputWidget (iInputWidget *, iBool enterKeyEnabled); -- cgit v1.2.3