6 Commits

Author SHA1 Message Date
Adrestie e9db8df466 Tab macros: drop the drag icon work
The macro icon list of 3.3.5 is fixed and CreateMacro takes only an index:
the SpellIcon rows, the Interface\Icons copies, the cursor override and
/fui tabicons changed nothing in game. Back to the macro icon of 1f1cd55.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 13:32:39 +02:00
Adrestie cea0c1d7b2 Tab macros: the cursor shows the tab's icon while the macro is held
/fui tabicons showed the client's macro icon list (1125 spell icons, then
item icons) is fixed: SpellIcon.dbc rows add nothing to it. While a tab
macro is on the cursor, SetCursor puts the tab's icon there on each frame;
the macro's own icon is looked up in both lists.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 13:10:41 +02:00
Adrestie 8297216984 /fui tabicons: what the macro icon list holds for the draggable tabs
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 13:06:06 +02:00
Adrestie 327a7cec22 Tab macros: icons copied into Interface\Icons; selected quest POI keeps its size
A macro keeps only its icon's file name and reads it from Interface\Icons:
the tab icons' SpellIcon rows pointed at Interface\ForeverUI\TabIcons, so
the cursor showed the question mark. The installer now writes copies named
ForeverUI_<file> in Interface\Icons, the rows point at them, and TabMacros
finds a tab's copy by its file name (<Module>_<file>).

The selected completed quest's swap button sits on the CENTER of the POI:
it now gets the same scale as the POIs in full screen.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 11:14:31 +02:00
Adrestie ee22c584d8 Tab macros: the tab's own icon on the cursor
3.3.5 builds its macro icon list from SpellIcon.dbc: the installer adds
rows for the character sheet's tab icons (and Item Upgrade's, a ForeverUI
file) to the game, in tranche 94. TabMacros picks the tab's own icon when
the list has it, and gives it to macros made earlier with the question mark.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 10:53:38 +02:00
Adrestie 1f1cd55486 TabMacros: tab-on-action-bar service shared with other addons
The character sheet's tab macros move to TabMacros.lua, which any addon or
AIO window can call (Register, Pickup, EnableDrag); ActionBar's
ActionButton_Update hook shows each registered tab's icon.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-19 05:36:03 +02:00