blob: 48dffed93739be999f362c6ecaede4d5c9e4c1c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
|