mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
A disabled button with the flag set runs its OnEnter and OnLeave scripts, with no highlight and no label refresh, as 4.3.4's CSimpleButton::OnLayerCursorEnter/Exit do. Co-hooks the button enter and leave (0x779490 / 0x7794E0). The flag is per button, set from Lua or the motionScriptsWhileDisabled XML attribute, and cleared when the frame is destroyed.