mirror of
https://github.com/mr-rosh/pfUI-CustomMedia.git
synced 2026-11-10 23:57:32 +00:00
29a8a624d1f44e93f6f4738390c2e3e155ee5cec
Replace deprecated Lua APIs, make event-handler arguments Classic 1.12-safe, and reduce repeated lookups and texture updates. Remove unused button translations and bump the addon version to 2.3.9.
pfUI-CustomMedia
pfUI-CustomMedia is a lightweight plugin for pfUI. It adds custom textures for unitframes, castbars, experience bars, action buttons, and gryphons, along with additional fonts and button backgrounds.
Installation (Vanilla, 1.12)
- Download the latest version.
- Unpack the archive and rename
pfUI-CustomMedia-mastertopfUI-CustomMedia. - Copy the folder into
Wow-Directory/Interface/AddOns. - Restart WoW.
Installation (The Burning Crusade, 2.4.3)
- Download the latest version.
- Unpack the archive and rename
pfUI-CustomMedia-mastertopfUI-CustomMedia-tbc. - Copy the folder into
Wow-Directory/Interface/AddOns. - Restart WoW.
OctoWoW pfUI No Anchor fix
pfUI loads its gryphon module before this addon. Its built-in No Anchor value can therefore crash on startup before CustomMedia can handle it. When using No Anchor, apply the pfUI patch to Interface/AddOns/pfUI/modules/gryphons.lua.
Changelog
2.3.8 (2026-10-18)
- Add new statusbar textures and fonts to the selection menus.
- Add a pfUI styled scrollbar and mouse wheel scrolling to dropdown menus; menus open upward when there isn’t enough space below.
- Fix gryphon positioning, dragging, and anchor handling.
- Add a position reset option that preserves gryphon appearance and anchor settings.
- Clean up gryphon texture options and dropdown behavior.
- Simplify gryphon reset controls and improve their layout.
Unreleased
- Add a scrollbar and mouse wheel scrolling to pfUI dropdown menus, with menus opening upward when there is not enough room below.
2.3.9 (2026-10-24)
- Replace deprecated Lua 5.1 APIs (
string.gfind,table.getn,getfenv,setfenv) with modern equivalents. - Capture
event/arg1into locals in allOnEvent/OnUpdatehandlers (Classic 1.12-safe). - Cache resolved button frames so
_Glookups are not repeated on every update pass. - Skip redundant
SetTexCoordcalls in staticbars when the bar fill fraction hasn't changed. - Cache
GetScreenHeight()per dropdown menu open instead of querying every frame. - Remove dead
translations/L()indirection in buttons module. - Bump version to 2.3.9; add
## SavedVariablesto both TOCs.
2.2.0 (2026-10-17)
- Remove menu entries for the missing Karla font and Sword button background.
- Apply custom backgrounds to pfUI buttons even when they are hidden.
- Guard optional pfUI menus and GUI methods against Lua errors.
- Prevent duplicate gryphon entries and keep font menu ordering stable.
Languages
Lua
100%