1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-20 22:25:24 +00:00
OpenDiablo2/d2core/d2map
lord acc4c7a13e
d2ui refactor (#699)
* fixed lint errors in button.go

* fixed lint errors in checkbox.go

* Removed d2ui singleton, fixed nearly all lint errors

- Changed `UI` struct to `UIManager`, removed singleton
- UI element provider functions are now methods of the UI Manager
- Screens now use the UI manager to create UI elements
- game panels in d2player now use the UI Manager to create UI elements
- Only the UI manager knows about "widgets"; calls to `d2ui.AddWidget` in Screen instances have been removed

* changed ui element provider methods from `Create` to `New`
2020-08-06 10:30:23 -04:00
..
d2mapengine D2mapengine remove entity, minor edits (#694) 2020-08-05 21:27:45 -04:00
d2mapentity d2ui refactor (#699) 2020-08-06 10:30:23 -04:00
d2mapgen Lint cleanup (#628) 2020-07-26 14:52:54 -04:00
d2maprenderer D2mapengine remove entity, minor edits (#694) 2020-08-05 21:27:45 -04:00
d2mapstamp D2item hover highlight + name (#656) 2020-07-31 17:55:11 -04:00