mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
* feat(frame): Button:Set/GetNormalFontObject and Frame:IsProtected - button:SetNormalFontObject / GetNormalFontObject: 3.0's names for vanilla's SetTextFontObject / GetTextFontObject; delegate to them. Zygor Guides Viewer 2.0 and AceGUI-3.0 call the new names. - frame:IsProtected() returns false, false: vanilla has no protected frames (the secure system arrived in 2.0). AceHook-3.0 asks before hooking scripts. Verified in-game (1.12.1 client via VanillaFixes, Zygor Guides Viewer 2.0): Zygor sets its guide window's tab fonts with SetNormalFontObject while it builds, without an error. Not yet checked: that the font set reads back through GetTextFontObject and the reverse, and IsProtected's two values; the testkit check for those runs at the next login. * docs(frame): drop version and implementation notes from the new methods The SetNormalFontObject and IsProtected sections named the patches the APIs came from, said what 1.12 lacks, and described how the methods are implemented. User docs describe the contract only. --------- Co-authored-by: Brues <5278969+brues-code@users.noreply.github.com>