1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-28 10:05:23 +00:00
OpenDiablo2/d2core/d2gui
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
..
button.go Centralized usage of Fonts to fix cache #515 (#556) 2020-07-07 20:16:22 -04:00
common.go Font manager abstraction (#545) 2020-07-05 15:56:48 -04:00
d2gui.go Removed render singleton. Updated refs. 2020-07-03 14:00:56 -04:00
doc.go moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
label.go moving enumerations out of d2interface (#552) 2020-07-06 21:26:08 -04:00
layout.go Fixing D2GUI based event propagation with d2input. #531 (#559) 2020-07-08 09:15:20 -04:00
manager.go Animation manager abstraction (#544) 2020-07-05 13:01:44 -04:00
spacer.go Continued work on GUI (#316) 2020-02-24 22:35:21 -05:00
sprite.go Animation manager abstraction (#544) 2020-07-05 13:01:44 -04:00
style.go Continued work on GUI (#316) 2020-02-24 22:35:21 -05:00
widget.go Fixing D2GUI based event propagation with d2input. #531 (#559) 2020-07-08 09:15:20 -04:00