summaryrefslogtreecommitdiff
path: root/tools/editor/node_dock.h
blob: fd4105d1b25a15e74b0907ff107d132d9b5f3875 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef NODE_DOCK_H
#define NODE_DOCK_H

#include "connections_dialog.h"
#include "groups_editor.h"

class NodeDock : public VBoxContainer {

	GDCLASS(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