Files
pfUI/init/modules.xml
T
Brues 907d282a68 Centralize cooldown setup and settings
Every pfUI cooldown is now made by CreateCooldown(parent, kind) in the
new api/cooldown.lua, which replaces the cooldown module. A kind names
what the cooldown times: actionbar, bags, blizzard (spellbook and
character), unitframe, indicator, nameplate, buff, tooltip, totem or
lossofcontrol. The pfCooldownType, pfCooldownStyleText,
pfCooldownStyleAnimation and pfCooldownSize fields are gone. The new
file owns everything the cooldowns share:
- the numbers' font and size
- the formatter
- each kind's numbers, sweep and sweep direction
- the GCD threshold for spell kinds
- the CooldownFrame_SetTimer hook for other addons' Cooldown frames
UpdateCooldowns applies changed settings to every cooldown at once.
GetAuraTimer moves here from the unit frames.

All settings live in one C.cooldown table, on one page: Settings ->
Cooldown. It has the shared font, size, threshold, tenths and colors,
then "Show Numbers On", "Show Sweep On" and "Reverse Sweep On" lists
with a checkbox per kind. The per-module options are removed:
- each unit frame's timer text, animation and reverse, and the
  indicators' "Show Time Left"
- the nameplate debuff timer options
- the Blizzard and foreign font sizes and toggles
- Action Bars' cooldown text size
- the reverse options of bars, bags, buffs and totems
The old appearance.cd settings are not migrated.

The player buff frame and the tooltip aura icons now show the native
countdown too, which replaces their own text and OnUpdate ticking. The
buff frame keeps its inside or below-the-icon placement. Weapon
enchants report only their time left, so they start through
SetCooldownTimeLeft: numbers, no sweep. A slim poll remains for their
charges and renewals, since no event reports those. Buff indicators
now take the aura's real duration, which gives them a correct sweep.
The spellbook and character slots now hide GCD numbers like the other
spell cooldowns.
2026-10-31 19:17:14 -05:00

86 lines
3.7 KiB
XML

<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Include file="..\modules\gui.lua"/>
<Include file="..\modules\unlock.lua"/>
<Include file="..\modules\hoverbind.lua"/>
<Include file="..\modules\updatenotify.lua"/>
<Include file="..\modules\actionbar.lua"/>
<Include file="..\modules\gryphons.lua"/>
<Include file="..\modules\hunterbar.lua"/>
<Include file="..\modules\chat.lua"/>
<Include file="..\modules\combatlog.lua"/>
<Include file="..\modules\combatlog_config.lua"/>
<Include file="..\modules\whisperproxy.lua"/>
<Include file="..\modules\chatcopy.lua"/>
<Include file="..\modules\bubbles.lua"/>
<Include file="..\modules\addons.lua"/>
<Include file="..\modules\minimap.lua"/>
<Include file="..\modules\panel.lua"/>
<Include file="..\modules\player.lua"/>
<Include file="..\modules\focus.lua"/>
<Include file="..\modules\target.lua"/>
<Include file="..\modules\combopoints.lua"/>
<Include file="..\modules\swingtimer.lua"/>
<Include file="..\modules\marktracking.lua"/>
<Include file="..\modules\targettarget.lua"/>
<Include file="..\modules\targettargettarget.lua"/>
<Include file="..\modules\pet.lua"/>
<Include file="..\modules\group.lua"/>
<Include file="..\modules\raid.lua"/>
<Include file="..\modules\mouseover.lua"/>
<Include file="..\modules\castbar.lua"/>
<Include file="..\modules\skin.lua"/>
<Include file="..\modules\xpbar.lua"/>
<Include file="..\modules\autoshift.lua"/>
<Include file="..\modules\autovendor.lua"/>
<Include file="..\modules\bags.lua"/>
<Include file="..\modules\itemclick.lua"/>
<Include file="..\modules\tooltip.lua"/>
<Include file="..\modules\questitem.lua"/>
<Include file="..\modules\thirdparty.lua"/>
<Include file="..\modules\thirdparty-vanilla.lua"/>
<Include file="..\modules\buff.lua"/>
<Include file="..\modules\buffwatch.lua"/>
<Include file="..\modules\nameplates.lua"/>
<Include file="..\modules\loot.lua"/>
<Include file="..\modules\roll.lua"/>
<Include file="..\modules\infight.lua"/>
<Include file="..\modules\sellvalue.lua"/>
<Include file="..\modules\itemcount.lua"/>
<Include file="..\modules\eqcompare.lua"/>
<Include file="..\modules\map.lua"/>
<Include file="..\modules\mapcolors.lua"/>
<Include file="..\modules\uf_tukui.lua"/>
<Include file="..\modules\custom.lua"/>
<Include file="..\modules\gm.lua"/>
<Include file="..\modules\mirrortimers.lua"/>
<Include file="..\modules\feigndeath.lua"/>
<Include file="..\modules\pixelperfect.lua"/>
<Include file="..\modules\hdgraphic.lua"/>
<Include file="..\modules\share.lua"/>
<Include file="..\modules\tracking.lua"/>
<Include file="..\modules\easteregg.lua"/>
<Include file="..\modules\farmmode.lua"/>
<Include file="..\modules\pettarget.lua"/>
<Include file="..\modules\mapreveal.lua"/>
<Include file="..\modules\unusable.lua"/>
<Include file="..\modules\socialmod.lua"/>
<Include file="..\modules\firstrun.lua"/>
<Include file="..\modules\addonbuttons.lua"/>
<Include file="..\modules\afkcam.lua"/>
<Include file="..\modules\screenshot.lua"/>
<Include file="..\modules\addoncompat.lua"/>
<Include file="..\modules\energytick.lua"/>
<Include file="..\modules\totems.lua"/>
<Include file="..\modules\macroicons.lua"/>
<Include file="..\modules\superwow.lua"/>
<Include file="..\modules\innervatecall.lua"/>
<Include file="..\modules\nampower.lua"/>
<Include file="..\modules\unitxp.lua"/>
<Include file="..\modules\bgscore.lua"/>
<Include file="..\modules\equipmentmanager.lua"/>
<Include file="..\modules\loothistory.lua"/>
<Include file="..\modules\newitem.lua"/>
<Include file="..\modules\friendnotes.lua"/>
<Include file="..\modules\lossofcontrol.lua"/>
<Include file="..\modules\radar.lua"/>
</Ui>