Fork of https://www.curseforge.com/wow/addons/holdem
Changelog for WoWTexasHoldem.lua:
Backdrop Compatibility:
Added a function named ApplyBackdropFix at the start of the file to help bridge the gap between how backdrops worked in the original WoW and the Classic Era.
Changes to SetBackdropColor:
Modified the SetBackdropColor method inside the ApplyBackdropFix function to utilize SetVertexColor instead of SetColorTexture due to deprecations.
Changes to SetBackdrop:
Modified the SetBackdrop method inside the ApplyBackdropFix function to handle bgFile property from the backdrop table.
Implementation of ApplyBackdropFix:
Applied the ApplyBackdropFix function to various frames (popUpFrame, statusFrame, potFrame, seatFrame, buttonsFrame, autoButtonsFrame, etc.) to make them compatible with WoW Classic Era.
Mixin BackdropTemplate:
Utilized the BackdropTemplateMixin and BackdropTemplate for frames requiring backdrop functionality.