Arcane workbench tooltip refactoring

- Reorganises the huge amount of code in the draw background/foreground methods into a hierarchical object system
- Makes the tooltip box change height to fit the content
- Adds text wrapping support for items/spells with super long names
- Adds proper format arguments to the mana readout translation
- The tooltip now shows the new spells that will be applied with a flashing animation
This commit is contained in:
Electroblob77
2020-04-10 15:56:34 +01:00
parent 5df98d5b95
commit 15d3d9e70b
5 changed files with 508 additions and 190 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 39 KiB