#pragma once #include #include #include "Size.h" #include "Vector2.h" class PaintDevice { public: PaintDevice(); ~PaintDevice(); bool ready() const; void resize(const Size& size); void clear(); void set_char( const Vector2& position, wchar_t c ); wchar_t get_char( const Vector2& position ); void render(); private: std::vector> m_Buffer; Size m_Size; bool m_Ready = false; };