From 9860c092de08c5115d2f3d919de61b59ba4a9bb5 Mon Sep 17 00:00:00 2001 From: grom Date: Thu, 5 Nov 2026 17:25:46 -0700 Subject: [PATCH] ATSW2: readable task rows, and the background painting comes off MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit grom: "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" / "let's remove the background art on the left, looks goofy." The task rows are the right panel's only difficulty-coloured text, and the ramp is dark orange through red — fine on the left list over its own dark backing, unreadable on the stripped right half with the world through it. pfUI's font, outlined, white; the recipe list keeps the ramp. Both the write and the restore needed answering: 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. ATSWBackground is hidden rather than blanked, because the addon re-sets its texture on every open and every profession switch; Hide survives both. Nothing anchors to it or to its shadow. The skin lives in benilla-config/, which is gitignored; this is its record. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01SgstFWtn1RxEJ5kVrpgYwn --- docs/ADDON_COMPAT.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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.