1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-20 22:25:24 +00:00
OpenDiablo2/d2game/d2gamescreen
Maxime Lavigne (malavv) 0a78a1adcc
Centralized usage of Fonts to fix cache #515 (#556)
The split between d2ui and d2asset Font version caused incorrect caching between the two. After looking at d2interface.Font, I saw the d2asset was the most recent and more tightly and cleanly packaged.

I therefore removed the old d2ui.Font and embedded the d2asset version in the d2ui.Label and d2ui.Button.

Looking at the code of d2ui, it would be logical to completly swap it for their d2gui version. But at least for the moment, the d2ui.Button as more functionality since it embeds a Label (instead of a font), and this label now has multiline horizontal alignement.
2020-07-07 20:16:22 -04:00
..
blizzard_intro.go Remaining lint fixes for the d2gamescreen package (#550) 2020-07-06 20:13:55 -04:00
character_select.go Centralized usage of Fonts to fix cache #515 (#556) 2020-07-07 20:16:22 -04:00
credits.go Centralized usage of Fonts to fix cache #515 (#556) 2020-07-07 20:16:22 -04:00
doc.go moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
escape_menu.go moving enumerations out of d2interface (#552) 2020-07-06 21:26:08 -04:00
game.go Remaining lint fixes for the d2gamescreen package (#550) 2020-07-06 20:13:55 -04:00
gui_testing.go Remaining lint fixes for the d2gamescreen package (#550) 2020-07-06 20:13:55 -04:00
main_menu.go Centralized usage of Fonts to fix cache #515 (#556) 2020-07-07 20:16:22 -04:00
map_engine_testing.go moving enumerations out of d2interface (#552) 2020-07-06 21:26:08 -04:00
select_hero_class.go Centralized usage of Fonts to fix cache #515 (#556) 2020-07-07 20:16:22 -04:00