Replace DrawableSearcher with scoped drawable resolution:

Add a scene-owned UI::DrawableResolver for resolving file, data, HTTP, and
named drawable references through each UISceneNode's current resource scope.

Move generic texture, atlas region, nine-patch, and sprite lookup into
Graphics::ResourceScope, preserving drawable resolution for pure Graphics
consumers without introducing a UI dependency.

Migrate UI images, sprites, menus, CSS parsing, and tests to the new resolver.
Resolve CSS icons through the requesting node's scene instead of the global
scene, preserving embedded-scene isolation.

Remove the obsolete DrawableSearcher API and update platform project manifests,
tests, and the shared-resource architecture plan.
This commit is contained in:
Martín Lucas Golini
2026-07-21 23:50:58 -03:00
parent b5efd6d709
commit f7dba042df
21 changed files with 353 additions and 326 deletions
+2 -2
View File
@@ -56,7 +56,7 @@
../../include/eepp/graphics/drawablegroup.hpp
../../include/eepp/graphics/drawable.hpp
../../include/eepp/graphics/drawableresource.hpp
../../include/eepp/graphics/drawablesearcher.hpp
../../include/eepp/ui/drawableresolver.hpp
../../include/eepp/graphics/fontbmfont.hpp
../../include/eepp/graphics/font.hpp
../../include/eepp/graphics/fontmanager.hpp
@@ -538,7 +538,7 @@
../../src/eepp/graphics/drawable.cpp
../../src/eepp/graphics/drawablegroup.cpp
../../src/eepp/graphics/drawableresource.cpp
../../src/eepp/graphics/drawablesearcher.cpp
../../src/eepp/ui/drawableresolver.cpp
../../src/eepp/graphics/fontbmfont.cpp
../../src/eepp/graphics/font.cpp
../../src/eepp/graphics/fontmanager.cpp