mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-09 10:06:35 -05:00
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. |
||
---|---|---|
.. | ||
button.go | ||
common.go | ||
d2gui.go | ||
doc.go | ||
label.go | ||
layout.go | ||
manager.go | ||
spacer.go | ||
sprite.go | ||
style.go | ||
widget.go |