mirror of
https://github.com/brues-code/pfUI.git
synced 2026-11-03 09:26:57 +00:00
ClassicAPI's option pages now have key binding rows. Their two buttons are numbered ClassicAPIOptionsControlN like the other controls, but they are Buttons: strip the UIPanelButtonTemplate2 slices (BACKGROUND layer) and skin them as buttons. The control loop's last branch skinned anything unknown as a dropdown, and SkinDropDown errors without the dropdown's Button, which stopped the loop for every later control. It now runs only for a control that has that Button; a type without a branch stays unskinned. ClassicAPI's pages scroll with retail's MinimalScrollBar, named ClassicAPIOptionsScrollBarN. SkinScrollbar expects the old named UIPanelScrollBar parts, so these get their own pass: pfUI arrow buttons, a backdrop track between them and a flat thumb, as SkinScrollbar draws. The bar's steppers and thumb set their atlas again on every state change, so their art is hidden rather than cleared.