remove sidebar and make panels popup
This commit is contained in:
@@ -39,6 +39,7 @@ class NodePanelLayer : public Node
|
||||
NodeButtonCustom* btn_duplicate;
|
||||
int id_counter = 0;
|
||||
public:
|
||||
std::function<void(Node* target)> on_popup_close;
|
||||
std::function<void(Node* target, int old_idx, int new_idx)> on_layer_change;
|
||||
std::function<void(Node* target, int idx, float value)> on_layer_opacity_changed;
|
||||
std::function<void(Node* target, int idx, bool visible)> on_layer_visibility_changed;
|
||||
@@ -57,6 +58,7 @@ public:
|
||||
NodeComboBox* m_blend_mode;
|
||||
virtual Node* clone_instantiate() const override;
|
||||
virtual void init() override;
|
||||
virtual kEventResult handle_event(Event* e) override;
|
||||
void add_layer();
|
||||
NodeLayer* add_layer(const char* name);
|
||||
NodeLayer* get_layer_at(int index);
|
||||
|
||||
Reference in New Issue
Block a user