src/colors.cpp

changeset 132
488d0ba6070b
parent 94
164f53fb5921
child 139
72098474d362
equal deleted inserted replaced
131:e2080ac44039 132:488d0ba6070b
125 else 125 else
126 { 126 {
127 return colorTable[color].faceColor; 127 return colorTable[color].faceColor;
128 } 128 }
129 } 129 }
130
131 QDataStream& operator<<(QDataStream& stream, ldraw::Color color)
132 {
133 return stream << color.index;
134 }
135
136 QDataStream& operator>>(QDataStream& stream, ldraw::Color& color)
137 {
138 return stream >> color.index;
139 }

mercurial