src/colors.h

changeset 308
daa8770b9d26
parent 264
76a025db4948
equal deleted inserted replaced
307:4771720fe258 308:daa8770b9d26
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

mercurial