Step 173: theme gallery UI

This commit is contained in:
Bill
2026-02-09 21:47:52 -07:00
parent 97e8fde22a
commit c3a5f45dc6
7 changed files with 194 additions and 28 deletions

View File

@@ -0,0 +1,20 @@
// Step 173: Theme gallery integration checks.
#include <cassert>
#include <string>
#include "ThemeEngine.h"
int main() {
ImGui::CreateContext();
ThemeEngine& themes = ThemeEngine::instance();
themes.clear();
themes.loadThemesFromDirectory("themes");
ImU32 swatch[4] = {};
bool ok = themes.getSwatch("Whetstone Dark", swatch);
assert(ok);
ImGui::DestroyContext();
printf("step173_integration_test: all assertions passed\n");
return 0;
}