| 336 | #endif |
| 337 | |
| 338 | void LayerCacher::CacheCompass(ref_ptr<dp::GraphicsContext> context, Position const & position, |
| 339 | ref_ptr<LayerRenderer> renderer, ref_ptr<dp::TextureManager> textures) |
| 340 | { |
| 341 | Compass compass = Compass(position); |
| 342 | drape_ptr<ShapeRenderer> shape = |
| 343 | compass.Draw(context, textures, std::bind(&DrapeGui::CallOnCompassTappedHandler, &DrapeGui::Instance())); |
| 344 | |
| 345 | renderer->AddShapeRenderer(WIDGET_COMPASS, std::move(shape)); |
| 346 | } |
| 347 | |
| 348 | void LayerCacher::CacheRuler(ref_ptr<dp::GraphicsContext> context, Position const & position, |
| 349 | ref_ptr<LayerRenderer> renderer, ref_ptr<dp::TextureManager> textures) |
nothing calls this directly
no test coverage detected