mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-15 21:45:14 +03:00
Return shared handles from NinePatch creation and remove the process-wide NinePatchManager singleton. Extend ResourceCatalog with typed drawable-source ownership and expose drawable publication, lookup, and removal through ResourceScope. Preserve separate texture and drawable namespaces for direct typed lookup. Give each UITheme its own resource catalog and have scene-owned theme managers explicitly import and remove theme catalogs. Handle registered themes and default-only themes without leaking stale resource visibility between scenes. Update theme loading, Engine teardown, platform source manifests, and resource ownership tests for the catalog-based model. Document that remaining singleton resource managers must migrate to naturally owned catalogs and explicit scope imports instead of becoming new process-global semantic namespaces.