Пример #1
0
void ScrollView::update(float dt)
{
    if (_autoScrolling)
    {
        processAutoScrolling(dt);
    }
}
Пример #2
0
void ScrollView::update(float dt)
{
    if (_inertiaScrolling)
    {
        processInertiaScrolling(dt);
    }
    else if (_autoScrolling)
    {
        processAutoScrolling(dt);
    }
}