1061:273333700685 | 1062:4119185b56ca |
---|---|
270 * | 270 * |
271 * Returns whether or not the given color index is present in the array. | 271 * Returns whether or not the given color index is present in the array. |
272 */ | 272 */ |
273 bool ColorData::contains(int code) const | 273 bool ColorData::contains(int code) const |
274 { | 274 { |
275 return code >= 0 and code < countof(m_data); | 275 return code >= 0 and code < length(m_data); |
276 } | 276 } |
277 | 277 |
278 /* | 278 /* |
279 * ColorData :: get | 279 * ColorData :: get |
280 * | 280 * |