1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-13 15:56:03 -05:00
OpenDiablo2/d2core/d2gui
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
..
button.go Centralized usage of Fonts to fix cache #515 (#556) 2020-07-07 20:16:22 -04:00
common.go Font manager abstraction (#545) 2020-07-05 15:56:48 -04:00
d2gui.go Removed render singleton. Updated refs. 2020-07-03 14:00:56 -04:00
doc.go moving package comments into doc.go files (#534) 2020-07-03 18:33:46 -04:00
label.go moving enumerations out of d2interface (#552) 2020-07-06 21:26:08 -04:00
layout.go D2input abstraction (#532) 2020-07-03 15:09:16 -04:00
manager.go Animation manager abstraction (#544) 2020-07-05 13:01:44 -04:00
spacer.go Continued work on GUI (#316) 2020-02-24 22:35:21 -05:00
sprite.go Animation manager abstraction (#544) 2020-07-05 13:01:44 -04:00
style.go Continued work on GUI (#316) 2020-02-24 22:35:21 -05:00
widget.go D2input abstraction (#532) 2020-07-03 15:09:16 -04:00