1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Hero/town lists are now scrollable with mouse wheel

This commit is contained in:
Ivan Savenko
2023-05-27 17:29:19 +03:00
parent dc8e9cd048
commit 261308b942
2 changed files with 13 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ protected:
CListItem(CList * parent);
~CListItem();
void wheelScrolled(int distance, bool inside) override;
void clickRight(tribool down, bool previousState) override;
void clickLeft(tribool down, bool previousState) override;
void hover(bool on) override;