Cleaning for opengl rendering prep.
This commit is contained in:
parent
402f381d10
commit
7c6a92f4ec
58 changed files with 570 additions and 533 deletions
20
src/graphics/RasterPainter.h
Normal file
20
src/graphics/RasterPainter.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
|
||||
#include "AbstractPainter.h"
|
||||
#include <memory>
|
||||
|
||||
class DrawingContext;
|
||||
|
||||
template<class T>
|
||||
class Grid;
|
||||
|
||||
class RasterPainter : public AbstractPainter
|
||||
{
|
||||
public:
|
||||
RasterPainter();
|
||||
|
||||
void paint(DrawingContext* context) override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<Grid<unsigned char> > mGrid;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue