mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-24 06:53:46 +00:00
[styles] Convert remaining PNG icons to SVG
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
eeb53eb0c4
commit
cb2181a80e
@@ -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();
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user