44 qint32 index = 0; |
44 qint32 index = 0; |
45 constexpr auto operator<=>(const ColorIndex&) const = default; |
45 constexpr auto operator<=>(const ColorIndex&) const = default; |
46 }; |
46 }; |
47 |
47 |
48 Q_DECLARE_METATYPE(ColorIndex) |
48 Q_DECLARE_METATYPE(ColorIndex) |
49 static constexpr ColorIndex MAIN_COLOR {16}; |
49 |
50 static constexpr ColorIndex EDGE_COLOR {24}; |
50 //! \brief LDraw main color (16) |
|
51 constexpr ColorIndex MAIN_COLOR{16}; |
|
52 //! \brief LDraw edge color (24) |
|
53 constexpr ColorIndex EDGE_COLOR{24}; |
51 |
54 |
52 /** |
55 /** |
53 * @brief Contains the information about a specific color |
56 * @brief Contains the information about a specific color |
54 */ |
57 */ |
55 struct ColorDefinition |
58 struct ColorDefinition |