diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-09-11 11:28:01 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-11 11:28:01 -0300 |
commit | 95eb7466df890dcbed9eb8e8bda15bd9235db9c0 (patch) | |
tree | 6c23afb3abef8e539c42d1024a0fa213bc98692b /tools/editor/plugins/script_text_editor.h | |
parent | 1bf684cea274db7c58b3f62a77ad4de3980c14dc (diff) | |
download | redot-engine-95eb7466df890dcbed9eb8e8bda15bd9235db9c0.tar.gz |
-Added a ColorFrame control, kind of like Texture but for color.
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
Diffstat (limited to 'tools/editor/plugins/script_text_editor.h')
-rw-r--r-- | tools/editor/plugins/script_text_editor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_text_editor.h b/tools/editor/plugins/script_text_editor.h index 247fd97e81..c311a21131 100644 --- a/tools/editor/plugins/script_text_editor.h +++ b/tools/editor/plugins/script_text_editor.h @@ -98,6 +98,11 @@ protected: void _edit_option(int p_op); void _goto_line(int p_line) { goto_line(p_line); } + + Variant get_drag_data_fw(const Point2& p_point,Control* p_from); + bool can_drop_data_fw(const Point2& p_point,const Variant& p_data,Control* p_from) const; + void drop_data_fw(const Point2& p_point,const Variant& p_data,Control* p_from); + public: virtual void apply_code(); |