presets options when empty

This commit is contained in:
2019-08-31 17:21:47 +02:00
parent ef2210b57c
commit 295f85157d
6 changed files with 65 additions and 16 deletions

View File

@@ -7,6 +7,7 @@
#include "node_scroll.h"
#include "node_text.h"
#include "serializer.h"
#include "node_button.h"
class NodeButtonBrush : public NodeButtonCustom, public Serializer::Type
{
@@ -82,6 +83,9 @@ class NodePanelBrushPreset : public Node
NodeButtonCustom* m_btn_delete;
NodeButtonCustom* m_btn_save;
NodeButtonCustom* m_btn_menu;
NodeButton* m_btn_import;
NodeButton* m_btn_download;
Node* m_notification;
public:
Node* m_container;
std::function<void(Node* target, std::shared_ptr<Brush>& brush)> on_brush_changed;