Skip to content

Unified border system + border animations#119

Open
Krathe82 wants to merge 2 commits into
DanderBot:mainfrom
Krathe82:pr/border-system
Open

Unified border system + border animations#119
Krathe82 wants to merge 2 commits into
DanderBot:mainfrom
Krathe82:pr/border-system

Conversation

@Krathe82
Copy link
Copy Markdown
Contributor

@Krathe82 Krathe82 commented Jun 4, 2026

Routes every border through one engine (DF.Border) with consistent Style / Colour / Alpha / Gradient controls — the frame border, buff/debuff aura icons, aura bars, defensive icons, missing-buff, resource bar, pet frames and targeted spells all share the same border code and options.

Highlights

  • One border engine + shared options (CreateBorderControls) reused across every element.
  • Optional border animations — 10 effects (pulse, wipe, ripple, segment reveal, sides/corners-only, proc glow, dash, …) wherever a border is drawn, via embedded LibCustomGlow-1.0.
  • Shared expiring engine (DF.Expiring) with per-entry throttle/stagger to keep overhead low when many borders are expiring at once.
  • Idempotent migration shims map the old per-element border keys → the canonical unified keys (legacy keys preserved).

Fixes included

  • Frame/element borders fade out of range reliably, preserved across border re-renders.
  • The defensive cooldown icon and its border render above auras and stay co-planar.

Notes

  • Embeds a new vendored library, Libs/LibCustomGlow-1.0 (drives the glow animations).
  • Architecture overview in docs/border-expiry-system.md.
  • The diff is large because the rework touches every element's border wiring — the engine itself is Frames/Border.lua / Frames/Expiring.lua; the rest is wiring + options.

First of a sequenced set: borders → defaults → fixes → icons.

Krathe82 added 2 commits June 3, 2026 01:19
…tling

Route every border (frame, square/icon, bar, defensive icon, missing buff,
resource bar, pet, targeted spells) through a single DF.Border engine with
shared style / alpha / gradient controls and 10 animation effects (LibCustomGlow
embedded). Add DF.Expiring with per-entry throttle + stagger for the expiring
border ticker. Defensive-icon and missing-buff border fixes (frame level,
co-planar with the icon, out-of-range fade preserved across re-renders). Adds
the border & expiry system overview docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant