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 "gizmo.h"
namespace olive {
class LineGizmo : public NodeGizmo
namespace olive
{
Q_OBJECT
class LineGizmo : public NodeGizmo {
Q_OBJECT
public:
LineGizmo(QObject *parent = nullptr);
LineGizmo(QObject *parent = nullptr);
const QLineF &GetLine() const { return line_; }
void SetLine(const QLineF &line) { line_ = line; }
const QLineF &GetLine() const
{
return line_;
}
void SetLine(const QLineF &line)
{
line_ = line;
}
virtual void Draw(QPainter *p) const override;
virtual void Draw(QPainter *p) const override;
private:
QLineF line_;
QLineF line_;
};
}