Created a NodeDock with signals and groups
This commit is contained in:
parent
280e3611b9
commit
3ae61f2292
16 changed files with 252 additions and 37 deletions
38
tools/editor/node_dock.h
Normal file
38
tools/editor/node_dock.h
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#ifndef NODE_DOCK_H
|
||||
#define NODE_DOCK_H
|
||||
|
||||
#include "connections_dialog.h"
|
||||
#include "groups_editor.h"
|
||||
|
||||
class NodeDock : public VBoxContainer {
|
||||
|
||||
OBJ_TYPE(NodeDock,VBoxContainer);
|
||||
|
||||
ToolButton *connections_button;
|
||||
ToolButton *groups_button;
|
||||
|
||||
ConnectionsDock *connections;
|
||||
GroupsEditor *groups;
|
||||
|
||||
HBoxContainer *mode_hb;
|
||||
|
||||
Label* select_a_node;
|
||||
|
||||
protected:
|
||||
|
||||
static void _bind_methods();
|
||||
void _notification(int p_what);
|
||||
|
||||
public:
|
||||
|
||||
static NodeDock *singleton;
|
||||
|
||||
void set_node(Node* p_node);
|
||||
|
||||
void show_groups();
|
||||
void show_connections();
|
||||
|
||||
NodeDock();
|
||||
};
|
||||
|
||||
#endif // NODE_DOCK_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue