62 QDataStream& operator<<(QDataStream&, ldraw::Color); |
62 QDataStream& operator<<(QDataStream&, ldraw::Color); |
63 QDataStream& operator>>(QDataStream&, ldraw::Color&); |
63 QDataStream& operator>>(QDataStream&, ldraw::Color&); |
64 |
64 |
65 namespace ldraw |
65 namespace ldraw |
66 { |
66 { |
67 static constexpr Color BLACK {0}; |
|
68 static constexpr Color BLUE {1}; |
|
69 static constexpr Color GREEN {2}; |
|
70 static constexpr Color RED {4}; |
|
71 static constexpr Color YELLOW {14}; |
|
72 static constexpr Color WHITE {15}; |
|
73 static constexpr Color MAIN_COLOR {16}; |
67 static constexpr Color MAIN_COLOR {16}; |
74 static constexpr Color EDGE_COLOR {24}; |
68 static constexpr Color EDGE_COLOR {24}; |
75 } |
69 } |
76 |
70 |
77 /** |
71 /** |