void ProgressTimer::updateProgress(void) { switch (_type) { case Type::RADIAL: updateRadial(); break; case Type::BAR: updateBar(); break; default: break; } }
void CCProgressTimer::updateProgress() { switch (m_eType) { case kCCProgressTimerTypeRadial: updateRadial(); break; case kCCProgressTimerTypeBar: updateBar(); break; default: break; } }
void wyProgressTimer::updateProgress() { switch(m_style) { case RADIAL_CCW: case RADIAL_CW: updateRadial(); break; case HORIZONTAL_BAR_LR: case HORIZONTAL_BAR_RL: case VERTICAL_BAR_BT: case VERTICAL_BAR_TB: updateBar(); break; default: break; } }