stuff-from-scratch/src/graphics/PainterFactory.h

15 lines
243 B
C
Raw Normal View History

2022-11-16 09:39:05 +00:00
#pragma once
#include "AbstractPainter.h"
#include <memory>
enum class DrawingMode;
2023-01-05 12:06:17 +00:00
class DrawingContext;
2022-11-16 09:39:05 +00:00
class PainterFactory
{
public:
2023-01-05 12:06:17 +00:00
static std::unique_ptr<AbstractPainter> Create(DrawingContext* context, DrawingMode drawMode);
2022-11-16 09:39:05 +00:00
};