From f8db8a3faa30b71dca33ced38be16d3f93f43e8a Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Sun, 19 Mar 2017 00:36:26 +0100 Subject: Bring that Whole New World to the Old Continent too Applies the clang-format style to the 2.1 branch as done for master in 5dbf1809c6e3e905b94b8764e99491e608122261. --- editor/script_create_dialog.h | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'editor/script_create_dialog.h') diff --git a/editor/script_create_dialog.h b/editor/script_create_dialog.h index 517183da5..1905e93d0 100644 --- a/editor/script_create_dialog.h +++ b/editor/script_create_dialog.h @@ -29,14 +29,14 @@ #ifndef SCRIPT_CREATE_DIALOG_H #define SCRIPT_CREATE_DIALOG_H +#include "editor/editor_file_dialog.h" +#include "scene/gui/check_button.h" #include "scene/gui/dialogs.h" #include "scene/gui/line_edit.h" #include "scene/gui/option_button.h" -#include "editor/editor_file_dialog.h" -#include "scene/gui/check_button.h" class ScriptCreateDialog : public ConfirmationDialog { - OBJ_TYPE(ScriptCreateDialog,ConfirmationDialog); + OBJ_TYPE(ScriptCreateDialog, ConfirmationDialog); LineEdit *class_name; Label *error_label; @@ -51,21 +51,20 @@ class ScriptCreateDialog : public ConfirmationDialog { bool path_valid; String initial_bp; - - void _path_changed(const String& p_path=String()); - void _lang_changed(int l=0); + void _path_changed(const String &p_path = String()); + void _lang_changed(int l = 0); void _built_in_pressed(); - bool _validate(const String& p_strin); - void _class_name_changed(const String& p_name); + bool _validate(const String &p_strin); + void _class_name_changed(const String &p_name); void _browse_path(); - void _file_selected(const String& p_file); + void _file_selected(const String &p_file); virtual void ok_pressed(); -protected: +protected: static void _bind_methods(); -public: - void config(const String& p_base_name,const String&p_base_path); +public: + void config(const String &p_base_name, const String &p_base_path); ScriptCreateDialog(); }; -- cgit v1.3.1