Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue