From fd9aebd4fa37965ec307b87742f1d88aa8be37ca Mon Sep 17 00:00:00 2001 From: volzhs Date: Tue, 1 Nov 2016 22:26:29 +0900 Subject: Fix to focus or rename node by double click --- scene/gui/tree.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'scene/gui/tree.h') diff --git a/scene/gui/tree.h b/scene/gui/tree.h index 6c2f1dae40..1936f926c8 100644 --- a/scene/gui/tree.h +++ b/scene/gui/tree.h @@ -439,9 +439,6 @@ friend class TreeItem; float last_drag_time; float time_since_motion;*/ - bool delayed_text_editor; - uint64_t first_selection_time; - float drag_speed; float drag_from; float drag_accum; @@ -537,9 +534,6 @@ public: void set_value_evaluator(ValueEvaluator *p_evaluator); - void set_delayed_text_editor(bool enabled); - bool is_delayed_text_editor_enabled() const; - Tree(); ~Tree(); -- cgit v1.2.3 From f33e21e7afc64990bca106e6b349cbe2f7e81c0e Mon Sep 17 00:00:00 2001 From: volzhs Date: Wed, 28 Dec 2016 22:12:08 +0900 Subject: Show visual notice for visibility on Scene Dock --- scene/gui/tree.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scene/gui/tree.h') diff --git a/scene/gui/tree.h b/scene/gui/tree.h index 1936f926c8..b115d3b9a4 100644 --- a/scene/gui/tree.h +++ b/scene/gui/tree.h @@ -93,7 +93,8 @@ friend class Tree; int id; bool disabled; Ref texture; - Button() { id=0; disabled=false; } + Color color; + Button() { id=0; disabled=false; color=Color(1,1,1,1); } }; Vector< Button > buttons; @@ -189,6 +190,7 @@ public: int get_button_by_id(int p_column,int p_id) const; bool is_button_disabled(int p_column,int p_idx) const; void set_button(int p_column,int p_idx,const Ref& p_button); + void set_button_color(int p_column,int p_idx,const Color& p_color); /* range works for mode number or mode combo */ -- cgit v1.2.3 From c7bc44d5ad9aae4902280012f7654e2318cd910e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 1 Jan 2017 22:01:57 +0100 Subject: Welcome in 2017, dear changelog reader! That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games! --- scene/gui/tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/gui/tree.h') diff --git a/scene/gui/tree.h b/scene/gui/tree.h index 1936f926c8..84c610db36 100644 --- a/scene/gui/tree.h +++ b/scene/gui/tree.h @@ -5,7 +5,7 @@ /* GODOT ENGINE */ /* http://www.godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2016 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ -- cgit v1.2.3