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 PolygonGizmo : public DraggableGizmo
namespace olive
{
Q_OBJECT
class PolygonGizmo : public DraggableGizmo {
Q_OBJECT
public:
explicit PolygonGizmo(QObject *parent = nullptr);
explicit PolygonGizmo(QObject *parent = nullptr);
const QPolygonF &GetPolygon() const { return polygon_; }
void SetPolygon(const QPolygonF &polygon) { polygon_ = polygon; }
const QPolygonF &GetPolygon() const
{
return polygon_;
}
void SetPolygon(const QPolygonF &polygon)
{
polygon_ = polygon;
}
virtual void Draw(QPainter *p) const override;
virtual void Draw(QPainter *p) const override;
private:
QPolygonF polygon_;
QPolygonF polygon_;
};
}