From bf4fe19a6684231d04764c3bee5ed51e4124a925 Mon Sep 17 00:00:00 2001 From: Rubidium Date: Sun, 18 Apr 2021 20:29:46 +0200 Subject: Codechange: merge duplicated logic to scroll in lists by key into a single function --- src/widget_type.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/widget_type.h') diff --git a/src/widget_type.h b/src/widget_type.h index 1692ef226..c88727a2f 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -749,6 +749,7 @@ public: } int GetScrolledRowFromWidget(int clickpos, const Window * const w, int widget, int padding = 0, int line_height = -1) const; + EventState UpdateListPositionOnKeyPress(int &list_position, uint16 keycode) const; }; /** -- cgit v1.2.3-54-g00ecf