1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-05 17:57:17 -05:00
OpenDiablo2/d2game/d2player
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
..
doc.go moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
equipment_slot.go moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
game_controls.go Centralized usage of Fonts to fix cache #515 (#556) 2020-07-07 20:16:22 -04:00
hero_stats_panel.go Centralized usage of Fonts to fix cache #515 (#556) 2020-07-07 20:16:22 -04:00
input_callback_listener.go 412 missle animation (#470) 2020-06-26 20:03:00 -04:00
inventory_grid_test.go Map generation and test fixes (#430) 2020-06-24 00:04:27 -04:00
inventory_grid.go minor edits (#486) 2020-06-29 00:41:58 -04:00
inventory.go minor edits (#486) 2020-06-29 00:41:58 -04:00
player_state.go d2hero is *nearly* lint free #487. (#506) 2020-06-30 17:03:20 -04:00