diff options
Diffstat (limited to 'editor/code_editor.h')
| -rw-r--r-- | editor/code_editor.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h index 6b733a2b3c..ab298202bd 100644 --- a/editor/code_editor.h +++ b/editor/code_editor.h @@ -37,11 +37,9 @@ #include "scene/gui/dialogs.h" #include "scene/gui/line_edit.h" #include "scene/gui/text_edit.h" -#include "scene/gui/tool_button.h" #include "scene/main/timer.h" class GotoLineDialog : public ConfirmationDialog { - GDCLASS(GotoLineDialog, ConfirmationDialog); Label *line_label; @@ -60,13 +58,12 @@ public: }; class FindReplaceBar : public HBoxContainer { - GDCLASS(FindReplaceBar, HBoxContainer); LineEdit *search_text; Label *matches_label; - ToolButton *find_prev; - ToolButton *find_next; + Button *find_prev; + Button *find_next; CheckBox *case_sensitive; CheckBox *whole_words; TextureButton *hide_button; @@ -138,15 +135,14 @@ public: typedef void (*CodeTextEditorCodeCompleteFunc)(void *p_ud, const String &p_code, List<ScriptCodeCompletionOption> *r_options, bool &r_forced); class CodeTextEditor : public VBoxContainer { - GDCLASS(CodeTextEditor, VBoxContainer); TextEdit *text_editor; FindReplaceBar *find_replace_bar; HBoxContainer *status_bar; - ToolButton *toggle_scripts_button; - ToolButton *warning_button; + Button *toggle_scripts_button; + Button *warning_button; Label *warning_count_label; Label *line_and_col_txt; |
