New modern icons and images system
Ellypse opened this issue ยท 2 comments
One of the major backward breaking change I would like to have for the transition to the new BfA expansion is a new modern icons and images system, that would be more flexible and future-proof.
Using object oriented classes, the icons and images system would be defined by:
- texture path or texture ID
- coordinates to crop individual icons located inside sprites (like this one)
- categories (tags)
- have helper methods to apply the texture to a button, output as an escape sequence and maybe more.
Note: Maybe the base Object model of these will be in Ellyb
Note: Work in Ellyb has been made to support abstracting icons usage to texture path or IDs.
Note: Keep an icons list generated for the browser (search function). Use GetFileIDFromPath when selecting an icon to use its ID. Use exclusively file IDs in all systems for consistency.