Re-Organize and Improve Overlay Code
What is the enhancement in mind?
Make overlay code easier to read and use by separating it into different files for each different area of the UI.
Organization
-
overlay.lua - common functions -
overlayContainers - bags, bank, void storage, guild bank -
overlayEncounterJournal -
overlayMail -
overlayMerchant -
overlayQuests -
overlayLoot -
overlayAuctionHouse -
overlaySets - previously setOverlay.lua -
overlayTradeskill - previously tradeskill.lua
Code changes
-
Rename individual "ItemOverlayEvent" methods to their own name (e.g. ContainersOverlayEvent) -
Modify original "ItemOverlayEvent" to instead send a AceEvent (maybe "OverlayUpdate"?) saying to update the overlays. -
Register AceEvent listeners to that event.