[styles] Convert remaining PNG icons to SVG

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
This commit is contained in:
David Martinez
2025-08-21 19:56:10 +02:00
committed by Konstantin Pastbin
parent eeb53eb0c4
commit cb2181a80e
227 changed files with 171 additions and 15 deletions

View File

@@ -92,7 +92,7 @@ drape_ptr<ShapeRenderer> Compass::Draw(ref_ptr<dp::GraphicsContext> context, ref
TTapHandler const & tapHandler) const
{
dp::TextureManager::SymbolRegion region;
tex->GetSymbolRegion("compass-image", region);
tex->GetSymbolRegion("compass", region);
auto const halfSize = glsl::ToVec2(region.GetPixelSize() * 0.5f);
auto const texRect = region.GetTexRect();

View File

@@ -148,7 +148,7 @@ std::array<std::string, SearchMarkType::Count> const kSymbols = {
"search-result-bicycle_parking-covered", // BicycleParkingCovered.
"search-result-bicycle_rental", // BicycleRental.
"non-found-search-result", // NotFound.
"search-result-non-found", // NotFound.
};
std::string const & GetSymbol(SearchMarkType searchMarkType)

View File

@@ -50,7 +50,7 @@ DebugMarkPoint::DebugMarkPoint(m2::PointD const & ptOrg) : UserMark(ptOrg, UserM
drape_ptr<df::UserPointMark::SymbolNameZoomInfo> DebugMarkPoint::GetSymbolNames() const
{
auto symbol = make_unique_dp<SymbolNameZoomInfo>();
symbol->insert(std::make_pair(1 /* zoomLevel */, "non-found-search-result"));
symbol->insert(std::make_pair(1 /* zoomLevel */, "search-result-non-found"));
return symbol;
}