blob: 69e8c8c6aa977197ee6aec266ff8486e9023f411 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include "Memento.h"
struct CanvasData {
unsigned rows = 0;
unsigned columns = 0;
};
class CanvasDataMemento : public Memento {
friend class Canvas;
public:
CanvasDataMemento(const CanvasData & data) : data(data) {}
private:
CanvasData data;
};
|