mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Retail's horizontal bar is its vertical one with x and y swapped. Classic Era has no horizontal bar and this client no horizontal scroll bar art, so the template is WowClassicScrollBar with every anchor, size and inset swapped, and retail's horizontal atlas names (UI-ScrollBar-EndCap-Left/ Right, _UI-ScrollBar-Center, UI-ScrollBar-ScrollLeft/RightButton-*, ids from the 1.15 member table) bind to the Classic art transposed: the top cap is the left cap, the up arrow the left arrow. Transposing keeps the art's top-left lighting, which a quarter turn would move. The square knob takes the swapped crop of the same file. Atlas entries gain a transposed flag: SetTexCoord composition maps sprite x down the file rect and y across it. An inline |A icon is one axis-aligned rect, so a transposed atlas is not drawn there.