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
+30 -31
View File
@@ -24,47 +24,46 @@
#include <olive/core/core.h>
#include <QObject>
namespace olive {
namespace olive
{
using namespace core;
class ColorCoding : public QObject
{
Q_OBJECT
class ColorCoding : public QObject {
Q_OBJECT
public:
enum Code {
kRed,
kMaroon,
kOrange,
kBrown,
kYellow,
kOlive,
kLime,
kGreen,
kCyan,
kTeal,
kBlue,
kNavy,
kPink,
kPurple,
kSilver,
kGray
};
enum Code {
kRed,
kMaroon,
kOrange,
kBrown,
kYellow,
kOlive,
kLime,
kGreen,
kCyan,
kTeal,
kBlue,
kNavy,
kPink,
kPurple,
kSilver,
kGray
};
static QString GetColorName(int c);
static QString GetColorName(int c);
static Color GetColor(int c);
static Color GetColor(int c);
static Qt::GlobalColor GetUISelectorColor(const Color& c);
static Qt::GlobalColor GetUISelectorColor(const Color &c);
static const QVector<Color>& standard_colors()
{
return colors_;
}
static const QVector<Color> &standard_colors()
{
return colors_;
}
private:
static QVector<Color> colors_;
static QVector<Color> colors_;
};
}