2016-06-04 16:17:56 +00:00
|
|
|
#ifndef NODE_DOCK_H
|
|
|
|
#define NODE_DOCK_H
|
|
|
|
|
|
|
|
#include "connections_dialog.h"
|
|
|
|
#include "groups_editor.h"
|
|
|
|
|
|
|
|
class NodeDock : public VBoxContainer {
|
|
|
|
|
2017-03-18 23:36:26 +00:00
|
|
|
OBJ_TYPE(NodeDock, VBoxContainer);
|
2016-06-04 16:17:56 +00:00
|
|
|
|
|
|
|
ToolButton *connections_button;
|
|
|
|
ToolButton *groups_button;
|
|
|
|
|
|
|
|
ConnectionsDock *connections;
|
|
|
|
GroupsEditor *groups;
|
|
|
|
|
|
|
|
HBoxContainer *mode_hb;
|
|
|
|
|
2017-03-18 23:36:26 +00:00
|
|
|
Label *select_a_node;
|
2016-06-04 16:17:56 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
|
|
|
void _notification(int p_what);
|
|
|
|
|
|
|
|
public:
|
|
|
|
static NodeDock *singleton;
|
|
|
|
|
2017-03-18 23:36:26 +00:00
|
|
|
void set_node(Node *p_node);
|
2016-06-04 16:17:56 +00:00
|
|
|
|
|
|
|
void show_groups();
|
|
|
|
void show_connections();
|
|
|
|
|
|
|
|
NodeDock();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // NODE_DOCK_H
|