Upgrade settings_folders to full builder pattern

- Move Folders class to anonymous namespace in .cpp
- Export only Type FoldersId() from header
- setupContent() uses custom SectionBuildMethod capturing state
- Widget creation through builder.add() callbacks
- Highlight registration via push_back

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
John Preston
2026-01-14 18:11:28 +04:00
parent 4c5cf47bc9
commit df347ad0f4
8 changed files with 492 additions and 374 deletions
@@ -161,7 +161,7 @@ auto GenerateCodes() {
});
codes.emplace(u"folders"_q, [](SessionController *window) {
if (window) {
window->showSettings(Settings::Folders::Id());
window->showSettings(Settings::FoldersId());
}
});
codes.emplace(u"registertg"_q, [](SessionController *window) {