The built-in pages moved to gui_pages.lua as build functions that add
settings (p:Checkbox, p:Dropdown and so on) instead of making frames.
All of them share one ScrollBox list, which keeps rows from the row
templates only for the settings in view. Each page keeps its scroll
position.
A tree replaces the two columns of tabs: a category opens its first
page and shows its pages, and the other categories close. Pages have
ids, and pfUI.gui:OpenPage(id) opens one. Unlock mode opens a frame's
page by its id. Its "Group Frames" links had opened nothing and the
stance bar link the wrong page; the castbars now open their own pages.
Plugin pages from CreateGUIEntry stay frame pages. Their populate runs
on the first show with `this` as the content, and CreateConfig stacks
its rows there as before. The About page is a frame page too, and reads
its values when it shows instead of every second.
Search goes through the settings of the list pages without building
them, and through the rows of the frame pages, which it builds on the
first search. A result opens its page and marks its row. Focusing the
search box no longer opens an empty result page.
A change refreshes the other rows in view, so the uneven orientation
dropdown follows a new bar layout without keeping a reference to its
row.
Each kind of config row is now an XML template in gui_rows.xml with a
mixin in gui_rows.lua. row:Init(setting) binds a setting (its table,
key, values and updater), and the widgets read that setting when an
event comes instead of keeping it in closures. A row can then show
another setting, which the ScrollBox pages need next.
CreateConfig keeps its signature and its line layout, and makes its
rows from these templates. The rows keep the fields that plugins use
(caption, input, color, button, add, del, category, config), so
thirdparty pages work as before. A row now spans the page from its left
edge to its right edge instead of taking a fixed width.
pfUIScrollFrameTemplate's content spanned the frame only until the
first scroll: setting an offset clears the scroll child's anchors and
anchors its TOPLEFT alone, which left the content 1 pixel wide. It now
takes the frame's width from OnSizeChanged.
CVAR, GVAR and UVAR rows read and write through small store tables
instead of copies taken when the row was made. A CVAR row now runs the
updater it is given, and it no longer shows the reload marker: it never
needed a reload.