virtualx-engine/tools/editor/node_dock.h
Juan Linietsky 118eed485e ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00

38 lines
577 B
C++

#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