summaryrefslogtreecommitdiff
path: root/editor/connections_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/connections_dialog.h')
-rw-r--r--editor/connections_dialog.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/editor/connections_dialog.h b/editor/connections_dialog.h
index 195c9e1e7d..3846fa4d9f 100644
--- a/editor/connections_dialog.h
+++ b/editor/connections_dialog.h
@@ -106,6 +106,13 @@ public:
//////////////////////////////////////////
+// Custom Tree needed to use a RichTextLabel as tooltip control
+// when display signal documentation.
+class ConnectionsDockTree : public Tree {
+
+ virtual Control *make_custom_tooltip(const String &p_text) const;
+};
+
class ConnectionsDock : public VBoxContainer {
GDCLASS(ConnectionsDock, VBoxContainer);
@@ -123,7 +130,7 @@ class ConnectionsDock : public VBoxContainer {
};
Node *selectedNode;
- Tree *tree;
+ ConnectionsDockTree *tree;
EditorNode *editor;
ConfirmationDialog *disconnect_all_dialog;
@@ -133,6 +140,8 @@ class ConnectionsDock : public VBoxContainer {
PopupMenu *slot_menu;
UndoRedo *undo_redo;
+ Map<StringName, Map<StringName, String> > descr_cache;
+
void _make_or_edit_connection();
void _connect(Connection cToMake);
void _disconnect(TreeItem &item);