7 return colors_.test(index.
index());
12 colors_.set(index.
index(), value);
17 colors_.reset(index.
index());
Represents a color index value for palette operations.
unsigned int index() const
Returns the underlying unsigned integer index value.
bool test(ColorIndex index) const
Tests whether a bit at the given index is set.
void reset(ColorIndex index)
Resets a bit at the given index to false.
void set(ColorIndex index, bool value=true)
Sets a bit at the given index.