implement add and remove custom brushes

This commit is contained in:
2019-02-02 16:53:33 +01:00
parent e9ead45447
commit d8728344c4
5 changed files with 153 additions and 42 deletions

View File

@@ -11,6 +11,7 @@ public:
bool load_file(std::string filename);
const uint8_t* data() const { return m_data.get(); }
int size() const { return width * height * comp; }
bool save(const std::string& path);
void create(int w, int h)
{
width = w;