1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-13 15:56:03 -05:00
OpenDiablo2/d2game/d2gamescreen
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
..
blizzard_intro.go removed most lint errors in d2gamescreen, except for map_engine_testing.go (#603) 2020-07-18 09:54:10 -04:00
character_select.go d2ui refactor (#699) 2020-08-06 10:30:23 -04:00
credits.go d2ui refactor (#699) 2020-08-06 10:30:23 -04:00
doc.go moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
escape_menu.go Sound engine and sound environments (#652) 2020-07-30 16:17:26 -04:00
game.go d2ui refactor (#699) 2020-08-06 10:30:23 -04:00
gui_testing.go removed most lint errors in d2gamescreen, except for map_engine_testing.go (#603) 2020-07-18 09:54:10 -04:00
main_menu.go d2ui refactor (#699) 2020-08-06 10:30:23 -04:00
map_engine_testing.go removed singleton screen manager instance (#696) 2020-08-05 22:31:56 -04:00
navigate.go removed most lint errors in d2gamescreen, except for map_engine_testing.go (#603) 2020-07-18 09:54:10 -04:00
select_hero_class.go d2ui refactor (#699) 2020-08-06 10:30:23 -04:00