RTPat::RTPat(RGB *c, uint16_t nReps, uint8_t onlvl) :Pattern(onlvl) { Serial.println("RTPat const"); numReps = nReps; numPix = 2; color = c; reCalc(); }
float ScaleEngine::getScaleWidth() { float max; float len; int i; reCalc(); max = 0.0f; for(i = 0; i < m_tickList.count(); i++) { len = m_tickList[i].textSize; if(len > max) max = len; } return max; }
const ScaleEngine::TickList& ScaleEngine::getTickList() { reCalc(); return m_tickList; }