예제 #1
0
void ProgressTimer::updateProgress(void)
{
    switch (_type)
    {
    case Type::RADIAL:
        updateRadial();
        break;
    case Type::BAR:
        updateBar();
        break;
    default:
        break;
    }
}
예제 #2
0
void CCProgressTimer::updateProgress()
{
    switch (m_eType)
    {
    case kCCProgressTimerTypeRadial:
        updateRadial();
        break;
    case kCCProgressTimerTypeBar:
        updateBar();
        break;
    default:
        break;
    }
}
예제 #3
0
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;
	}
}