change: change code style to Linux style except indent.

This commit is contained in:
Mike Solar
2025-08-03 03:09:40 +08:00
parent 65ab76edc8
commit 74f73ab3be
789 changed files with 77113 additions and 68888 deletions
+15 -10
View File
@@ -25,22 +25,27 @@
#include "draggable.h"
namespace olive {
class PathGizmo : public DraggableGizmo
namespace olive
{
Q_OBJECT
class PathGizmo : public DraggableGizmo {
Q_OBJECT
public:
explicit PathGizmo(QObject *parent = nullptr);
explicit PathGizmo(QObject *parent = nullptr);
const QPainterPath &GetPath() const { return path_; }
void SetPath(const QPainterPath &path) { path_ = path; }
const QPainterPath &GetPath() const
{
return path_;
}
void SetPath(const QPainterPath &path)
{
path_ = path;
}
virtual void Draw(QPainter *p) const override;
virtual void Draw(QPainter *p) const override;
private:
QPainterPath path_;
QPainterPath path_;
};
}