ddnet/src/game
Robert Müller ae9a8fe3d4 Support overlapping scroll regions, always allow mouse scrolling
Support scrolling all scroll regions with the mouse wheel also while popup menus are open. Support overlapping scroll regions by always scrolling the top-most hovered scroll region on mouse wheel events.

The hot scroll region is now tracked separated by `CUi`, as tracking the IDs of all UI elements which are contained in scroll regions is not feasible. The separate active state for scroll regions is therefore unnecessary.

It's still necessary to disable `CListBox`es when popup menus are open, to ensure that only one list box consumes the key events.

Closes #8087. Supersedes #8090.
2024-03-12 22:15:20 +01:00
..
client Support overlapping scroll regions, always allow mouse scrolling 2024-03-12 22:15:20 +01:00
editor Merge pull request #8073 from Robyt3/Gamecore-Str-Validation 2024-03-10 13:48:08 +00:00
server Merge pull request #8085 from dobrykafe/pr-timecp 2024-03-11 07:34:54 +00:00
alloc.h Move alloc.h to game/ and use it in client/prediction/entity.h 2023-09-15 18:04:29 +03:00
collision.cpp Remove unnecessary check for entities close to map border 2024-01-18 22:44:22 +01:00
collision.h Fix readability-make-member-function-const 2023-12-14 23:38:03 +01:00
gamecore.cpp Add validation for StrToInts and IntsToStr 2024-03-10 12:49:56 +01:00
gamecore.h Add validation for StrToInts and IntsToStr 2024-03-10 12:49:56 +01:00
layers.cpp Ensure white color for entities layers when loading map layers 2023-12-11 13:37:23 +01:00
layers.h Remove Parallax Zoom from map file 2023-10-29 23:43:19 +01:00
localization.cpp Remove CLocConstString 2023-08-30 19:24:38 +02:00
localization.h Remove CLocConstString 2023-08-30 19:24:38 +02:00
mapbugs.cpp Remove obsolete clang-tidy NOLINT comments 2023-10-11 17:22:59 +02:00
mapbugs.h Remove code for CRC in most places, except where needed for net compat 2020-10-14 17:08:58 +02:00
mapbugs_list.h Revert "Add mapbug "stoppers-passthrough@ddnet.tw"" 2018-08-22 08:33:21 +02:00
mapitems.cpp Differentiate between normal and checkpoint teles 2023-12-27 15:23:57 +01:00
mapitems.h Differentiate between normal and checkpoint teles 2023-12-27 15:23:57 +01:00
mapitems_ex.cpp Remove Parallax Zoom from map file 2023-10-29 23:43:19 +01:00
mapitems_ex.h Remove Parallax Zoom from map file 2023-10-29 23:43:19 +01:00
mapitems_ex_types.h Remove Parallax Zoom from map file 2023-10-29 23:43:19 +01:00
prng.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
prng.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
teamscore.cpp Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
teamscore.h Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
tuning.h Replace 50 with SERVER_TICK_SPEED or TickSpeed() 2023-11-23 14:42:30 +01:00
version.h Version 18.0.3 2024-02-03 08:53:27 +01:00
voting.h Run clang-format 2020-09-26 21:50:15 +02:00