diff options
| author | Rémi Verschelde | 2017-03-05 16:44:50 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-05 16:44:50 +0100 |
| commit | 5dbf1809c6e3e905b94b8764e99491e608122261 (patch) | |
| tree | 5e5a5360db15d86d59ec8c6e4f7eb511388c5a9a /editor/editor_asset_installer.h | |
| parent | 45438e9918d421b244bfd7776a30e67dc7f2d3e3 (diff) | |
| download | godot-5dbf180.tar.gz godot-5dbf180.tar.zst godot-5dbf180.zip | |
A Whole New World (clang-format edition)
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
Diffstat (limited to '')
| -rw-r--r-- | editor/editor_asset_installer.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/editor/editor_asset_installer.h b/editor/editor_asset_installer.h index 2d0486a6f..046387520 100644 --- a/editor/editor_asset_installer.h +++ b/editor/editor_asset_installer.h @@ -29,27 +29,26 @@ #ifndef EDITORASSETINSTALLER_H #define EDITORASSETINSTALLER_H - #include "scene/gui/dialogs.h" #include "scene/gui/tree.h" class EditorAssetInstaller : public ConfirmationDialog { - GDCLASS( EditorAssetInstaller, ConfirmationDialog ); + GDCLASS(EditorAssetInstaller, ConfirmationDialog); Tree *tree; String package_path; AcceptDialog *error; - Map<String,TreeItem*> status_map; + Map<String, TreeItem *> status_map; bool updating; - void _update_subitems(TreeItem* p_item,bool p_check,bool p_first=false); + void _update_subitems(TreeItem *p_item, bool p_check, bool p_first = false); void _item_edited(); virtual void ok_pressed(); -protected: +protected: static void _bind_methods(); -public: - void open(const String& p_path,int p_depth=0); +public: + void open(const String &p_path, int p_depth = 0); EditorAssetInstaller(); }; |
