diff --git a/docs/ADDON_COMPAT.md b/docs/ADDON_COMPAT.md index cde7714d..81cca4dd 100644 --- a/docs/ADDON_COMPAT.md +++ b/docs/ADDON_COMPAT.md @@ -4534,3 +4534,20 @@ version 1 answers that by resizing it to a 12 px pfUI bar with its own backdrop, same with version 2's geometry — and the **task delete buttons**, which inherit `UIPanelCloseButton` and therefore want `SkinCloseButton`, not `SkinButton`: the latter leaves a correct but empty box where the addon draws a red X. + +**Two more after he looked at it:** *"make it inherit pfui font colors or something because that is +super hard to read, for the right panel obviously, I still want recipes colored by difficulty"* and +*"let's remove the background art on the left, looks goofy."* + +The task rows were the right panel's only difficulty-coloured text, and the ramp is dark orange +through red — fine on the left list over the list's own dark backing, unreadable on the stripped +right half with the world showing through. They take pfUI's font outlined and white now; the recipe +list keeps the ramp. Both the write **and** the restore had to be answered: `ATSW_UpdateTasks` +repaints every row on each bag, craft and task change, and the template's `OnLeave` puts back +`this.R/G/B`, which that same function sets. + +The background painting is `ATSWBackground` (one of thirteen per profession off `ATSW_Background`, +vignetted by `ATSWBackgroundShadow`) — the one piece of this window version 1 has no counterpart +for. **Hidden, not blanked**, because the addon re-sets the texture on every open and every +profession switch; `Hide` survives both, and a `hooksecurefunc` on `ATSW_UpdateBackground` is belt +and braces. Nothing anchors to either texture, so nothing moved.