MCPcopy Create free account
hub / github.com/comaps/comaps / CacheCopyright

Method CacheCopyright

libs/drape_frontend/gui/layer_render.cpp:354–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354void LayerCacher::CacheCopyright(ref_ptr<dp::GraphicsContext> context, Position const & position,
355 ref_ptr<LayerRenderer> renderer, ref_ptr<dp::TextureManager> textures)
356{
357 renderer->AddShapeRenderer(WIDGET_COPYRIGHT, CopyrightLabel(position).Draw(context, textures));
358}
359
360void LayerCacher::CacheScaleFpsLabel(ref_ptr<dp::GraphicsContext> context, Position const & position,
361 ref_ptr<LayerRenderer> renderer, ref_ptr<dp::TextureManager> textures)

Callers

nothing calls this directly

Calls 3

CopyrightLabelClass · 0.85
AddShapeRendererMethod · 0.80
DrawMethod · 0.45

Tested by

no test coverage detected