src/ccstruct/werd.cpp
ScrollView::Color WERD::NextColor(ScrollView::Color colour) {
  auto next = static_cast<ScrollView::Color>(colour + 1);
  if (next >= LAST_COLOUR || next < FIRST_COLOUR) {
    next = FIRST_COLOUR;
  }
  return next;
}
// Get the next color in the (looping) rainbow.
Get the next color in the (looping) rainbow.
Get the next color in the ( looping ) rainbow .
ScrollView::Color WERD::NextColor(ScrollView::Color colour) {
  auto next = static_cast<ScrollView::Color>(colour + 1);
  if (next >= LAST_COLOUR || next < FIRST_COLOUR) {
    next = FIRST_COLOUR;
  }
  return next;
}
ScrollView :: Color WERD :: NextColor ( ScrollView :: Color colour ) { auto next = static_cast < ScrollView :: Color > ( colour + 1 ) ; if ( next >= LAST_COLOUR || next < FIRST_COLOUR ) { next = FIRST_COLOUR ; } return next ; }
Get the next color in the (looping) rainbow.
Get the next color in the ( looping ) rainbow .