Add swiping support for castle and hero dialogs
Preliminary checks
- [X] I've checked that there aren't other open issues on the same topic.
Describe the problem requiring a solution
On mobile phone browsing between heroes and castles is very difficult because a user should press tiny arrow buttons to switch ti another hero or castle.
Describe the possible solution
Add swiping support for these dialogs. It can be done only for touchscreen devices and mouse is still the most accurate pointing device and keyboard is even faster.
Additional info
No response
Out of interest, would fheroes2 be able to recognise when the user has a laptop with a touchscreen for example, by the inertial nature of the movement? So a player could mostly take actions with the mouse but occasionally with touchscreen instead, for example, in the same session.
Web browsers do this as do many Microsoft applications, and they adjust their behaviour accordingly.