add ABR brushes and presets with properties and patterns

This commit is contained in:
2019-02-10 16:52:37 +01:00
parent e629a2a7b5
commit 1d6c26f2ba
12 changed files with 379 additions and 124 deletions

View File

@@ -44,6 +44,7 @@ class NodePanelBrush : public Node
int m_high_len = 0;
int m_thumb_len = 0;
bool m_deleted = false;
bool m_user_brush = false;
};
public:
std::function<void(Node* target, int index)> on_brush_changed;
@@ -131,5 +132,6 @@ public:
void handle_click(Node* target);
bool save();
bool restore();
void add_brush(std::shared_ptr<Brush> brush);
};