mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
34 lines
734 B
C++
34 lines
734 B
C++
/*
|
|
* MapOverlayLogVisualizer.h, part of VCMI engine
|
|
*
|
|
* Authors: listed in file AUTHORS in main folder
|
|
*
|
|
* License: GNU General Public License v2.0 or later
|
|
* Full text of license available in license.txt file, in main folder
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#include "../../lib/logging/VisualLogger.h"
|
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
class int3;
|
|
|
|
VCMI_LIB_NAMESPACE_END
|
|
|
|
class Canvas;
|
|
class MapViewModel;
|
|
|
|
class MapOverlayLogVisualizer : public IMapOverlayLogVisualizer
|
|
{
|
|
private:
|
|
Canvas & target;
|
|
std::shared_ptr<MapViewModel> model;
|
|
|
|
public:
|
|
MapOverlayLogVisualizer(Canvas & target, std::shared_ptr<MapViewModel> model);
|
|
void drawLine(int3 start, int3 end) override;
|
|
void drawText(int3 tile, std::vector<std::string> texts) override;
|
|
};
|