mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Port retail's Blizzard_SharedXML/Backdrop: the BackdropTemplate template, BackdropTemplateMixin, and the BACKDROP_* tables (verbatim). Retail draws the backdrop with nine textures of its own because its frames lost the C backdrop; 1.12's frames still have it and it lays out the same nine slices (benilla-re ui/backdrop), so the mixin keeps retail's state and methods (backdropInfo, HasBackdropInfo, ApplyBackdrop, ClearBackdrop, GetEdgeSize, the OnLoad key values) and draws through the engine's SetBackdrop. SetBackdrop with the table already applied keeps the colours, as retail's does. GetBackdrop and the colour methods stay the engine's own. SetBorderBlendMode and backdropBorderBlendMode are not ported: Lua cannot reach the engine's edge textures.