Commit Graph
4 Commits
Author SHA1 Message Date
Brues c18b0eafcd Trim DLL integrations to what ClassicAPI doesn't cover
Keep the DLL features with no ClassicAPI equivalent and move the rest
onto ClassicAPI:

- Nampower: spell queue indicator, swing timer queue colors, Steady Shot
  cast bar, one-press totem sets, /disenchantall, feign death health
- UnitXP_SP3: behind indicator (now in target.lua) and the precise range
  check mode
- SuperWoW: group tracking on the minimap
- Target distance moves to UnitDistanceSquared, OS notifications to
  FlashClientIcon (now a global setting that fires on BG queue pops, not
  on opening the battlemaster), /pfcast and /castfocus to
  C_Spell.CastAtUnit
- The reactive spell indicator gets its own module and an event
  (ACTIONBAR_UPDATE_USABLE); its OnUpdate sat on a hidden frame and
  never ran
- /pfdll moves to its own module and reports UnitXP too

Drop /clickthrough, /pfunitxp, the SuperWoW combat text GUID hook
(SuperWoW 2.2 already swaps combat log GUIDs for names), the old
SuperWoW enchant link shim, the uncalled distance/targeting/mark
helpers and the config keys nothing read.
2026-11-15 21:28:58 -06:00
Brues 33ae9d8392 Totems: warn before a totem expires and announce killed totems
An element pulses white for its totem's last seconds, set by Expiry
Warning. Every totem that goes away is logged as destroyed, so a totem
counts as killed when it goes with time left and no totem cast of yours
replaced it: its element pulses red and the screen names the last unit
that damaged it.
2026-11-15 14:51:52 -06:00
Brues 3232d5939d Totems: element bar with a flyout of every known totem
Each element button shows its chosen totem, or the active one with its
timer. Hovering opens a flyout of the element's totems, found from the
spellbook by their summon-slot effect, so Turtle's custom totems sort
themselves too. Left click casts, right click chooses.
2026-11-15 14:08:35 -06:00
Brues 6a5620c39c Show the built-in config pages as lists of settings in a tree
The built-in pages moved to gui_pages.lua as build functions that add
settings (p:Checkbox, p:Dropdown and so on) instead of making frames.
All of them share one ScrollBox list, which keeps rows from the row
templates only for the settings in view. Each page keeps its scroll
position.

A tree replaces the two columns of tabs: a category opens its first
page and shows its pages, and the other categories close. Pages have
ids, and pfUI.gui:OpenPage(id) opens one. Unlock mode opens a frame's
page by its id. Its "Group Frames" links had opened nothing and the
stance bar link the wrong page; the castbars now open their own pages.

Plugin pages from CreateGUIEntry stay frame pages. Their populate runs
on the first show with `this` as the content, and CreateConfig stacks
its rows there as before. The About page is a frame page too, and reads
its values when it shows instead of every second.

Search goes through the settings of the list pages without building
them, and through the rows of the frame pages, which it builds on the
first search. A result opens its page and marks its row. Focusing the
search box no longer opens an empty result page.

A change refreshes the other rows in view, so the uneven orientation
dropdown follows a new bar layout without keeping a reference to its
row.
2026-11-15 00:49:27 -06:00