Format like smack-a-brother, and write comments as sentences

Four-space indents, braces on their own lines, and one-statement bodies without braces.
Semicolons in comments became full stops.
Designated initializers may leave fields out without a warning.
This commit is contained in:
shweet committed 2026-11-22 17:30:03 -05:00
1 parent 40f6b554b5
commit 7afdf709c3
176 files changed
+20500 -19048

No files matched your search

+4 -4
View File
@@ -9,8 +9,8 @@
#include "ui/spritesheet_editor.h"
#include "ui/timeline.h"
class Dockspace
{
class Dockspace
{
AnimationPreview animationPreview;
bool isCanvasFocused = false;
float reloadTime = 0;
@@ -29,8 +29,8 @@
PopupHelper toolsColorEditPopup = PopupHelper(LABEL_TOOLS_COLOR_EDIT_POPUP, POPUP_TO_CONTENT, POPUP_BY_ITEM);
AutosaveRestore autosaveRestore;
public:
public:
bool is_canvas_focused_get() const;
void tick(Manager&, Settings&, float);
void update(Taskbar&, Documents&, Manager&, Settings&, Resources&, Dialog&, Clipboard&);
};
};