mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
39 lines
578 B
C++
39 lines
578 B
C++
#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
|