aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/scene_tree_editor.h
diff options
context:
space:
mode:
authorJuan Linietsky2016-05-17 18:27:15 -0300
committerJuan Linietsky2016-05-17 18:28:44 -0300
commitc195c0df6b36debc870216dd42e49fbda70fa861 (patch)
tree194a26e39ace86d7a471f3e86159c2aed6be261c /tools/editor/scene_tree_editor.h
parent3a26e14a2bab777c9ba6aedceff6e4ef2666faf0 (diff)
downloadgodot-c195c0d.tar.gz
godot-c195c0d.tar.zst
godot-c195c0d.zip
-Added configuration warning system for nodes
-Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
Diffstat (limited to 'tools/editor/scene_tree_editor.h')
-rw-r--r--tools/editor/scene_tree_editor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/editor/scene_tree_editor.h b/tools/editor/scene_tree_editor.h
index e88922f73..94be75ea8 100644
--- a/tools/editor/scene_tree_editor.h
+++ b/tools/editor/scene_tree_editor.h
@@ -49,6 +49,7 @@ class SceneTreeEditor : public Control {
BUTTON_SCRIPT=2,
BUTTON_LOCK=3,
BUTTON_GROUP=4,
+ BUTTON_WARNING=5
};
enum {
@@ -69,6 +70,7 @@ class SceneTreeEditor : public Control {
String filter;
AcceptDialog *error;
+ AcceptDialog *warning;
ConfirmationDialog *clear_inherit_confirm;
int blocked;
@@ -124,6 +126,10 @@ class SceneTreeEditor : public Control {
void _rmb_select(const Vector2& p_pos);
+ void _warning_changed(Node* p_for_node);
+
+ Timer* update_timer;
+
public:
void set_filter(const String& p_filter);