Codechange: merge duplicated logic to scroll in lists by key into a single function

This commit is contained in:
Rubidium
2021-04-18 20:29:46 +02:00
committed by rubidium42
parent b3495f1a13
commit bf4fe19a66
5 changed files with 86 additions and 114 deletions

View File

@@ -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;
};
/**