mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
committed by
Konstantin Pastbin
parent
c9cbb64f12
commit
76ffc99abd
20
libs/drape/debug_renderer.hpp
Normal file
20
libs/drape/debug_renderer.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include "drape/color.hpp"
|
||||
#include "drape/overlay_tree.hpp"
|
||||
|
||||
namespace dp
|
||||
{
|
||||
class GraphicsContext;
|
||||
|
||||
class DebugRenderer
|
||||
{
|
||||
public:
|
||||
virtual ~DebugRenderer() = default;
|
||||
virtual bool IsEnabled() const = 0;
|
||||
virtual void DrawRect(ref_ptr<GraphicsContext> context, ScreenBase const & screen,
|
||||
m2::RectF const & rect, Color const & color) = 0;
|
||||
virtual void DrawArrow(ref_ptr<GraphicsContext> context, ScreenBase const & screen,
|
||||
OverlayTree::DisplacementData const & data) = 0;
|
||||
};
|
||||
} // namespace dp
|
||||
Reference in New Issue
Block a user