diff options
| author | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-19 00:36:26 +0100 |
| commit | f8db8a3faa30b71dca33ced38be16d3f93f43e8a (patch) | |
| tree | 3b798318132cca7eccfbca5818ab55656a2896d7 /editor/script_create_dialog.h | |
| parent | 1d418afe863c9e553b69174ce63aef203c46d2f0 (diff) | |
| download | godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.gz godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.tar.zst godot-f8db8a3faa30b71dca33ced38be16d3f93f43e8a.zip | |
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.
Diffstat (limited to 'editor/script_create_dialog.h')
| -rw-r--r-- | editor/script_create_dialog.h | 23 |
1 files changed, 11 insertions, 12 deletions
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(); }; |
