1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-19 13:45:23 +00:00
OpenDiablo2/d2core
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
..
d2asset lint and minor refactor of d2common (#690) 2020-08-05 00:03:33 -04:00
d2audio fixed lint errors in d2audio (#691) 2020-08-05 01:17:25 -04:00
d2config Removed Configuration interface (#560) 2020-07-08 09:16:16 -04:00
d2gui fixed lint errors in d2gui (#692) 2020-08-05 13:51:19 -04:00
d2hero moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
d2input fixed lint errors in d2input (#693) 2020-08-05 13:51:35 -04:00
d2inventory moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
d2item simple inventory item descriptions (#672) 2020-08-03 13:44:00 -04:00
d2map d2ui refactor (#699) 2020-08-06 10:30:23 -04:00
d2object D2mapengine remove entity, minor edits (#694) 2020-08-05 21:27:45 -04:00
d2render/ebiten fixed lint errors in d2render (#695) 2020-08-05 22:04:36 -04:00
d2screen d2ui refactor (#699) 2020-08-06 10:30:23 -04:00
d2stats simple inventory item descriptions (#672) 2020-08-03 13:44:00 -04:00
d2term fixed a couple lint errors in d2term (#697) 2020-08-05 22:32:23 -04:00
d2ui d2ui refactor (#699) 2020-08-06 10:30:23 -04:00