1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-19 21:55:24 +00:00
OpenDiablo2/d2core
Maxime Lavigne (malavv) f7e0912f5f
Fixing D2GUI based event propagation with d2input. #531 (#559)
d2input made the move to immutable events. (ex. MouseMove) but
d2gui was using "local events" for its recursive layouts. Meaning
when entering a sub-layout, the original event was modified to have
the cursor relative to the x, and y of the parent layout.

After tossing ideas with Grav, we considered (1) making events modifiable,
(2) having an event constructor, (3) changing sub-Layout to use screen layout.

We choose (3), and this is the relevant commit.
2020-07-08 09:15:20 -04:00
..
d2asset Some slight DC6 cleanup (#557) 2020-07-08 09:14:09 -04:00
d2audio/ebiten More linting (#500) 2020-06-30 09:58:53 -04:00
d2config abstracted d2config to an interface (still have a singleton, though) (#538) 2020-07-04 00:49:16 -04:00
d2gui Fixing D2GUI based event propagation with d2input. #531 (#559) 2020-07-08 09:15:20 -04:00
d2hero moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
d2input moving enumerations out of d2interface (#552) 2020-07-06 21:26:08 -04:00
d2inventory moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
d2map Clean up monstats2 (#555) 2020-07-07 15:04:18 -04:00
d2object Apply some more object animation settings (#549) 2020-07-06 20:12:53 -04:00
d2render/ebiten cleaned globals of the d2render/ebiten package (#554) 2020-07-07 08:57:40 -04:00
d2screen moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
d2term moving enumerations out of d2interface (#552) 2020-07-06 21:26:08 -04:00
d2ui Centralized usage of Fonts to fix cache #515 (#556) 2020-07-07 20:16:22 -04:00