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:
1 parent
40f6b554b5
commit
7afdf709c3
176 files changed
+20500
-19048
No files matched your search
+7
-7
@@ -16,13 +16,13 @@
|
||||
#include "ui/generate_animation_from_grid.h"
|
||||
#include "ui/render_animation.h"
|
||||
|
||||
class Taskbar
|
||||
{
|
||||
class Taskbar
|
||||
{
|
||||
struct PendingSave
|
||||
{
|
||||
int index = -1;
|
||||
std::filesystem::path path;
|
||||
bool isQueued = false;
|
||||
int index = -1;
|
||||
std::filesystem::path path;
|
||||
bool isQueued = false;
|
||||
};
|
||||
|
||||
ChangeAllFrameProperties changeAllFrameProperties = {};
|
||||
@@ -52,9 +52,9 @@
|
||||
void save_enqueue(Manager&, const PendingSave&);
|
||||
bool save_request(Manager&, Settings&, int = -1, const std::filesystem::path& = {}, bool = false);
|
||||
|
||||
public:
|
||||
public:
|
||||
float height = 0;
|
||||
|
||||
void update(Manager&, Settings&, Resources&, Dialog&, bool&);
|
||||
bool save_manual(Manager&, Settings&, int = -1, const std::filesystem::path& = {});
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user